Mesh deforms when parenting to the armature I was trying to make a character rig , I have done all the steps necessary except one , when I parented the armature to the mesh , the mesh went haywire.
This is an image before parenting :-

And this is an image after parenting:-

file -
9 out of 10 times, rigging problems are caused by problems in scaling.
make sure that figure feet are at world center and the armature fits in it.
Before you autorig, apply scale(and other transforms) to the mesh and
apply scale (and transforms) to the bone system