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
- PlasticSCM NullReferenceException on entering the Play Mode when Unity Version Control tab is added to the layout
- Shortcut Helper Bar does not appear when enabling it and disabling it
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
This is a duplicate of issue #1187296