Workflows
Collecting and Viewing Data
This workflow will take you through the steps need to populate the Unity Profiler and Profile Analyzer with data.
Opening the Unity Profiler Window
- Open the Unity Profiler window via the main menu using Window->Analysis->Profiler or using the Ctrl+7 keyboard shortcut, alternatively if you already have the Profile Analyzer window open you can use the Open Profiler Window from the view's toolbar.
Populating the Unity Profiler
The Profile Analyzer uses data collected from the Unity Profiler. We can populate the Unity Profiler with data in a number of ways, for instance we can make a new capture or alternatively by loading a saved Unity Profiler capture file (.data) from a previous session.
1. Recording New Data
Select which player you would like to record data from using the dropdown on the Profiler Window toolbar, by default the profiler will be set to record from the Editor.
Press the Record button located on the same toolbar to start recording data from your chosen player, a data window of 300 frames will fill and wrap until you press the Record button again.
2. Loading a Previous data set
- Press Load on the Profiler Window toolbar and navigate the file load dialog to a previously saved .data file.
Opening the Profile Analyzer Window and Pull the Recorded Data
Open the Profile Analyzer window via the main menu using Window->Analysis->Profile Analyzer.
Press the Pull Data button on the Single View.
Note: The Profiler Window and Profile Analyzer Window both require a reasonable amount of screen real-estate so docking the 2 together into a single tabbed window can be advantageous as you will be moving between the two views frequently when reasoning about the data supplied.