Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


2D Tilemap Profiler module reference

Explore the statistics and properties in the 2D Tilemap Profiler module to find how much time Unity spends on the tilemaps in your project.
Read time 3 minutesLast updated 11 days ago

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:
  1. In the main menu, go to Window > Analysis > Profiler.
  2. Select Profiler Modules, then enable 2D Tilemap.
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.

Chart categories

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

Chart

Description

Tilemaps renderedDisplays the number of tilemaps Unity renders in the selected frame.
Tilemap Chunks renderedDisplays the number of tilemap chunks Unity renders in the selected frame. A chunk is a group of tiles within a tilemap.
Tilemap Meshes renderedDisplays the number of meshes Unity renders for all the tilemaps in the selected frame.

Module details pane

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.

Tilemap Statistics

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 UpdateUpdates 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 renderedDisplays the number of tilemaps Unity renders in the selected frame.
Tilemap Chunks renderedDisplays the number of tilemap chunks Unity renders in the selected frame.
Tilemap Meshes renderedDisplays the number of meshes Unity renders for all the tilemaps in the selected frame.
Tilemap System TimeDisplays the time Unity spends updating tilemaps and their tile animations.
Tilemap Rendering TimeDisplays the time Unity spends checking which tiles are within the camera bounds, generating the geometry for tiles, and rendering tiles.
Tilemap Physics TimeDisplays 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 TimeDisplays 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 TimeDisplays 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 TimeDisplays 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.

Tilemap table

The table lists the tilemaps Unity renders in the selected frame and contains the following columns.

Column

Description

NameDisplays 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.
ChunkDisplays the number of chunks Unity renders for the tilemap. This column is empty for chunk rows.
Rendered MeshDisplays 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.

Additional resources