Reproduction steps:
1. Open the “users attached project”
2. Open the “GameSceneV1”
3. Open the “PlayerController.cs" script
4. Add a breakpoint on line 80
5. Attach a debugger to the Unity Editor
6. Go back to the project and enter Play Mode
7. Observe the Editor crash or freeze
Reproducible with versions: 2022.3.39f1
Couldn’t test with versions: 2021.3.40f1, 6000.0.12f1 (due to compiler errors)
Reproducible on: macOS Sonoma 14.5 (Intel)
Not reproducible on: no other environment tested
Notes:
- The issue happens with any script in the project and by adding a breakpoint anywhere in the script
- Reproducible with Rider and Visual Studio Code
First few lines of Stack Trace: