The forum is active for archival purposes only.

Join our discord community for new topics.

Forum Navigation
You need to log in to create posts and topics.

Prism 2.0.4 USD workflow Maya 2024.2 export rig error

Hi there, I'm currently testing the USD workflow explained here.

I can't publish my rig with double clicking:

15/03/24 12:22:13 ERROR - default_USD_export
Core: v2.0.4
App plugin: Maya v2.0.4
  File "<maya console>", line 2, in <module>
  File "C:\Program Files/Prism2\Scripts\PrismUtils\Decorators.py", line 54, in func_wrapper
    return func(*args, **kwargs)
  File "C:\Program Files/Prism2\Scripts\PrismUtils\Decorators.py", line 54, in func_wrapper
    return func(*args, **kwargs)
  File "C:\Program Files/Prism2\Scripts\PrismUtils\Decorators.py", line 54, in func_wrapper
    return func(*args, **kwargs)
  File "C:\Program Files\Prism2\Scripts\ProjectScripts\StateManager.py", line 1869, in publish
    sanityResult = self.runSantityChecks(executeState)
  File "C:\Program Files/Prism2\Scripts\PrismUtils\Decorators.py", line 54, in func_wrapper
    return func(*args, **kwargs)
  File "C:\Program Files\Prism2\Scripts\ProjectScripts\StateManager.py", line 2099, in runSantityChecks
    warnings += curState.ui.preExecuteState(states=self.execStates)
  File "C:\Program Files\Prism2\Scripts\ProjectScripts\StateManagerNodes\Folder.py", line 100, in preExecuteState
    warnings += curState.ui.preExecuteState(states=states)
  File "C:\Program Files\Prism2\Scripts\ProjectScripts\StateManagerNodes\Folder.py", line 102, in preExecuteState
    warnings.append(curState.ui.preExecuteState())
  File "C:\Program Files/Prism2\Scripts\PrismUtils\Decorators.py", line 89, in func_wrapper
    "".join(traceback.format_stack()),
Traceback (most recent call last):
  File "C:\Program Files/Prism2\Scripts\PrismUtils\Decorators.py", line 54, in func_wrapper
    return func(*args, **kwargs)
  File "default_USD_export.py", line 805, in default_USD_export.USD_exportClass.preExecuteState
pxr.Tf.ErrorException:
Error in 'MayaUsd_v0::ufe::ufePathToPrim' at line 113 in file S:\jenkins\workspace\ECP\ecg-maya-usd\ecg-mayausd-full-2024-windows\ecg-maya-usd\maya-usd\lib\mayaUsd\ufe\Utils.cpp : 'Failed verification: ' !segments.empty() ' -- Illegal UFE run-time path .'
What can I do?
Thanks for helping!
Daniel

Hey Daniel,

what's the value of the "Parent USD prim" setting in the Export state settings in the State Manager?

It looks like it's set to an invalid prim.

Hey Richard,

thanks for coming back to me!

My asset is called "cube"

the product is "_layer_rig_master"
outputtype ".ma"
parent USD Prim: "cube_USD_master"
reference prim name: "rig"

Maya Objects:
cube (the duplicated maya data containing the rig in a folder named "rig")

Uploaded files:
  • You need to login to have access to uploads.

ok it kinda works if I change the parent USD Prim to "|cube_USD_master|cube_USD_masterShape,/cube". But I have to admit, I'm still very confused. What is the "product"? How can I update the rig if I want to change something? If I publish again, another rig prim appears called rig1 and so on.