Playing Death Ragdoll Animation from code

hello, when i play from code a death montage, the animation looks wrong, checked that the character has the right skeleton, checked the animation, both look fine, why can this be happening? Thanks guys