TimeLine Issue with Game Object transform

When I preview the animation it sometime places the both enemy’s at the end of the map but when playing the game it never gets right WHY???

It would be very thankful if someone can answer quick becuz the game jam will end tomorrow.

Anyone having the same problem ???
Here are the fixes

  1. Undo All your debuggings(temporary edits).
  2. Remove the animator on the object.
  3. Then again drag the object to the timeline where it was before.
  4. Click create animator.

Another Fix

  1. Check the child(s) of the gameObject for animator.
  2. Delete Them.

Check this video about the root motion from Unity. Not sure if I understand your question, but I had also problems with the transform of game objects. Properly understanding this solved my problems with the timeline and transform. Hope it helps!