Search Issue Tracker

By Design

Votes

0

Found in

2017.1.0f3

Issue ID

939395

Regression

No

AnimationTransitionInfo.fullPathHash doesn't return unique hash

Animation

-

https://docs.unity3d.com/ScriptReference/AnimatorTransitionInfo-fullPathHash.html states that AnimationTransitionInfo.fullPathHash returns a unique name.

To reproduce:

1. Open the project, attached by the user (Transition Names.zip)
2. Open the "Scene" scene
3. Open Window -> Test UI
4. Make sure Console and Animator windows are open
5. Enter Play mode
6. Select Cube in the Hierarchy,
7. In the Animator window, select the New Animation state
8. In the Inspector, solo each transition one at a time
9. Observe the fullPathHash in the console

Expected: fullPathHash is always unique as stated in the documentation

Reproduced in 5.5.4p2, 5.6.3f1, 2017.1.0f3, 2017.1.0p3, 2017.2.0b6m 2017.3.0a3\

By design: match up the live transition with its corresponding AnimatorStateTransition, by ignoring the fullPathHash and assigning unique userNames to compare instead

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.