Animator movement offset lag

So basically I have this issue as shown bellow where if I increase my game speed or the game lags, my monsters animation offsets. I use InvokeRepeating to animate the slime for one block and repeat, I use InvokeRepeating often as I have tested with many other traps and works well regardless of lag.

Does anyone have an ideas on where I could start? I assume the problem comes from the animator settings themselves.
[Edit] still stuck on this, need help :confused:

alt text

Why hello me and others who have similar issues :stuck_out_tongue:
So turns out the problem only applied to animators with root motion on, and if I change the update mode to animate physics, which synchronizes the animation to the physics engine I believe, then the problem is now fixed :slight_smile: