Skip to content

[BUG] Node 'rig_deformers_grp' does not exist when create blended joint #594

@liketoeatcheese

Description

@liketoeatcheese

🐞 Bug Report

Description

Hi team, trying to create gimmick joints (blended joints) and getting rig_deformer_grp does not exist. Even though the joint is created, it's a runtime error so I'm not sure if the joint is created but underlying attributes are missing for that joint or not.

Steps to Reproduce

You can select any joint after build and create blended joint and the error will show up in the console.

Here's how I added it using code, I use try catch in my script so it ignores the error:

from mgear import rigbits
import mgear.pymaya as pm
try:
    sJnt = pm.PyNode("arm_L0_lowerarm_jnt")
    rigbits.addBlendedJoint(sJnt)
except Exception as e:
   print(e)
   passF

Expected Behavior

Joint created without any issues

Actual Behavior

Here's the stack trace if I don't use try catch in my code:

# EXEC: Executing custom step: build\chars\common\post\add_gimmick_jnts.py
# Error: An exception of type RuntimeError occurred. 
# Error: Traceback (most recent call last):
#   File "C:\Users\willi\Documents\maya\modules\scripts\mgear\shifter\guide.py", line 1486, in runStep
#     cs.run()
#   File "D:/mgear_rigging/shifter_data_centric\build\chars\common\post\add_gimmick_jnts.py", line 37, in run
#     self.create_gimmick()
#   File "D:/mgear_rigging/shifter_data_centric\build\chars\common\post\add_gimmick_jnts.py", line 69, in create_gimmick
#     rigbits.addBlendedJoint(sJnt)
#   File "C:\Users\willi\Documents\maya\modules\scripts\mgear\rigbits\__init__.py", line 607, in addBlendedJoint
#     defSet = pm.PyNode("rig_deformers_grp")
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#   File "C:\Users\willi\Documents\maya\modules\scripts\mgear\pymaya\bind.py", line 64, in PyNode
#     raise RuntimeError(
# RuntimeError: Node 'rig_deformers_grp' does not exist.

Maya Version

  • Maya Version: 2025
  • OS: Windows 11

mGear Version

  • mGear Version: 5.1.0

Error Log Formatting

Provided above

Additional Context

I tested this with support joint and it also give the same error

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions