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

Do source sprites in sprite atlas still get included in builds?

Discussion in '2D' started by LilGames, Jan 17, 2020.

  1. LilGames

    LilGames

    Joined:
    Mar 30, 2015
    Posts:
    565
    Hi. I am fairly well acquainted with the hows and whys of sprite atlases, but one question remains:
    Let's say I have 10 sprites, and I assign those 10 sprites to a sprite atlas. On build, do the SOURCE sprites still get included in the build along with the atlas?

    I ask this because I did some fairly substantial packing of many large sprite textures, set the Master atlases to NOT be included in builds, made variants at scale 0.125 and set those to be included in builds. But my final APK build size shows ZERO reduction.

    Now I know atlases are primarily meant for rendering performance improvements but, consider that my MASTER atlases are about 64mb uncompressed, and NOT included in my build, and the variants are scaled down and crunch compressed to 25kb!!!!!!! Yet the APK size remains the same? Quite odd IMO.

    I desperately need some insight into this.
    Thank you
     
    SVC-Games likes this.