- Home /
50 % of my Android game Build size is going on file headers and levels
Hi everyone , i d'ont know why i have 27.4% of the build size of my game going in "file headers" , the same is for the "levels "its taking 33% of the build size , i searched on the net and d'idnt find any solution . btw its an android build , i havent any terrain in the game and for lighting this is a screenshot your help is appreciated
How did you generated that build report? is it through adb or some Unity tool ?
Answer by kaarloew · Jan 17, 2019 at 09:46 AM
The log should show biggest asset files after that listing. It should help you to figure out what files are "bloating" your APK size.
The File headers mentioned in the list are not Assets - they are actually the extra data that is added to “raw” Asset files to store references and settings. The headers normally make very little difference to Asset size, but the value might be large if you have numerous large Assets in the Resources folder.
i have only one file in the resources folder , i have a shader there !!
Answer by xxmariofer · Jan 17, 2019 at 09:47 AM
there is not one way of doing this try this approaches: https://stackoverflow.com/questions/49430388/unity-build-with-over-70-taken-up-by-file-headers https://forum.unity.com/threads/reduce-file-headers-is-52-9-normal.434197/
for scene size i would try to reduce every object you are not using and lightmaps/terrainmaps
im not using terrains i saw those posts before but nothing helped solve my problem