Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
3.0.14
Issue ID
1405437
Regression
No
Script breakpoints in Rider don't trigger on IL2CPP builds with Script Debugging enabled
How to reproduce:
1. Open the user attached project (IL2CPP_Debug.zip)
2. Make sure the Editor's External Script Editor is set to Rider
3. In the project's Assets folder find and open the NewBehaviourScript
4. Add a breakpoint on the 16th line
5. In the Unity Editor make sure the Scripting backend is set to IL2CPP
6. Build the project with "Development build" and "Script Debugging" enabled
7. In Rider in the top right by the play button select the "Standalone Player" in the dropdown
8. Press the Debug button to run and debug the player
9. When the player loads focus on Rider and observe the breakpoint
Expected result: the breakpoint is triggered
Actual result: the breakpoint is not triggered
Reproducible with JetBrains Rider Editor: 3.0.14 (2019.4.38f1, 2020.3.34f1, 2021.3.2f1, 2022.1.0f1)
Couldn't test with: 2022.2.0a12 ("Unable to connect to Unity Executable" error when debugging player built with IL2CPP)
Reproducible on Ubuntu 20.04 and Windows 10
Note: The breakpoint is triggered when the player is built with Mono
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
IL2CPP does not work with debugger arguments that cause it to wait for a debugger to attach. Instead, the Wait For Managed Debugger option in the Build Settings dialog should be used.