Search Issue Tracker

Fixed

Fixed in 6000.0.49f1, 6000.1.2f1, 6000.2.0a11

Votes

0

Found in

6000.0.46f1

6000.1.0b14

6000.2.0a8

Issue ID

UUM-102784

Regression

Yes

Crash on Collider::FindNewAttached when parenting a GameObject in OnDisable and the script component is above the collider

-

Reproduction steps:
1. Open the attached project "CrashProject"
2. Enter the play mode

Expected result: The child GameObject is parented during OnDisable()
Actual result: Editor crashes

Reproducible with: 2023.3.0a4, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8
Not reproducible with: 2022.3.61f1, 2023.3.0a3

Reproducible on: Windows 11
Not reproducible on: No other environment tested

First few lines of stack trace:

{noformat}0x00007FFE89184058 (Unity) Collider::FindNewAttached
0x00007FFE8918646E (Unity) Collider::ParentingChanged
0x00007FFE891B4C51 (Unity) PhysicsManager::HandleColliderHierarchyChanges
0x00007FFE89124F3F (Unity) TransformHierarchyChangeDispatch::DispatchSelfAndAllChildren{noformat}

  1. Resolution Note (fix version 6000.2.0a11):

    Fixed Crash in Collider::FindNewAttached when parenting a root GameObject in OnDisable

  2. Resolution Note (fix version 6000.1.2f1):

    Fixed Crash in Collider::FindNewAttached when parenting a root GameObject in OnDisable

  3. Resolution Note (fix version 6000.0.49f1):

    Fixed Crash in Collider::FindNewAttached when parenting a root GameObject in OnDisable

Add comment

Log in to post comment