Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.3.1p3
Issue ID
763223
Regression
No
Animator.velocity spikes when blending animations with different length while the blend ratio changing
How to reproduce:
1. Open the attached project
2. Open and play Scene
3. Move the character with arrow keys to one direction
4. Stop and start moving again
5. Notice the spikes in the screen (Red graph on the screen indicates Animator.velocity.magnitude. Press space key to apply correction)
6. (workaround) Multiplying ratio of lengths (AnimatorStateInfo.length) of current and previous frames seems to correct the problem. Press Space in playmode to see this result
Note: tested using simple animation controller (without blend trees). It works fine
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Add comment