Help! After the end of the walking animation character is dragged back. How to fix it?

I also had this issue but it was a while ago so someone might be able to provide more help. If I remember correctly in the animation sequence there is an option called “Enable Root Motion” just tick that and you’re set.