Are you having an issue with Root Motion animations? Character snaps back to it's starting position at frame 0? Why is the root transform for the XZ axes do not match for looping?
The root transform for the XZ axes does not match for looping is not the cause for character snapping back to starting position. It does not have a loop match for XZ because the position is changed in the animation.
To resolve the problem, check the following.
1) Make sure to check 'apply root motion' on the animator component on the prefab.
2) Make sure that XZ is not baked in pose.
For more info on Root motion in Unity, see document here.