Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
put the model in T pose first then try again
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Did you ever find a solution to this? I'm struggling with this as well.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
THANKS