Problem with Mixamo animations and Root Motion

Hi everyone!

I have a problem with mixamo animations when trying to enable Root Motion on them.
To enable it, I’ve added the Root bone using the Mixamo Converter plugin for Blender. After exporting the converted animations to Unreal Engine 5.6 and enabling Root Motion, I get weird shaking when applying them to my character.

In the editor, I can see that the path has a weird shape like this:


However, in most tutorials on YouTube, either the line is straight, or the character is locked in one position.

I use an older version of Blender specifically 2.8.

Can someone help me solve this problem?

Thank you for your replies!