Reproduction steps:
1. Open the attached “Repro.zip” project
2. Open the Build Settings window (File > Build Settings)
3. Enable the “Development Build”, “Script Debugging” and “Wait For Managed Debugger” options in the Build Settings window
4. Build the Player
5. Open the “Assets/Scripts/System/Control.cs” Script with Rider IDE
6. Set a breakpoint at the 317th line
7. Run the Player and attach the Rider Debugger to it
8. Try to step over the 317th line in the debugger
Expected result: Rider debugger steps over and advances further in the script
Actual result: Rider doesn’t advance and freezes as shown in RiderError.jpg
Reproducible with: 2021.3.21f1, 2022.2.12f1,
Couldn’t test with: 2020.3.47f1, 2023.1.0b9, 2023.2.0a7 (Script errors in the user’s project)
Reproducible on: M1 macOS 13.1