Help my character move weirdly

So i try to make a character for my game, all work well but when I try to walk or run with my character the animation loop make my character go far and then teleport near my camera, cause the camera dont follow my character during the loop but only on the start, so my camera stay at the initial positon of the loop. So if any one know how to fix it…

PS: i use animation made by mixamo by the way, and i made my character from scratch.

sometimes the mixamo animations act weird, try tweakin in the assets details the root motion settings in your animations

ty soooo much i check “force root lock” and now its work perfectly, you save my life thanks you again