Losing 99% of my assets when I compile.

Losing 99% of my assets when I compile.

Anonymous
Not applicable
1,648 Views
9 Replies
Message 1 of 10

Losing 99% of my assets when I compile.

Anonymous
Not applicable

loosing all my assets went I package.

I have packaged before without issue.

 

 

editor...        https://gyazo.com/6b2ac3709386c146d21e8bcd245922eb

Compiled...  https://gyazo.com/7a363998c024fafe87dca7a30e335d19

 

Reply
Reply
0 Likes
Accepted solutions (1)
1,649 Views
9 Replies
Replies (9)
Message 2 of 10

_robbs_
Alumni
Alumni

 

Hi,

 

Does this happen when you Test Level? When you do Run Project? Or only when you deploy?

 

Are there any warnings or errors in the log?

 

Did you customize the boot.package file from the character template?

Reply
Reply
0 Likes
Message 3 of 10

paul.kind
Alumni
Alumni
Accepted solution

could you explain what you mean when you say "loosing your assets"?  Im not at all sure what that means.

 

Areas of Expertise - MayaLT : Mudbox : 3DS Max : Inventor : Game Dev
Follow me on Twitter : @paulkind3d

Please remember to give kudos freely and mark acceptable answers as solved!

PLEASE do not send me private messages unless asked to do so. If you have a question, start a thread, and ask me on the public forums where answering your question may help others.

Did you know there was a YouTube learning channel for Autodesk Games? New videos are posted regularly with all sorts of content relative to Stingray, Maya/MayaLT, 3DS Max, and other game related tools. Get your game on @ https://www.youtube.com/user/autodeskgameshowtos
Reply
Reply
0 Likes
Message 4 of 10

Anonymous
Not applicable

Good morning

Test level works fine.

compile for release along with development losses all of the assets except the building.

compile for debug i get "Windows engine run-time not found!

Looks like a bunch of errors in the error log.

The first errors are referencing a file called "mist_coater_screw_removal" which is not in my asset brouser any longer. also i deleted the stingray file at %localappdata%

attached is the log file. Looks like tons of materials issues. I went thru all materials in the asset browser and there are none with ?

 

strange

 

Reply
Reply
0 Likes
Message 5 of 10

Anonymous
Not applicable

Im wondering if it is a path issue? That could explane this.

 

Editor Engine / ResourceManager: Resource not found:

 

Reply
Reply
0 Likes
Message 6 of 10

paul.kind
Alumni
Alumni

That would explain it but without the project it will be difficult to tell what is causing the problem.  I would do a manual check of all asset and make sure they exist where they should.  If they do not show in the asset browser then they do not exist in the project.  Stingray does not delete things without an explicit request to do so.

 

You may want to delete the data folder in your projects root.  Maybe it is just going wonky...  this is unlikely but would force a complete and fresh data compile of your project which would confirm the issue if not fix it.

 

Also check the folder structure.

Lastly if all above does not fix, please let us know what caused this...  ie: updated stingray, moved a folder, etc.

 

Paul

 

Areas of Expertise - MayaLT : Mudbox : 3DS Max : Inventor : Game Dev
Follow me on Twitter : @paulkind3d

Please remember to give kudos freely and mark acceptable answers as solved!

PLEASE do not send me private messages unless asked to do so. If you have a question, start a thread, and ask me on the public forums where answering your question may help others.

Did you know there was a YouTube learning channel for Autodesk Games? New videos are posted regularly with all sorts of content relative to Stingray, Maya/MayaLT, 3DS Max, and other game related tools. Get your game on @ https://www.youtube.com/user/autodeskgameshowtos
Reply
Reply
0 Likes
Message 7 of 10

Anonymous
Not applicable

A thought. I have the project filed on a different drive then my asset files. That said i started a new project and reinserted the assets but that must still not know where they reside?

 

I deleted the _data folder and wow! now all the assets are in their folders in the asset browser but not in the view. But....they are all there in the test level.

strange.

What are the rules for directories. I think  I am going to start over with a new project. I'm getting pretty good and throwing this together just cant get the finial result. lol

Reply
Reply
0 Likes
Message 8 of 10

Anonymous
Not applicable

ok im glad i did that. Looks like Stingray as a problem. I created a new project from the Character template and i get errors right out of the gate. check this out.

 

Editor / General: Failed to load level from "S:\APEC COMPANY DOCUMENT SHARED FOLDER\Engineering\Mechanical Engineering\Assembly & Maintenance instruction\APEC VR\assets\Apec_vr_plant\Apec_vr_plant\content\levels\character.level". An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Stingray.Foundation.Asset.ContentDatabaseService.GetUnit(String unit_resource_name)
at Stingray.Foundation.Level.LevelEngineInterface.<>c__DisplayClass1a.b__2(Unit u)
at Stingray.ObjectUtils.AsIfObject value, Action`1 action
at Stingray.Foundation.Level.LevelEngineInterface.DoSpawn(ScriptExecuteHandler script_execute_func, ILevelObject level_object, ContentDatabaseService content_database_service, ScriptExecuteHandler force_send_to_editor_func)
at Stingray.Foundation.Level.LevelEngineInterface.Spawn(ScriptExecuteHandler script_execute_func, Level level, ContentDatabaseService content_database_service, UnitEditingService unit_editing_service, ScriptExecuteHandler force_send_to_editor_func)
at Stingray.Foundation.Level.LevelViewModel.Spawn(ScriptExecuteHandler script_execute_func, UnitEditingService unit_editing_service, EngineViewportService engine_viewport_service)
at Stingray.Foundation.Level.LevelEditingService.LoadLevel(String absolute_path)

Reply
Reply
0 Likes
Message 9 of 10

paul.kind
Alumni
Alumni

im 90% sure you have 2 projects created and in your project browser that have identical names.  Either that or there is something wonky with the shared directory you are using.  Try this...

 

in windows explorer type in %localappdata% and delete the autodesk>stingray folder.

this will wipe out all the references for your projects.  (basically its like giving you a fresh install of stingray)

 

Now slowly (1 at a time) add in your projects.  Test between each new project added.  Make sure you lauch and run them.  If you want, create a new project to test before you start adding them back in.  My guess is that you have something with a duplicate name somewhre but either way this will help clue you in.

 

If you get the error upon creating a new project directly after deleting that folder, then there is something wrong with your drive location.  try storing them locally (maybe your documents folder) first.  See if the error arises.

Areas of Expertise - MayaLT : Mudbox : 3DS Max : Inventor : Game Dev
Follow me on Twitter : @paulkind3d

Please remember to give kudos freely and mark acceptable answers as solved!

PLEASE do not send me private messages unless asked to do so. If you have a question, start a thread, and ask me on the public forums where answering your question may help others.

Did you know there was a YouTube learning channel for Autodesk Games? New videos are posted regularly with all sorts of content relative to Stingray, Maya/MayaLT, 3DS Max, and other game related tools. Get your game on @ https://www.youtube.com/user/autodeskgameshowtos
Reply
Reply
0 Likes
Message 10 of 10

Anonymous
Not applicable

Thanks Paul That is pretty much what i did. I did find duplicate names and i used the "rename objects" in max. Also i went thru and solved any material issues. some were yellow with a ? mark. I found that Stingray does not like PSD files which i had a few. Everything is working now just trying to figure out if i can use LOD for slicing which is on another thread.

Thanks again for your help!

 

Reply
Reply
0 Likes