Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2017.2.0f2

Issue ID

954143

Regression

No

[Animation] PlayableGraph.Evaluate(float delta) causes events to be fired twice

Animation

-

How to reproduce:
1. Open attached "AnimatorIssue" project and "Main" scene
2. Observe the AnimatorTest.cs and see that animator.playableGraph.Evaluate is called to fire an Animation event
3. Enter playmode and observe the console

Expected result: One Animation event is fired by PlayableGraph.Evaluate
Actual result: Two Animation events are fired by PlayableGraph.Evaluate

Reproducible with - 2017.3.0b2, 2017.2.0f2, 2017.1.1p4, 5.6.3p4, 5.6.0b11

Notes:
1. Bug is similar to issue 938978, only for a different API - https://issuetracker.unity3d.com/issues/animator-dot-update-0-fires-events
2. Animator.playableGraph API was introduced in 5.6.0b11, so this is not a regression in contrast to 938978

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.