Character rig falling apart?

So I don’t know what I’m doing here. I finally managed to get the rig and animation I imported to work properly, only to realise that everything is off. The animation works fine in blender but it doesn’t in unreal. I am using UE 5.8. The animation and character mesh + rig I did all in blender and exported as fbx. What is happening? How can I fix this? What is going on? I really don’t know what is even the issue here. Blendshapes work fine, the animation is moving like it’s supposed to but the eyes and hat are constantly offset. I have 6 animations I would like to use, I can’t manually move the hat and eye rig around for each one …help?