Search Issue Tracker
Fix In Review
Fix In Review for 6000.5.0a7
Votes
0
Found in
6000.0.57f1
6000.2.4f1
6000.3.0b1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-119163
Regression
No
Crash on buffer_add_value_full when hovering over SerializedProperty.boxedValue in Debug Mode after ISerializationCallbackReceiver.OnAfterDeserialize modifies value
How to Reproduce:
1. Open the attached “IN-111453” project
2. Open the “SampleScene”
3. In the Hierarchy, select the “CrashBehaviour” GameObject
4. In the Inspector, right click the “Crash Behavior (Script)” Component and select “Edit Script”
5. Attach the script to the Editor
6. Return to the Editor and select, “Enable debugging for this session” in the pop-up window
7. Place a breakpoint on line 34
8. In the Hierarchy, deselect then reselect the “CrashBehaviour” GameObject
9. Return to the script and hold your mouse over “boxedValue” on line 34
10. Observe the crash
Reproducible with: 2023.1.0a1, 6000.0.57f1, 6000.2.04f1, 6000.3.0b1
Reproduced on: Windows 10 (user reported), Windows 11
Not reproduced on: No other environment tested
Notes:
- The issue is easiest to reproduce when using Rider
- Sometimes, the Editor will get stuck on “InspectorWindow.Repaint“. If this happens, detach the script from the Editor and start again from step 3
- When selecting the “CrashBehavior” GameObject, a “NullReferenceException: Object reference not set to an instance of an object“ error appears in the Console
- The crash does not occur if line 23 is commented out
First few lines of the stack trace:
0x00007FFE8B13A0C5 (mono-2.0-bdwgc) buffer_add_value_full
0x00007FFE8B13D8E2 (mono-2.0-bdwgc) do_invoke_method
0x00007FFE8B13DB40 (mono-2.0-bdwgc) invoke_method
0x00007FFE8B1324B1 (mono-2.0-bdwgc) suspend_current
0x00007FFE8B1363AA (mono-2.0-bdwgc) process_event
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Fixed in 6000.5.0a7
Resolution Note (fix version 6000.5.0a7):
Fixed in 6000.5.0a7