Steps to reproduce:
- Open the attached project
- Open the Standalone Profiler window (Window -> Analysis -> Profiler (Standalone Process))
- With the Standalone Profiler window selected, expand the File section in the Top menu
- Select the "Save to profile data option.."
- Observe the Console window
Actual results: NullReferenceException is thrown after saving the data
Expected results: No exceptions or warnings are thrown when saving the data, or the option to save the data is disabled for empty recordings (Current behaviour with the UI button to save data inside the Profiler window)
Reproducible with versions: 6000.3.0b7, 6000.3.23f1, 6000.5.10f1, 6000.6.0b10, 6000.7.0a5
Not reproducible with versions: 6000.0.82f1, 6000.3.0b6
Tested on (OS): macOS 26.6.2