Importing with a skeletal mesh deforms mesh (solved)

I’ve been running into this issue and i have no idea what’s the cause of it.

I made a model on Blender. It imports without a problem To Unreal Engine. However if i include the armature/skeletal mesh it messes up the model.

I tried applying bone scale and location and triangulating my mesh. none of them worked.

Update:

I found the issue. This wasnt from bad import settings or anything. The topology on my mesh was finnicky (Maybe it had too many NGons?). I remade the slide of the gun and everything seems to be working as intended now. I do now have to remake the animations unfortunately.