Search Issue Tracker
Active
Under Consideration for 1.8.X
Votes
0
Found in [Package]
1.8.24
Issue ID
BUR-2902
Regression
No
Breakpoint behavior is inconsistent when using Breakpoints inside Burst-related functions while in Debug mode
How to reproduce:
1. Open the attached “IN-101185” project
2. Open the “SampleScene”
3. Search for the “Unsafe.Burst.ActivationTestModule” script in the Project window open it
4. Place a breakpoint on line 86 and attach the script to Unity
5. Return to the Editor and select “Enable debugging for this session” in the pop-up window
6. In the Hierarchy, unfold GameObjects “Test Object Parent” and “Burst Data Model Tests” and select “Phase Two”
7. In the Inspector, right click the “Unsafe Network Activation Test Module (Script)” Component and click “Test Fire Network”
8. Observe the result
9. Open your IDE, un-attach, then re-attach the script to the Editor
10. Select the “Phase Two” GameObject in the Hierarchy and repeat step 7
11. Observe the result
Expected result: The breakpoint is consistently hit
Actual result: The behavior is inconsistent; different behaviors can occur each time (see notes)
Reproducible with: 1.8.18 (2022.2.14f1), 1.8.24 (2022.2.14f1, 2022.3.66f1, 6000.0.57f1, 6000.2.4f1, 6000.3.0b1)
Couldn’t test with: 1.8.17 ((2022.2.14f1) Could not solve error “'Unsafe' is inaccessible due to its protection level”) 1.8.24 (2022.2.13f1 (5f5de2657605) Could not solve issues with Collections package from downgrading))
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
- Observed behaviors:
- Numbers are printed to the Console
- The Editor gets stuck on “Menu.Test Fire Network”
- The IDE window becomes focused
- Reproduces with Visual Studio 2022 and Rider 2025.1.2. No other IDE tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Add comment