Search Unity

Finding the app-size cost of a scene?

Discussion in 'iOS and tvOS' started by scottharber, Jun 13, 2017.

  1. scottharber

    scottharber

    Joined:
    May 14, 2014
    Posts:
    42
    Hi guys,

    How do I find the app-size cost of each individual scene file? For example, "level1 contributes 10MB to the app size", and so on.

    I assume that building the app one level at a time wouldn't be a solution, since this approach would not take shared assets into account.
     
  2. scottharber

    scottharber

    Joined:
    May 14, 2014
    Posts:
    42
    Never mind. It's done like this:

    app size of scene n = XCodeProject/Data/leveln + XCodeProject/Data/sharedassetsn.res + XCodeProject/Data/sharedassetsn.resX