Animation plays in wrong position

Hi,

I created an animation in Unity, moving a character around a scene with some static background objects and it all worked beautifully. I then created an empty game object and moved everything in my scene inside it in order to package my scene to add to the overall project, but now my animations play at a different location to my background objects.

I believe this is probably some sort of parenting issue, but I seem to be unable to fix it, if anyone could please offer some help it would be very much appreciated!

Thanks!

Animations created with Unity plays with reference to their parent gameobjects. Since your gameobjects didn’t have any parents, they were relative to world, but now they have a parent object which they will try to refer, but fail as it differs in transform values.

I suggest creating animations for objects under an empty parent gameobject, which will let you put it everywhere in hierarchy, without worrying reference and relativity.