Search Issue Tracker

Fixed

Fixed in 2021.3.38f1, 2022.3.24f1, 2023.2.18f1, 6000.0.0b15

Votes

2

Found in

2021.3.36f1

2022.3.21f1

2023.2.13f1

2023.3.0b10

6000.0.0b11

7000.0.0a1

Issue ID

UUM-66549

Regression

Yes

Crash on AnimatorStateMachine::RemoveTransitionsWithDeletingObject when deleting a newly created Empty State in Animator Controller

--

-

Reproduction steps:
1. Open the attached “repro-project“
2. In the Project window find and open the “Assets/Invector@MeleeCombat_Upperbody.controller“ Animator Controller
3. In the Animator window create an Empty State on the Base Layer (Right-click on the layer → Create State → Empty)
4. Delete the newly created Empty State
5. Observe the crash

Reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.13f1, 2023.3.0b10
Not reproducible with: 2022.3.18f1
Regressed in: 2022.3.19f1

Reproduced on: Windows 10
Not reproducible on: No other environment tested

First few lines of the stack trace:
0x00007ff6c3ea8232 (Unity) AnimatorStateMachine::RemoveTransitionsWithDeletingObject
0x00007ff6c3ea8232 (Unity) AnimatorStateMachine::RemoveTransitionsWithDeletingObject
0x00007ff6c3ea7a93 (Unity) AnimatorStateMachine::RemoveState
0x00007ff6c27beaf4 (Unity) AnimatorStateMachine_CUSTOM_RemoveStateInternal
0x000002b9f3583d54 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.Animations.AnimatorStateMachine:RemoveStateInternal (UnityEditor.Animations.AnimatorStateMachine,UnityEditor.Animations.AnimatorState)

Comments (1)

  1. unity_Blackhand

    Mar 24, 2024 19:33

    Please fix this!

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.