Search Issue Tracker

Fixed in 5.2.1

Votes

1

Found in

5.2.0p1

Issue ID

730469

Regression

Yes

Crash with "Animator.Update" within "StateMachineBehaviour.OnStateEnter"

Animation

-

Reproduction steps:
1. Open attached project.
2. Open "scene" scene.
3. Play the scene.
4. Select "Main Camera" game object in hierarchy tab.
5. Go to "window" > "Animator" and select "Parameters" tab.
6. Turn "New Trigger" trigger parameter on.
7. Unity crashes.

Comments (2)

  1. ensomniac

    Mar 01, 2016 00:27

    If you can't update Unity and you're stuck with this issue, you can get around it by sticking your code in LateUpdate().

  2. stainoftime

    Oct 23, 2015 13:38

    Same problem. When i call Animator.Update Unity crashes

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.