Animated armature moves back to pivot point

Hello, I have run into some problems with imported animations and bones. The problem seems to be that the armature goes to its pivot point, even though it it shouldn’t. I made the models in blender and the objects are not on there pivot points. I tried moving there pivot points onto the the armature but that caused all kinds of problems with the animation.I know the problem is fixable in unity because I got one of the animations to look right(I have know idea how or I would have done the same thing with all of them). The strangest part I think is that in the animation preview it looks just fine, but it doesn’t look the way it is supposed to when it is in the scene. I have tried replacing the current object in the scene with an object from the project manager but that doesn’t work either, I hope I have described this well enough for someone to know what the problem is.(I’m not sure if I made this clear but the animation still plays, the object is just in the wrong spot.)

Any help is appreciated.

Never mind, I fixed it. The problem was that the arms(which were the objects that wouldn’t work) -by default- were in the same spot(scene mode) and I thought that moving them wouldn’t matter because the keyframes in blender put keyframes on the location, but apperently it did matter. So anyway, I fixed it.