For best results orient joints as “Unity Engine” world orientation and keep the character forward as axis Z.

You can use the model “Marionette.ActiveRagdoll.Character-Model-Body” as a reference.

Joint’s Axis Problem

The Mesh isn’t aligned with the Z-axis

Mesh’s Nomals Problem