How to keep my npc in the same ending position after animation?

ok,now it no longer find the problem of crash,the joint of animation name was different,I think that’s the problem,I change the name to the same right now,it can input,that’s good,even though it said that a few bones that’s no exist,it can play.
But,when I check the root motion,it still will go back to its original point as it loop,in persona,it actually moving,in level it is,but it still go back.