Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3
2019.3.0f6
2020.1
Issue ID
1218652
Regression
No
Editor freezes when trying to serialize generic type with SerializeReference
How to reproduce:
1. Open the attached "1218652.zip" project
2. In the Project window "Assets" folder right-click -> Create -> Test Asset
Expected result: The Editor does not freeze, creates the "Test Asset" Scriptable Object
Actual result: The Editor freezes after creating the Scriptable Object
Reproducible with: 2019.3.0a2, 2019.3.1f1, 2020.1.0a23
Could not test with: 2017.4.37f1, 2018.4.17f1 (SerializeReference was not introduced), 2019.3.0a1 (SerializableReference is inaccessible due to its access modifier)
Notes:
-The class that uses C# Generics with Constraint "Feature" is responsible for the freeze
-The freeze occurs after adding a generic type that is serialized to a Serialized Reference list in the Awake() function of the "TestAsset" Script
-The behavior is not certain, the user reported a crash, however, could only encounter a freeze when testing
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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Resolution Note (fix version 2020.1):
fixed in: 2020.2.0a1, backported to: 2019.3.5f1