Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f3
Issue ID
976668
Regression
No
AnimationEvent.animatorStateInfo.fullPathHash doesn't return unique hash
Steps to reproduce:
1. Open user attached project
2. Open bug.unity scene
3. Play the scene
4. Select one button to switch a layer, and click on the "Throw" button
5. Notice that fullPathHash does not change when the layer is changed
Expected result: animatorStateInfo.fullPathHash should point to different layers
Actual result: fullPathHash of the event always matches the first layer.
Reproduced in: 2018.1.0b1, 2017.3.0f3, 2017.2.1p1, 2017.1.2p4, 5.6.5f1, ,
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note:
Synchronizing layers make them use the same StateMachine. We always use the name of the StateMachine to generate the fullPathHash. In general layer names are the same as StateMachine names, but its not the case when using SyncLayers.
We have no plan to change this behaviour since it would break existing projects.