Search Issue Tracker

By Design

Votes

3

Found in

4.3.4f1

Issue ID

606594

Regression

No

The animationState property always returns null

Animation

-

To reproduce:
1. Import the attached unitypackage
2. Open up repro scene
3. Enter play mode - notice the error log in the console

A null exception is thrown by animEvent.animationState, but it's being called in an animation event method

Explanation: animationState Property is only used by the legacy animation system.

Do not confound AnimatorState and AnimationState they are both two different object, the first one for Mecanim animation system and the later one is Legacy

Comments (1)

  1. F192c20d96e83b3d3cda0e01213a9922?d=mm

    alemfi

    May 29, 2014 19:18

    Getting the same issue.

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.