The 2D Tilemap module in the Profiler window displays statistics about the tilemaps Unity renders, and the time Unity spends rendering, updating, and processing collisions for tilemaps.
To open the Profiler module, follow these steps:
The module displays data for the frame you select in the chart. To make the module display data while Unity profiles your application, enable Live Update in the Tilemap Statistics panel.
The chart in the 2D Tilemap module displays the following categories.
| Chart | Description |
|---|---|
| Tilemaps rendered | Displays the number of tilemaps Unity renders in the selected frame. |
| Tilemap Chunks rendered | Displays the number of tilemap chunks Unity renders in the selected frame. A chunk is a group of tiles within a tilemap. |
| Tilemap Meshes rendered | Displays the number of meshes Unity renders for all the tilemaps in the selected frame. |
The details pane of the 2D Tilemap module contains the Tilemap Statistics panel and a table of the tilemaps Unity renders in the selected frame.
The Tilemap Statistics panel contains the following properties. The Tilemap Individual Mode Time, Tilemap Chunk Mode Time, and Tilemap SRP Batching Time properties correspond to the Mode property of the Tilemap Renderer component.
| Property | Description |
|---|---|
| Live Update | Updates the details pane while Unity profiles your application. If you disable this property, the pane updates only for the frame you select in the chart. |
| Tilemaps rendered | Displays the number of tilemaps Unity renders in the selected frame. |
| Tilemap Chunks rendered | Displays the number of tilemap chunks Unity renders in the selected frame. |
| Tilemap Meshes rendered | Displays the number of meshes Unity renders for all the tilemaps in the selected frame. |
| Tilemap System Time | Displays the time Unity spends updating tilemaps and their tile animations. |
| Tilemap Rendering Time | Displays the time Unity spends checking which tiles are within the camera bounds, generating the geometry for tiles, and rendering tiles. |
| Tilemap Physics Time | Displays the time Unity spends generating and updating the collision shapes of the tilemaps that have a Tilemap Collider 2D component. For more information, refer to Tilemap Collider 2D component reference. |
| Tilemap Individual Mode Time | Displays the time Unity spends rendering the tilemaps that use Individual mode. This value is zero when no tilemap uses Individual mode in the selected frame. For more information, refer to Tilemap Renderer component reference. |
| Tilemap Chunk Mode Time | Displays the time Unity spends rendering the tilemaps that use Chunk mode. This value is zero when no tilemap uses Chunk mode in the selected frame. |
| Tilemap SRP Batching Time | Displays the time Unity spends rendering the tilemaps that use SRP Batch mode. This value is zero when no tilemap uses SRP Batch mode in the selected frame. For more information, refer to Scriptable Render Pipeline Batcher. |
The table lists the tilemaps Unity renders in the selected frame and contains the following columns.
| Column | Description |
|---|---|
| Name | Displays the name of the tilemap GameObject. Expand a tilemap to display each chunk that Unity renders for that tilemap, listed by the coordinates of the chunk. |
| Chunk | Displays the number of chunks Unity renders for the tilemap. This column is empty for chunk rows. |
| Rendered Mesh | Displays the number of meshes Unity renders for the tilemap, or for an individual chunk. |
To sort the table, select a column heading. To select the tilemap GameObject in the Hierarchy window, select a row.
If Unity doesn’t render any tilemaps in the selected frame, the table displays a message that prompts you to select another frame.