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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (2020.1.X):
Not reproducible on latest 2019.3 and 2020.1 releases (2019.3.1f1, 2020.1.0a23)