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

How to reduce game size for webgl

Discussion in 'Editor & General Support' started by skeleton-king, Mar 10, 2015.

  1. skeleton-king

    skeleton-king

    Joined:
    Nov 10, 2014
    Posts:
    63
    I tried angrybots demo for webgl and file size comes around 111mb which seems to be too much.
    Anyway to reduce the size of webgl builds. I already used striping level to bycode.
     
  2. Jmanpie

    Jmanpie

    Joined:
    Oct 7, 2012
    Posts:
    132
    When modeling try reducing the polycount.
    Textures take a lot of space try susbtance designer for textureing it reduces the file size drastically.
     
  3. skeleton-king

    skeleton-king

    Joined:
    Nov 10, 2014
    Posts:
    63
    well same game for webversion only comes out to be 20mb but for webgl version its 100mb. So anyway to reduce size of webgl version.
     
  4. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Did you make sure to follow the tips from the "Distribution size" section:
    http://docs.unity3d.com/Manual/webgl-building.html
     
  5. skeleton-king

    skeleton-king

    Joined:
    Nov 10, 2014
    Posts:
    63