- Home /
What most make the APK size big?
Hello I am a 2 week old Unity Dev and I am building a game based on the Toon Level Kit with only 2 Scenes in the build settings. And the APK is 65MB. I just want to ask what really makes the game size big? Is it the Meshes? Number of Polygons in the model? The textures? Also does the scale of the object affects the game size? ex: the bigger scale the more size? Thank you so much.
a common simple problem is, audio takes up a lot of room. do you just happen to have a few music files, or the like, which you forgot to compress?
"Is it the $$anonymous$$eshes? Number of Polygons in the model? The textures?"
on that list only the last one, the first two don't matter.
as an experiment, just slash the size of your textures (ie, the game will look crappy and low resolution) and see if that fixes it.
Answer by Eric5h5 · Apr 05, 2013 at 05:18 AM
Not referenced in that link, commented lines and blocks will add to file size, although not substantial, if you have 100 scripts with 50 commented lines it does add up.
Right, I forgot about that, sorry I seen it with NetBeans and php scripts so I figured the same would happen in Unity/Scripts. (1 character in any lines of those scripts = 1 byte or sometimes more, depending on the character)
Commented lines are absolutely not included, nor would that make any sense at all, since everything is converted to CIL code, which doesn't have any "comment" instructions. For that matter all whitespace is totally irrelevant.
Answer by abi-kr01 · Jun 05, 2015 at 11:24 AM
size increase is due to these reasons
1)heavy image used in game
2)lots of script, i know they are small in size but still, they are added no mater you use it in your game or not.
3)anything that is added in resource folder
4)if possible try to reduce the scene count in build settings.