Hi guys, I’m currently working on my first mobile game project for android. I’ve kinda thrown myself in the deep end but so far things are going well.
I’m probably doing a lot of things in less than a professional way however, to say the least.
I looked at the size of my APK file today and realised that the short tutorial level is 15MB. This seems like a lot to me for what the level actually contains.
I just want to know if I’m doing things the correct way. I have 1 unity project set up and all my levels saved as scenes. Does this mean when I build and run an individual scene, it compacts everything in the entire project?
Or just the stuff actually used in that scene?
Sorry if its a daft question, I would just rather know if I’m doing this projects inefficiently.
when you make a build Unity has to build the engine into the APK to run your game, this takes up a huge portion of your files size. the file size will increase when you add more assets but will only increase a small bit if you make multiple scenes that reuse the same assets. So if every level you make has different gameobjects it will increase in size however 20 scenes reusing the same objects will only increase a small amount.
Also in Build Settings, where it shows a list of all your scenes, it will only build whichever ones are checked, so that will contribute to what assets are used and included in the build, like Bez said.