Search Unity

SpriteAtlas reduce build size?

Discussion in 'General Discussion' started by itsonh2610, Nov 17, 2019.

  1. itsonh2610

    itsonh2610

    Joined:
    Jul 15, 2017
    Posts:
    9
    I wanna ask spriteatlas will reduce build size ? Example i have texture A and B and pack it in spriteatlas C(Compressed) so Will A & B be replaced and removed by C in build project ?
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,620
    Yes, that's how SpriteAtlas should work.
     
    itsonh2610 likes this.
  3. Moonjump

    Moonjump

    Joined:
    Apr 15, 2010
    Posts:
    2,572
    Putting textures in an atlas doesn't generally reduce build size, the benefit is usually for increasing performance. However, careful reuse of the textures within an atlas across multiple objects can save memory.