Stingray Forum (Read Only)
Welcome to Autodesk’s Stingray Forums. Share your knowledge, ask questions, and explore popular Stingray topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stingray can't find files while trying to run my project.

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
wilenn-5
357 Views, 4 Replies

Stingray can't find files while trying to run my project.

Whenever I try to run my project, I get an error message saying that stingray can't find a specified file. 
I can run it with "Test Level" just fine though.

I have no idea how to fix this.

 

Screenshot of the error: 
https://gyazo.com/e8e7829e2504c98d0cb83c208027a265

4 REPLIES 4
Message 2 of 5
__ben__
in reply to: wilenn-5

Is this a project for which you've modified the LUA files locally? If so, setting a breakpoint near the error and tracing through the code in the debugger may help. 

 

The template projects that ship with Stingray should run without error. 

 

 

Message 3 of 5
_robbs_
in reply to: wilenn-5

Are you using 1.7?

 

You may need to add your Lua script to your boot.package.

 

By default, the boot.package loads all lua scripts that are found under `script/lua/*`, but I notice yours is set to `script/move/`.

 

You can just change the boot.package file to use:

 

lua = [
	"core/appkit/lua/*"
	"core/humanik/lua/*"
	"core/wwise/lua/*"
	"core/scaleform_studio/lua/*"
	"script/lua/*"
        "script/move/*"
]

or

 

lua = [
	"core/appkit/lua/*"
	"core/humanik/lua/*"
	"core/wwise/lua/*"
	"core/scaleform_studio/lua/*"
	"script/*"
]

You can read more about packages and what  they're for under this section of the help

http://help.autodesk.com/view/Stingray/ENU/?guid=__stingray_help_managing_content_loading_unloading_...

 

cheers

Message 4 of 5
wilenn-5
in reply to: _robbs_


@_robbs_ wrote:

Are you using 1.7?

 

You may need to add your Lua script to your boot.package.

 

By default, the boot.package loads all lua scripts that are found under `script/lua/*`, but I notice yours is set to `script/move/`.

 

You can just change the boot.package file to use:

 

lua = [
	"core/appkit/lua/*"
	"core/humanik/lua/*"
	"core/wwise/lua/*"
	"core/scaleform_studio/lua/*"
	"script/lua/*"
        "script/move/*"
]

or

 

lua = [
	"core/appkit/lua/*"
	"core/humanik/lua/*"
	"core/wwise/lua/*"
	"core/scaleform_studio/lua/*"
	"script/*"
]

You can read more about packages and what  they're for under this section of the help

http://help.autodesk.com/view/Stingray/ENU/?guid=__stingray_help_managing_content_loading_unloading_...

 

cheers



I see, I'll try that tomorrow. I'll let you know if it worked or not by then.

Message 5 of 5
wilenn-5
in reply to: _robbs_

This worked, thanks alot!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report