Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.2.X, 2021.1.X

Votes

1

Found in

2019.4.17f1

2019.4.17f1c1

2020.2.0b11

2021.1.0a4

Issue ID

1302360

Regression

Yes

Crash on WalkTypeTreeComplete<`SerializedProperty::ContainsManagedReferences'::`2'::IsManagedReferenceVisitor>

Serialization

-

Crash on WalkTypeTreeComplete<`SerializedProperty::ContainsManagedReferences'::`2'::IsManagedReferenceVisitor> when calling SerializedProperty.MoveArrayElement

How to reproduce:
1. Open the attached project from "SerializedPropertyContainsManagedReferences.zip"
2. In Project Browser select asset "New Test Move Array Element"
3. In Inspector click "Test Move Serialize Field Array Element"

Reproducible with: 2019.4.17f1, 2020.2.0b11, 2021.1.0a5
Not reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.2.0b12, 2021.1.0a4

First lines of stacktrace:
0x00007FF7EB555DC1 (Unity) WalkTypeTreeComplete<`SerializedProperty::ContainsManagedReferences'::`2'::IsManagedReferenceVisitor>
0x00007FF7EB55D31D (Unity) SerializedProperty::ContainsManagedReferences
0x00007FF7EB56F51B (Unity) SerializedProperty::MoveArrayElement
0x00007FF7EBFA198E (Unity) SerializedProperty_CUSTOM_MoveArrayElementInternal
0x00000177456A5287 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedProperty:MoveArrayElementInternal (UnityEditor.SerializedProperty,int,int)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a2

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0b4

  3. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.3f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.19f1

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.