Search Issue Tracker

Fixed in 2020.2

Votes

1

Found in

2019.3.0b9

2019.4.0f1

2020.1

2020.2

Issue ID

1257833

Regression

Yes

OnStateEnter is not called when using the Timeline with an Animator on the same GameObject

Animation

-

How to reproduce:
1. Open user's attached "SMBehaviorBug" project
2. Open the "SampleScene" Scene
3. Enter the Play Mode
4. In the Game view press the "ChangeState - Bug" button

Actual result: The "Start 521822810" message is logged in the Console
Expected result: The "Start 521822810" message is not logged in the Console

Reproducible with: 2019.3.0b9, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Not reproducible with: 2018.4.24f1, 2019.3.0b8

Notes:
- The State does start only OnStateEnter is not called
- Deleting and re-adding the Animation Track to the Timeline fixes the issue and the OnStateEnter for the Main state is called

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.