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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a7
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.4f1