Search Unity

Instalation file size suddenly getting big

Discussion in 'Windows' started by LaurensiusTony, Jul 8, 2014.

  1. LaurensiusTony

    LaurensiusTony

    Joined:
    May 22, 2013
    Posts:
    78
    Hi, i already publish my 2D game at store and at the initial release i get around 34mb (well at that time i don't do any atlas to my game sprite ) and after changing all my sprite file into atlas i don't get any changes in my .XAP and after a few times build( i just ignored it and keep coding my game and also adding sprite) yesterday i build my game and my .XAP size is reduced by HALF!! it's only 18mb and i have no idea why and very happy... but now when i going for updating my app in store (i adding several sound effect....) my file size increased to be 30mb.... and its really weird....

    already tried to build in other folder but still the same.... anyone know why? it's no big deal but small instalation file size is always better.... :D
     
  2. zuzzu

    zuzzu

    Joined:
    Feb 2, 2013
    Posts:
    404
    You may try to decompress xap file with 7-zip and see what's the big thing.
     
  3. LaurensiusTony

    LaurensiusTony

    Joined:
    May 22, 2013
    Posts:
    78
    i don't know we can do that hahaa...

    after doing that i find that
    -sharedassets0.assets : 30mb
    -sharedassets1.assets : 80mb
    -sharedassets2.assets : 16mb

    well i have no idea what is that and how to reduce that......
     
  4. zuzzu

    zuzzu

    Joined:
    Feb 2, 2013
    Posts:
    404
    You can exclude references to some assets that you think may be the cause and see how xap size changes.

    Another way is to use memory profiler as these big assets are probably loaded in some scenes.