Hello guys,
I’ve been getting errors when building “control_01” components that seem to corrupt the guides altogether in some situations. When building, I get the following warning message
“Control tag relative: Can’t find reference for object : root_C0.root”
Joints : ressourcepod_L1 (control_01)
// The parent components for: ressourcepod_L1 don’t have joint List in any of them use the root off guide. //
So far this is fine as the build will still generate, but the hierarchy of the said components will not be accurate. (the bones wouldn’t be child of the root_C0.root in this particular case.)
Furthermore, if I try to delete this component (not necessary anymore) now shifter will completely stop the rig generation as this warning comes up :
= GUIDE VALIDATION ==============================================
Checking guide
Get options
Get controllers
Get components
Object missing : ressourcepod_L1_root
# Traceback (most recent call last):
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\guide_manager.py”, line 62, in build_from_selection
# rg.buildFromSelection()
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter_init_.py”, line 186, in buildFromSelection
# self.guide.setFromSelection()
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\guide.py”, line 364, in setFromSelection
# self.setFromHierarchy(node, node.hasAttr(“ismodel”))
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\guide.py”, line 404, in setFromHierarchy
# self.findComponentRecursive(root, branch)
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\guide.py”, line 584, in findComponentRecursive
# self.findComponentRecursive(child)
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\guide.py”, line 584, in findComponentRecursive
# self.findComponentRecursive(child)
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\guide.py”, line 574, in findComponentRecursive
# comp_guide.setFromHierarchy(node)
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\component\guide.py”, line 284, in setFromHierarchy
# self.size = self.getSize()
# File “C:\Users\frede\OneDrive\Documents\maya\modules\scripts\mgear\shifter\component\guide.py”, line 796, in getSize
# d = vector.getDistance(self.pos[“root”], pos)
# KeyError: ‘root’
Which means that I cannot build my rig anymore without having this component in my scene. I tried renaming the component to see if any new errors would pop up and what happens is, it will store the new name and give me the same “Object missing” error, so I’m then stuck with 2 components I absolutely need to have for Shifter to build my rig.
Any cues would be much appreciated. Will gladly share the guide if needed
I’m running mGear 3.6.0 - Maya 2020