Search Issue Tracker
Duplicate
Votes
0
Found in
2019.3.0a2
2020.1.0a1
2020.1.0a8
Issue ID
1190493
Regression
No
[SerializeReference] Freeze when parent list property with SerializeReference children is created
Reproduction steps:
1. Open the attached project "1190493" and "test" scene
2. In the Hierarchy, select "Main Camera" and open "Test.cs",
3. Comment out "List<Parent> p" variable and [SerializeField] attribute in lines 7 and 8
4. Save it and compile the code by going back to the Editor
5. Uncomment the same lines, save it and recompile again
6. If "Main Camera" is not selected anymore, select it again
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)
Note: Deleting SerializeReference attribute from the child property (line 44) stops the freezing
-
Resolution Note:
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
This is a duplicate of issue #1187296