Mesh is deformed during animation when importing in UE5

Hello,

I am using a free rig I found on the internet for my project (StickBot / SpiderBot). I had some problems to import it correctly because it did not have an actual root, but that problem is now fixed and the animations play well. The only thing left is that my mesh is deformed at the legs. One leg is fine, but the other ones are completely broken. They all have the exact same mesh and skinning. When I import my exported fbx in Maya there is no problem at all, so I believe the problem comes from Unreal. The deformation problem was already there on my animations before I added a root. How and where can I maybe fix that?

Thank you!


Capture d'écran 2023-03-27 105514