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
- Long Property names are not truncated in the Add Property dropdown in the Animation window when the Long Property name does not fit
- [iOS] High CPU load when device keyboard is open
- Selected Animation clip in the Animation window changes when the Domain Reload is triggered
- Animation window scrollbar keeps resetting when the scrollbar width is changed after adding an event
- LocalizationSettings.InitializationOperation hangs when re-entering Play Mode with Domain Reload disabled
Resolution Note (2020.1.X):
Not reproducible on latest 2019.3 and 2020.1 releases (2019.3.1f1, 2020.1.0a23)