Mechanim Head bone Issue

What is the issue. how can i fix it.
alt text

Can you provide a link to a bigger image? I can't read the error message completely. From what I can make out, I suggested an answer below.

2 Answers

2

It looks like you’re trying to assign the bone “head” to the avatar’s Head node, but head isn’t a child of the Neck node’s bone. Your armature needs to have a structure similar to:

Armature
  Hips
    ..
    Spine
      Neck
        Head

But your armature probably currently has a structure similar to:

    Armature
      Hips
        ..
        Spine
          Neck
        Head (note -- not a child of Neck)

I am having the same issue right now. I have created a mesh, used rigify to create an armature, used default settings to generate rig, and parented with Automatic weights. Saved as .blend file in to assets folder in unity, imported as humanoid with no animations attached, and when I go to configure everytime it shows the head in read, and head bone is unselected. If I select DEF-head it gives me the same error as above. The error reads (as you correctly assumed): "Head Transform “DEF-head” is not a child of Neck Transform “DEF-neck”

So I have gone to blender all 3 times and checked and sure enough the parenting looks exactly correct to me.

Here is a pic of blender:

please post comments AS COMMENTS

What's the bone hierarchy in Unity? Maybe it's not coming into Unity the way you intend. Can you expand the model's hierarchy in Unity's Hierarchy window and post a screenshot? Also, in the future for add-on posts like yours above, please use "add new comment" under the original question or someone's answer. Don't post it as a proposed new answer. I think we all do it once or twice when we're just starting to use unityAnswers. :-)