AI Character twitches/jerks when walking

I have the same problem as you.How did you solve it?It seems that the map is too large to deviate from the origin of the world.