The humanoid rig behaves strangely with my animation from Blender. Here is a demo of the problem - video.
Can anyone suggest what the problem might be?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.Sign up to join this community
It appears that you don't have "Apply Root Motion" checked in your Animator component.
Without that setting, the root bone of your 3d model stays bolted to the game object and all the other bones move relative to it.
With that setting, the whole gameObject will move when the animation moves the root bone. So in effect the object will move down when the root bone moves down.
Leaving this disabled can be useful in some cases because it ensures that your C# scripts retain full control over the position of the game object. But it is of course inconvenient when you have animations like this which change the height of the object root. It also means that you are now responsible for making sure that the speed of the walk cycle matches the speed with which you move the object. When you use root motion, then the movement speed is defined by the root motion of the walk animation in blender.
The wrong bone was assigned to hips slot in the Humanoid rig settings.
I figured this out, assuming that my hip bone for some reason does not have animation, it hangs static in the air. Then I looked into the Humanoid rig configuration and saw a bone in the thigh slot that I really didn't animate and which is generally a root, not a hip.