Steps to reproduce:
- Create a new Project
- Open the Standalone Profiler window (Analysis -> Profiler (Standalone Process))
- Switch Target to Edit mode
- Observe that the Profiler start collecting data as expected
- Right-click on the Standalone Profiler window's handle
- Enable or disable the UI Toolkit Live reload option
- Switch Target to Edit mode
- Observe the Profiler window
Actual results: Profiler continues the recording, despite targeting Play mode that isn't active
Expected results: Profiler's UI remains functional after enabling or disabling the UI Toolkit Live Reload option. The recording should stop, as the Profiler is targeting Play mode, which isn't active
Reproducible with versions: 6000.0.82f1, 6000.3.23f1, 6000.5.10f1, 6000.6.0b10, 6000.7.0a6
Tested on (OS): macOS 26.6.2, Ubuntu 24
Notes:
- The button for enabling/disabling Profiler's recording also becomes out of sync if the Top-menu option is used to change the recording's state (Edit -> Record)