Rig Importing issue (meshes are deformed)

Hello. I’m trying to import an fps arms and weapon with animations but there is a problem when importing: the bones are not at the right place and are deformed.
I’ve tried everything I could but nothing worked. Here is the blender result and the studio result: