Hello everyone. This is just driving me crazy. It worked for me yesterday with a slightly simpler version of my mesh but I have a pretty complex human female character mesh and heres the problem.
- First I select my mesh and then the rig.
- Ctrl + P - Set Parent to - With Automatic Weights
And I get this:
Bone heat weighting: Failed to find solution for one or more bones.
I have tried all the solutions I found to fix this but nothing is working properly.
Removed Doubles from the mesh
Deleted all active modifiers before skinning
Turned off X-Axis mirror in the armature edit mode
Applied rotation and scale to both the mesh and the rig
Tried Smooth Vertex
Tried giving the mesh a subsurf modifier which worked for a while (bad idea though, the mesh is pretty complex itself so this is a bad solution) but after the automatic weight painting, I deleted the modifier and the mesh wasnt moving anymore. Even when I applied the modifier, again the weight painting was gone after that.
So, what could be the problem? As I said, maybe it is the mesh. I imported it as .obj with Keep Vertex Order and Poly Groups checked.
Yesterday I had a simpler version of the same mesh and it worked.