Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Why are levels/scenes split in pieces on android but not on iOS??? Huge different in build sizes!

Discussion in 'Android' started by alphapolygon, Jan 28, 2021.

  1. alphapolygon

    alphapolygon

    Joined:
    Aug 1, 2015
    Posts:
    4
    So our android build over 1gb larger than iOS and I think it's because scenes on android are split in pieces. I went through the builds and noticed that on iOS ipa the scene/level sizes were totally different. Example on iOS one level is ~9 mb and on android the same level is 524mb. And on iOS the level is one file and on Android it's split to 500 files. Why is this?
     
  2. alphapolygon

    alphapolygon

    Joined:
    Aug 1, 2015
    Posts:
    4
    So the reason was static batching... for some reason unity wanted to add the prefab geometry tot the levels even the prefabs weren't static. Bug maybe? After disabling static bathing the build size went down 1gb.
     
    Polyfemos likes this.