Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


2D Profiler module reference

Explore the properties and settings of the 2D module in the Profiler window.
Read time 1 minuteLast updated 13 days ago

The 2D module in the Profiler window displays statistics about how many sprites Unity renders and which sprite atlases it uses.
To open the Profiler module, follow these steps:
  1. In the main menu, go to Window > Analysis > Profiler.
  2. Select Profiler Modules, then enable 2D.

Chart categories

The chart in the 2D module displays the following categories.

Chart

Description

Sprite CountThe number of sprites Unity loads in the selected frame, including culled sprites.
SpriteAtlas CountThe number of sprite atlases Unity loads in the selected frame, whether Unity uses them or not.
Sprites renderedThe number of sprites Unity renders in the selected frame, excluding culled sprites.
SpriteAtlases renderedThe number of sprite atlases Unity uses in the selected frame.

Module details pane

The details pane of the 2D module displays the following properties.

Property

Description

NameThe name of the sprite atlas (), sprite (), or texture () Unity renders.
SpritesThe number of sprites Unity renders, excluding culled sprites. This property is displayed only if the item is a sprite atlas or a texture.
TexturesThe number of textures in the sprite atlas, also known as pages. This property is displayed only if the item is a sprite atlas.
UsageThe percentage of the sprite atlas or texture Unity uses for rendering. A low percentage indicates wasted texture space. For more information, refer to Create a sprite atlas, and Get started with the Sprite Atlas Analyzer in the 2D Tooling package.

Additional resources