Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.2.X
Votes
0
Found in
2020.1.0a19
2020.1.1f1
2020.2
2021.1
Issue ID
1290753
Regression
Yes
Editor freezes when opening Preset window of script with SerializeReference
Reproduction steps:
1. Open the attached "case_1290753.zip" project
2. Load SampleScene
3. Select the "Directional Light" GameObject in the Hierarchy window
4. Click the Preset icon at the top-right of the IneractableElement Component in the Inspector window
-- Observe the freeze
Reproduces on: 2020.1.0a19, 2020.1.13f1, 2020.2.0b11 2021.1.0a5
Not reproducible with: 2019.4.14f1, 2020.1.0a18
Could not test with: 2018.4 (no SerializeReference attribute), 2020.1.0a1-0a15 and below (due to case 1201433 crash)
Notes:
- after approximately 30 minutes the Editor should crash on ExtractBasicTypeStringValueFromBytes
- on 2020.1.0a1 the Editor always crashes on IsTypeTreePPtr
The stack trace of the crash:
0x00007FF6EF8A0A00 (Unity) ExtractBasicTypeStringValueFromBytes
0x00007FF6EF8A1207 (Unity) ExtractPropertyModificationValueFromBytes
0x00007FF6EF89827C (Unity) AddPropertyModificationValueFromBytes
0x00007FF6EF89D067 (Unity) CollectPropertyValuesFromSerializedObject
<...>
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a7
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.4f1