nanoskript / vrm-rigify

Generate Blender Rigify armatures for VRM models

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when trying to generate humanized VRM rig

thebuddyadrian opened this issue · comments

commented

I got this error using the "Generate Humanized VRM rig" command. I'm using a model exported from VRoid Studio 1.19.0. I'm not sure what version of VRM VRoid uses, but if it's using VRM 1.0, maybe that's the problem?

Error: Python: Traceback (most recent call last):
  File "C:\Users\thebu\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\vrm_rigify\__init__.py", line 42, in execute
    meta_rig = meta.generate_meta_rig(vroid_rig)
  File "C:\Users\thebu\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\vrm_rigify\meta.py", line 55, in generate_meta_rig
    position_meta_rig(meta_rig, vroid_rig)
  File "C:\Users\thebu\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\vrm_rigify\meta.py", line 35, in position_meta_rig
    conversions = create_bone_mapping(base_bones, vroid_rig)
  File "C:\Users\thebu\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\vrm_rigify\base.py", line 111, in create_bone_mapping
    assert vroid_matches, f"no VRoid bones found for `{vroid_pattern}`"
AssertionError: no VRoid bones found for `^Index3_end`

image

Thanks for opening an issue :)

It looks like at some point, VRoid Studio stopped including the _end bones, so now there is now one less bone for each finger. If you need a quick fix until I update the addon, you can add this string:

    '[a-zA-Z_-].03.[LR]',

to the arrays META_IGNORED and BONES_DELETE, both inside of meta.py and repackage the addon yourself.

Fixed (along with finger bone positioning) in ca8555f.