Skip to main content
Participant
January 11, 2024
Question

Mixamo add on- creating control rig throws error

  • January 11, 2024
  • 2 replies
  • 3017 views

Hi, I've tried this with several rigged character models that I downloaded from the mixamo website. When I try to "create control rig" with the mixamo add on, I get this same error every time: 

 

 

Report: Error
Python: Traceback (most recent call last):
File "/Users/rtongbai/Library/Application Support/Blender/4.0/scripts/addons/mixamo_rig/mixamo_rig.py", line 157, in execute
layer_select = enable_all_armature_layers()
File "/Users/rtongbai/Library/Application Support/Blender/4.0/scripts/addons/mixamo_rig/lib/armature.py", line 12, in enable_all_armature_layers _layers = bpy.context.active_object.data.layers
AttributeError: 'Armature' object has no attribute 'layers'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/rtongbai/Library/Application Support/Blender/4.0/scripts/addons/mixamo_rig/mixamo_rig.py", line 202, in execute
restore_armature_layers (layer_select)
File "/Users/rtongbai/Library/Application
Support/Blender/4.0/scripts/addons/mixamo_rig/lib/armature.py", line 6, in restore_armature_layers
bpy.context.active_object.data.layers[i] = layers_select[i]
IndexError: list index out of range

 

Any suggestions? Thanks in advance guys!

2 replies

Participant
March 30, 2024

Hey, had similar issue, did some digging, if you dowlnoad the file in the description of this video it fixes the problem. Just replace it in the addon folder of your blender and the problem goes away. He also goes into detail regarding the changes in the code if you want to do it yourself.

Full source here

Participant
May 14, 2024

THANKS

Ussnorway7605025
Legend
January 12, 2024

put the model in T pose first then try again

Participant
January 12, 2024
Thanks for the suggestion! I tried it but it still doesn't work. Any other
ideas? Thanks in advance!
March 21, 2024

Did you ever find a solution to this? I'm struggling with this as well.