Search Issue Tracker
Active
Under Consideration for 1.8.X
Votes
0
Found in [Package]
1.8.11
Issue ID
BUR-2593
Regression
No
Debugger breakpoint does not get hit when the breakpoint and the code are placed on a specific line
Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Open the "Assets/SampleScene.unity" scene
3. Open the “Assets/Scripts/RotationSystem.cs” script with Visual Studio
4. Place a breakpoint on the line 31 of the code
5. Open the Attach to Process window from the Visual Studio Menu bar (Debug > Attach to Process)
6. Select the “Unity Editor” and click the “OK” button in the Attach to Process window
7. Enter the Play mode in the Unity Editor
8. Observe the Visual Studio and the Editor Game view
Expected result: The breakpoint gets hit and the GameObject in the Game view stops spinning
Actual result: The breakpoint does not get hit and the GameObject in the Game view continues to spin
Reproducible with: 1.8.11 (2022.3.17f1, 2023.2.4f1)
Couldn't test with versions: 2021.3.34f1, 2023.3.0b1 (Can not enter the Play mode due to Console errors)
Reproducible on: macOS Sonoma 14.2 (M1 Max), Windows 10
Not reproducible on: No other environment tested
Note:
-The breakpoint gets hit as expected when the line of code and the breakpoint are moved to the line 32
-Issue tested with Visual Studio 2022 for Mac and Visual Studio 2022
-The Visual Studio 2022 for Mac debugger may not attach to the Editor consistently on macOS Sonoma 14.2 (M1 Max)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Add comment