Page 1 of 1

MHX2 import with "Exported Rigify" rig has no mesh

PostPosted: Mon Apr 26, 2021 10:59 am
by Ian_Samit
I'm using MH to export a model with a default rig to an mhx2 file.

OS: OpenSuse 15.2
Blender: 2.92.0 (Snap)
MakeHuman: 1.2.0 final

When I import that into Blender, if "Exported MHX" rig is selected, both the rig and mesh are imported.

However, if "Exported Rigify" is selected, only the rig is imported. It also produces the following error report:

Python: Traceback (most recent call last):
File "/home/username/.config/blender/2.92/scripts/addons/import_runtime_mhx2/importer.py", line 57, in execute
importMhx2File(self.filepath, cfg, context)
File "/home/username/.config/blender/2.92/scripts/addons/import_runtime_mhx2/importer.py", line 145, in importMhx2File
build(struct, cfg, context)
File "/home/username/.config/blender/2.92/scripts/addons/import_runtime_mhx2/importer.py", line 230, in build
rig,parser = buildRig(mhHuman, mhSkel, cfg, context)
File "/home/username/.config/blender/2.92/scripts/addons/import_runtime_mhx2/armature/build.py", line 170, in buildRig
rig = rigifyMhx(context, parser)
File "/home/username/.config/blender/2.92/scripts/addons/import_runtime_mhx2/armature/rigify.py", line 299, in rigifyMhx
eb.parent = gen.data.edit_bones[Parents[bname]]
KeyError: 'bpy_prop_collection[key]: key "ORG-chest" not found'

location: <unknown location>:-1


Is this just a bug or am I missing something?

Re: MHX2 import with "Exported Rigify" rig has no mesh

PostPosted: Tue May 11, 2021 9:04 pm
by nomorecookies
It is one of several bugs in the MHX2 pipeline, sorry to say. Unless it has been fixed recently.