How do you make a 90 degree turn animation loop smoothly?

I imported an animation of a guy turning 90 degrees, The animation looks fine when he turns but it doesn’t loop so as soon as it ends, he pops back into his original position.

I selected the animation file and checked on “Loop Time” and “Loop Pose” This completely messes up the animation. He Loops but his feet don’t move the right way and kinda shimmy across the ground.

How do I make the animation loop but still look like the original animation?

I fixed the problem. I thought it was a unity issue but really it was the animation file.

I had animations on the Z and Y axis of the hip controller, zeroing them out fixed the problem