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
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
This is a duplicate of issue #1187296