What it does

A Sprite Atlas packs multiple Sprite images into a shared texture. Individual sprites retain their images while rendering can use the common texture.

Figure: Conceptual relationship: Multiple sprite images → Pack shared textures → Reduce texture switches
Figure: Conceptual relationship: Multiple sprite images → Pack shared textures → Reduce texture switches

How to use it

Pack sprites into an atlas with platform size, compression and padding settings. Custom shaders must account for sprite UVs referring to only part of the atlas.

A concrete example

Grouping UI icons can reduce texture switching, but different materials, masks, canvases and order still split rendering.

How to check it

  1. Inspect packed and Player output for bleeding, rotation/tight-packing support and minification.
    Address regions with UVs
    Address regions with UVs
  2. Group by actual usage to avoid keeping unrelated large images resident.
    Address regions with UVs
    Address regions with UVs

Limitations

Masks, canvases, materials, and ordering can split draws; one draw is not guaranteed.

References