Animation is different in Animator and In-Game

For my game I’m making a gym where players can increase their stats. Im planning to make various animations for it, but I encountered a problem with the first one already - Pull Up.

Here’s how it looks in Animator:

Here’s how it looks in game:

As you can see, in the animator hands are always roughly at the same world height, and hence stay on the bar. But in the actual game hands move up and down too much, even tho the starting position is correct.

I checked. Both while playing the animation in the animator, and while playing in game, the Humanoid Root Part stays in the same position, which it should.

So then why in the game it moves up and down differently, than in the animator, and how to fix it?

try to lower the humanoid root part maybe