- Home /
How do scene files affect build size?
So I made a game with several menu type scenes and one actual level. The final build size came out to approximately 50mb.
Recently I expanded the game by making 6 more levels. I didn't actually add many more assets to the game though. I reused assets that I used in the first level. Now the final build size comes out to closer to 100mb. Unity scene files are tiny, and I haven't added 50mb worth of assets, so where is the extra build size coming from?
I also have this issue, I use level constructor (which are several prefabs) and many scenes was made from those prefabs, every new scene increases build size, looks like Unity breaks prefabs before packing all assets. Do you fix your problem? $$anonymous$$aybe this situation related to some Unity Free / Unity Pro differences in optimization and building process?
Answer by Owen-Reynolds · Dec 30, 2014 at 08:20 PM
Like you say, scene files are tiny. I've done the same thing (new scene, nearly all reused assets) and seen tiny increases in size. I've even split a scene into 4 new scenes and not noticed an increase.
It's something else. Maybe a new asset really is huge, different compile settings, an old scene wasn't being included in the build before... .
Alright I guess I'll go double check everything. I must have missed something. Thanks for the help!
Your answer
Follow this Question
Related Questions
How to load enemies according to enemy list? 1 Answer
Update an Assest (.fbx) once added to the scene in Unity 1 Answer
Saving and loading scene specific data - (safe for scene renaming) 1 Answer
Cant Save Scene, Import assets, Open Scene or anything that needs file manager window! 1 Answer
Can't find Monobehaviours in Asset Folder when using ObjectPicker 0 Answers