Reproduction steps:
1. Open a new Unity Project
2. In the Editor Menu, select Window -> Analysis -> Profiler (Standalone Process)
3. Close the Profiler (Standalone Process) window
4. Observe the Console window
Expected result: When closing the Profiler (Standalone Process) window, no errors/warnings are thrown/logged in the Console window
Actual result: When closing the Profiler (Standalone Process) window, "ExternalProcess::OnExitedMainThread" is logged in the Console
Reproducible with: 2020.3.36f1, 2021.3.5f1, 2022.1.6f1, 2022.2.0a17
Could not test with: 2019.4.31f1 (Standalone Profiler unavailable)
Reproduced on: Linux Rocky 8.6
Notes:
- When closing the Profiler (Standalone Process) window in the 2020.3.36f1 Unity version, it throws a crash window
- When opening (Standalone Process) in 2021.3.5f1, 2022.1.6f1 it crashes
- If the Editor is in the Play mode and the Target Selection is set to "Play Mode", the Profiler window Frame charts are not filled with spikes