Skip to content

Bones and IK Step 8 AttributeError: 'NoneType' object has no attribute 'head' #16

@Nextien

Description

@Nextien

I'm trying to convert an FFXIV Model to MMD model but when I reach the Bones and IK and hit "Run Steps 1 to 12", I keep getting this error. I went through each step one-by-one and I always get it on "8 - Add Eyes Control Bone". Every other step runs fine, including the other steps that add special bones like "9 - Add Arm Twist Bones"

add_eye_control_bone():
Traceback (most recent call last):
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\ffxiv_mmd_tools_helper\bone_conversion.py", line 1100, in execute
    main(context)
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\ffxiv_mmd_tools_helper\bone_conversion.py", line 1037, in main
    add_eye_control_bone(armature,bone_type)
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\ffxiv_mmd_tools_helper\bone_conversion.py", line 452, in add_eye_control_bone
    eyes_bone.head = 0.5 * (eye_L_bone.head + eye_R_bone.head)
AttributeError: 'NoneType' object has no attribute 'head'
Error: Python: Traceback (most recent call last):
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\ffxiv_mmd_tools_helper\bone_conversion.py", line 1100, in execute
    main(context)
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\ffxiv_mmd_tools_helper\bone_conversion.py", line 1037, in main
    add_eye_control_bone(armature,bone_type)
  File "C:\Users\[User]\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\ffxiv_mmd_tools_helper\bone_conversion.py", line 452, in add_eye_control_bone
    eyes_bone.head = 0.5 * (eye_L_bone.head + eye_R_bone.head)
AttributeError: 'NoneType' object has no attribute 'head'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions