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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment