Collect performance data in Play mode
Profile in Play mode in the Unity Editor.
Read time 1 minuteLast updated 18 days ago
Profile in Play mode to quickly test changes and monitor the performance of your application without having to rebuild your application every time.
To profile in Play mode:
- Open the Profiler (Window > Analysis > Profiler)
- Select the Target Selection dropdown, next to Record
- Select Play Mode

Profiler window's Target Selection dropdown
Unity Profiler minimizes the overhead of profiling the Editor itself and represents any Editor-only activity when profiling Play mode as EditorLoop markers.

Timeline view of Play mode frame
To make sure that windows other than Play mode or the Profiler don't use up time on the render thread and GPU, which affects performance data, reduce the amount of open Unity Editor windows.