Mesh completely distorted when assigning animation

My mesh is also completely distorted. On the left we can see the UE4 skeleton recognizes the mesh skeleton, that’s why some of the bones are white and some are grey (which means the current mesh is not using the bones). It is playing the animation, so in a sense the retargeting is successful, it seems it’s just not recognizing the placement for the bones. I’ve already tried messing up with the Retarget Options (AnimScaled, Skeleton etc) with no success.

Any more ideas? @Taces did you manage to solve this?