Reproduction steps:
1. Open the attached project “CrashRepro“
2. Open Profiler window (Window > Analasys > Profiler)
3. Open “Play Mode” dropdown menu
4. Click on “<Enter IP>” option
Expected result: Enter Player IP window appears
Actual result: Editor crashes
Reproducible with: 2022.2.4f1, 2022.2.8f1
Not reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.2.3f1, 2023.1.0a1, 2023.1.0b5 2023.2.0a4
Reproducible on: Windows 10
Not reproducible on: macOS 13.1 (Intel)
First few lines of stack trace: