Search Issue Tracker

Fixed in 2020.1.X

Votes

3

Found in

2018.4.0f1

2019.1.0a1

2019.1.7f1

2019.2.0a1

2019.3.0a1

Issue ID

1168332

Regression

No

OnStateUpdate will not be called when a new AnimatorControllerPlayable is attached by the first time

Animation

-

How to reproduce:
1. Open attached project "StateEnterNotCalled.zip" and scene "SampleScene"
2. Enter Play mode
3. In the Hierarchy window, select "NL01_Body_Skin"
4. In Inspector window, "Animator Playable Test" -> change "Controller Index" to 1
5. In Inspector window, "Animator Playable Test" -> change "Controller Index" to 2 (OnStateUpdate should be called, but it doesn't get called.)
6. In Inspector window, "Animator Playable Test" -> change "Controller Index" to 1

Expected result: on step 4 and 5 the OnStateUpdate is called
Actual result: only on step 6 the OnStateUpdate is called

Reproducible with: 2018.3.14f, 2018.4.4f1, 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Could not test with: 2017.4 due to package manager errors

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.2.0a1

Add comment

Log in to post comment