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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Add comment