Prefabs reset to origin after adding Animation in Unity.

Hi Community,

I’m having a problem with some of my Unity-Animated prefabs resetting themselves to 0,0,0 position when I Play in the editor.

I created empty game objects, zeroed them out and then pulled the prefabs into the scene, zeroed them out and then parented them to the empty game objects. After adding animation keys I hit Play in the editor. Animations work fine, but when I move the Game Objects away from the origin and hit Play, they snap back to 0,0,0 position.

Any ideas?

Thanks for your help,
Josh

Are you moving the animated object or the Empty Game Object that you parented them to? You need to move the EGO to the desired position.

Thanks Ant,

Parenting to an EGO and then Prefabing did the trick :slight_smile:

Cheers,
Josh