Search Issue Tracker
Not Reproducible
Votes
1
Found in
2019.3.0a2
2020.1.0a1
2020.1.0a9
Issue ID
1191858
Regression
No
[SerializeReference] Crash when deleting first child element in list
Reproduction steps:
1. Open the attached project "1191858" and "test" scene
2. In the Project window, open "Test.cs", comment out line 44, save it and compile the code by going back to the Editor
3. Uncomment the same line, save it and recompile again
4. In the Hierarchy, select Main Camera object and in the Test (Script) component, expand list P
5. Right-click on the first element in list P (Element 0) and press "Delete Array Element"
Reproducible with: 2019.3.0a2, 2019.3.0b7, 2020.1.0a9
Could not test with: 2017.4.33f1, 2018.4.11f1, 2019.2.10f1, 2019.3.0a1 (SerializeReference inaccessible due to its protection level)
Note1: Crash only occurs when deleting the first element of the list
Note2: If code is not recompiled (steps 2 and 3 are skipped) a silent crash occurs
Workaround: Deleting the SerializeReference attribute stops the crashes
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (2020.1.X):
Not reproducible on latest 2019.3 and 2020.1 releases (2019.3.1f1, 2020.1.0a23)