Snapshots panel reference
The left panel of the Memory Profiler window is the Snapshots panel. The Snapshots panel displays a list of memory snapshots in your project. You can select an individual snapshot for analysis, or compare any two snapshots. The Memory Profiler package can capture snapshots of the Unity Editor or of a running Player.
The Snapshots panel with a single snapshot selected.
The Snapshots panel displays a list of all snapshots saved to or loaded into your project. It has the following modes:
- Single Snapshot: Display information about a single snapshot in the Memory Profiler window.
- Compare Snapshots: Select two snapshots to compare data. The Memory Profiler window then displays the differences between the two snapshots' data.
Open snapshots
The area at the top of the Snapshots panel displays the currently selected snapshot or snapshots. By default, the Single Snapshot mode is active, which enables you to view one snapshot at a time. Select the Compare Snapshots mode to choose two snapshots to compare to each other. When in Compare Snapshots mode, Unity keeps both snapshots in active memory to minimize the time needed to switch between them. For more information, refer to Compare two snapshots.
Snapshot list
Each snapshot in the list contains the following information:
Information | Description |
---|---|
Screenshot | A screenshot of the target during capture. Editor-only snapshots don't include a screenshot. If you don't want to include a screenshot with a snapshot, select the Capture dropdown, and disable the Snapshot setting. |
Product name | The product name, set in Project Settings > Player > Product Name. |
Time and date | The time and date that the snapshot was captured. Unity stores the date on each snapshot in Universal Coordinated Time (UTC) format and converts it to your computer's local time. |
Memory overview | Displays the total resident memory as a portion of the maximum amount of memory available. |
Snapshot contextual information
Whenever you hover over a snapshot, the following information is displayed in a contextual box:
Information | Description |
---|---|
Snapshot name | The file name of the snapshot. |
Platform | The platform the snapshot was captured on. |
Scripting backend | The Unity scripting backend of the project. |
Unity version | The version of the Unity Editor used to capture the snapshot. |
Metadata Description | A customizable string value provided at runtime via the MetadataCollect API. By default this entails the Project name, the time at which the runtime begun taking the snapshot, the frame count as the capture was taken, and the time since the startup of the application and optionally when the Editor entered Play mode. You can use the MetadataCollect API to provide other context information such as the current level. |
Memory data | Displays the maximum amount of memory available, the total resident memory, and the total allocated memory. |