Hi all,
I’m working on an Android game, and its size was 80 MB when I first try the game on a phone. As I come across some bugs in the game, I changed some values (position, rotation, scale etc.) in the project, not added anything new. I realized that the APK file size was 82 MB after building and testing the game many times. I thought, it might be some related to the calculation thingy (± 1-2 MB). Lastly, I changed many prefabs (not added anything new and not added any new references to the prefabs, just changing scales and positions) then I build the game, and the APK file size increased by 1 MB. It is now 83 MB.
Why does Unity increases the APK file size as I flip some bits in the game? I guess, there is a cache or something that included in build unnecessarily. If so, how can I clear the cache?