Importing animation from separate .blend file breaks mesh. Importing to a skeleton imported from that .blend file and then retargeting fixes it

So to sum up what I have done. I made a character and rigged it up and all that jazz for animation, then got it all stored in a collection in blender, exported it out and set it up in UE4 and everything is just fine. I made a new .blend file and appended that collection to it so I could have that character and animate it with a firearm without touching the original .blend file. I make my animations and import them into UE4 just fine as well. I make a new .blend file so I can make some lower body animations such as walking and running. Get those made up, export them, bring them into UE4 and my mesh breaks like the image attached. I did a test and exported out the mesh and skeleton from the walking/running .blend file and brought it into UE4, then imported that animation that broke again but set it to use the newly imported skeleton and its just fine. This is odd since the weights are unchanged and the skeleton is literally the exact same. I did another little test. I took one of the working animations from the original mesh (the ones with the firearm) and retargeted them to the new skeleton and they worked just fine. I also took the animation for the newly imported skeleton and retargeted that to the original and that also worked just fine. Something is just breaking upon importation and I cannot for the life of me figure it out.