Search Issue Tracker

Fixed in 2021.1

Fixed in 2020.2

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

Serialization

-

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
<...>

  1. Response avatar

    Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.0a7

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.4f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.