When building up the game does unity packs only the assets you actually use in the proyect? or all the assets you have imported?
I do believe that it’s only the assets used within the game, I believe I read that somewhere earlier.
Unity doesn’t include assets that aren’t part of a scene, with one exception. An asset inside a folder called Resources will be added to the project so it can be retrieved at runtime using Resources.Load.
I’m pretty sure build settings will affect the build size too. If your project has 10 scenes, but only 1 of them is included in the build settings, then the final build will include that one scene plus everything in the Resources folder.
(Andeeee, does that sound right? You’re a forum moderator…)
thx, yes i think you are right BrettFromLA. I had 2 scenes in the build up that i didn’t use (completed scenes) so i removed from the build manager and file size did drop a bit.
Anyhow i was asking this because my game is pretty small and yet it was too big (12 Mb WEB, 53MB StandAlone).
After doing a bit of thinking i found that all my sound files were in native WAV 8) i compressed and ended with almost half the size ![]()