Proper way to transitate animations with root motion

I’m animation a character using and I want all the animation to the be controlled using the root motion.

I have set on my animation 4 clips for all main directions (0,90,180,270 degrees) and I’m using a blend tree to interpolate between the animations.

I’ve successfully implemented a walking animation using this, but now I want to add a turning animation.
I can transitate properly between walking to turning180. But when Turning180 goes back to Walking, my animation is all twisted. It seems to be related to the Root Transform Rotation being modified by something, but I don’t know to fix that.

Anyone experienced anything like that already?

Found a solution for anyone interested

Just reset the rootRotation (located in the animator) of the animation by the end of the other animation.