Search Issue Tracker
Active
Votes
0
Found in
6000.0.57f1
6000.2.4f1
6000.3.0b1
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Material is left in broken state when switching from a .git branch with no HDRP to a branch that contains HDRP
- Crash on buffer_add_value_full when hovering over SerializedProperty.boxedValue in Debug Mode after ISerializationCallbackReceiver.OnAfterDeserialize modifies value
- Editor is not capitalised consistently in Preferences window
- [Linux] “Restore Defaults” warning window appears behind Profiler Modules dropdown
- [iOS] Time.deltaTime is switching between 9.998583E-06 and approximately 0.01 seconds
Add comment