Capturing Data
Learn how to capture profiler data from your Unity project.
Opening the Capture Window
Go to Window > FrameDoctor > Capture to open the capture window.
Capture Settings
Before capturing, configure your settings:
| Setting | Description | Recommended |
|---|---|---|
| Frame Count | Number of frames to capture | 300-1000 |
| Include Assets | Capture asset inventory | Enabled |
| Include GC | Track GC allocations | Enabled |
| Deep Profile | Enable deep profiling | Disabled (performance impact) |
Starting a Capture
- Enter Play Mode in Unity
- Navigate to the area of your game you want to profile
- Click Start Capture in the FrameDoctor window
- Play through the scenario you want to analyze
- Click Stop Capture when finished
Best Practices
Capture Representative Gameplay
Focus on capturing:
- Heavy combat scenes
- Areas with many objects
- UI-intensive screens
- Loading sequences
- Known problem areas
Consistent Test Conditions
For reliable comparisons:
- Use the same device/hardware
- Close other applications
- Capture similar scenarios
- Use a consistent frame count
Multiple Captures
Consider capturing:
- Different game areas
- Various player actions
- Before and after optimizations