Hi. I have this problem .
When i create the final build,the models that i have loaded runtime (model in Content directory),don’t appear in the final build.
I have followed all instructions of the cooker,i have added the assets and additional directories in the build settings.
All that i get is an access violation error when i execute.
Solutions?
When cooking the game the output log contains apth of all cooked assets, can you find those models there?
Additional Assets
+ Additional Asset Folders
:
I have controlled the log file and yes,the path of the asset is there
I had a similar problem where i was trying to change scenes, The scene i wanted was in the base “Content” folder but it still would not load it. I probably could have just added “Content” to the Additional folders but instead i put it in it’s own folder with the main menu and other scenes and added that to the additional folders.
I don’t know if this is the issue, or if it even helps since he already mentioned it but i thought i’d put in my 2 cents.
Unfortunately the result doesn’t change .I can’t figure it out, but thanks for trying anyway.
Maybe i’found the solution.
The code is in C# (but I plan to switch to C++ soon for performance).
var objectModel = Content.Load(“Content/object.flax”);
I have added no additional assets and no folders in the Build Settings.
Now the runtime object appears in the final build.