# Bone Heat Weigthing failed to find solution for one or more bones

I am trying to do automatic weighting on this object, but I am getting a "Automatic Heat Weighting: Failed to find a solution for one or more bones".

I have tried alot of different thing

Removing doubles Removing all modifiers Subsurface Decimate Removing Non Mainfold Vertices

Here is my .blend file:

• Hi, welcome: it would be better if you could use this other service (blend-exchange.giantcowfilms.com) because it helps this QA site to keep a durable link to .blend files, for future readers. Thanks! – m.ardito Feb 10 '17 at 12:36

To solve this:

• I first removed doubles. This is caused because of non-manifold geometry in your model as shown in here.
• I then switched into Edit Mode
• Then hit Ctrl+AltShift+M to find non manifold geometry in the model
• I then unchecked all the list except the Boundaries as shown below:

• I then hit Space Bar and type Dissolve Vertices as shown below:

• After that I did automatic weighting and it worked perfect as shown below:

Updated .blend file can be found here:

• Hmm, I get this error though when i try to dissolve them: Invalid Boundry to join faces. Also, it doesn't say Mesh: Dissolve Vertices. It's just Dissolve Vertices if that has anything to do with it. – Olaf Feb 10 '17 at 12:30
• @Olaf not sure what you did for this to happen? If you followed the exact steps mentioned in my answer it should work without any problems, I've added the updated file as well. If you still can't make it work then send me a link of your current file which is not the same as the one you uploaded in your question, right? – Tak Feb 10 '17 at 12:36
• I deleted the doubles, selected only boundries and typed in dissolve vertices. Problem i have with the updated file is that the materials are gone and i have no clue how to get them back :). And here is the latest version dropbox.com/s/xwvla0eaisn74dq/daemon.blend?dl=0 – Olaf Feb 10 '17 at 12:40
• @Olaf I followed the steps I told you on the file and it worked. I updated my answer and included the updated file which has the materials as well. – Tak Feb 10 '17 at 13:07
• Probably me and my rookie knowledge then, thanks though! – Olaf Feb 10 '17 at 13:12