Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Player size

Discussion in 'Editor & General Support' started by dtaylorl, Dec 21, 2006.

  1. dtaylorl

    dtaylorl

    Joined:
    Dec 21, 2006
    Posts:
    22
    When I export my games the complete size in the player size statistics on the console is completely different than the actual file size of the game. (the first says 5.8MB when its actually almost 50) Is this supposed to happen? Can someone explain why?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    We are only counting the data size not the player application in what we print to the console.

    Btw. You want to turn on debug symbol stripping. That will reduce the player size considerably.
     
  3. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    The printed size is what goes into the game data file. The rest is always a fixed "overhead" (i.e. the player executable and the needed libraries) and depends on the platform.

    For example, Univeral Binary with debug symbols is like 40MB overhead (without debug symbols about 20MB). A single-platform (PPC or Intel) overhead on OS X without debug symbols is like 14MB, similarly for Windows. For the web player there's virtually no overhead.
     
  4. dtaylorl

    dtaylorl

    Joined:
    Dec 21, 2006
    Posts:
    22
    ok, thanks... makes much more sense now