Hello, depending on the animation, the animation could have translated/transformed your character to another location.
The first thing to do would be to check to make sure that the character or mesh exists.
You can look at the WORLD OUTLINER to see if the mesh/character exists and/or create an IS_VALID function that tests its existence.
If it does exist, then you likely have a root motion issue with the animation, in which case, you’ll want to enable (if memory doesn’t fail me) that option in the animation window.