Search Issue Tracker

Fixed

Fixed in 2022.2.0a12

Votes

0

Found in

2022.2.0a11

Issue ID

UUM-29056

Regression

Yes

Crash when a GameObject is dragged on a Script Component field

-

Reproduction steps:
1. Open the attached project “CrashRepro“
2. Select “Capsule“ in the Hierarchy window
3. Drag “Capsule“ over the “New Behavior Script“ Component in the Inspector window

Expected result: The field is not accessible, and nothing happens
Actual result: Editor crashes

Reproducible with: 2022.2.0a9, 2022.2.0a11
Not reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.0a8, 2023.1.0b2, 2023.2.0a1
Fixed in: 2022.2.0a12

Reproducible on: Windows 10 22H2

First few lines of stack trace:

{noformat}Obtained 59 stack frames
0x00007ff6dea2b24d (Unity) SerializedProperty::GetContentHash
0x00007ff6dd120e8a (Unity) SerializedProperty_CUSTOM_GetContentHashInternal
0x00000208b0400bd1 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.SerializedProperty:GetContentHashInternal (UnityEditor.SerializedProperty)
0x00000208b0400a4b (Mono JIT Code) UnityEditor.SerializedProperty:get_contentHash ()
0x00000208b2611e6b (Mono JIT Code) UnityEditor.UIElements.Bindings.SerializedObjectBindingToBaseField`2<TValue_REF, TField_REF>:FieldValueChanged (UnityEngine.UIElements.ChangeEvent`1<TValue_REF>){noformat}

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.