- Home /
Other
Keep file structure on build.
So I am having hard time finding a way to keep my files from compressing on built version of my game. I want to be able to put, lets just be simple and say images into a file and load those images in built version of game. Also want be able do it for other assets also then just images. Is there way to build without compressing your game?
I have never tried this nor have any idea if this is paid version requirement but any details or links be helpful.
I am aware this will make the final file larger but it is necessary for what I am trying to do
Answer by AaronXRDev · Aug 02, 2019 at 05:09 PM
Anything you want to be copied straight to the user's computer can be managed by creating a "StreamingAssets" folder. This will add a folder under the _Data folder called StreamingAssets and everything in that folder will be maintained in its original structure.
If i am using the resources folder to find assets in my scripts do i just put the resources folder inside the Strea$$anonymous$$gAssets or other way around?
With Resources/Strea$$anonymous$$gAssets i get errors
And other bug is with Strea$$anonymous$$gAssets/Resources which makes asset uneditable
Is the app still running in memory? ($$anonymous$$aybe in a crashed state?)
no the built version isn't running in any state
One thing I should have noted, Strea$$anonymous$$gAssets is designed for raw assets - videos, images, 3D models. It won't really work with anything that needs to be compiled.
I get the error even with just images inside the file as long as its Resources/Strea$$anonymous$$gAssets
Follow this Question
Related Questions
Build API CompressWithLz4HC doesn't work 0 Answers
Script to Zip files on Build? 0 Answers
Distribute terrain in zones 3 Answers
Got a Photon project; What's next? 2 Answers
Problems when making a build of a game for testing. 1 Answer