MayaUsd Environment variable conflicts

MayaUsd Environment variable conflicts

andrew.bkly
Enthusiast Enthusiast
390 Views
1 Reply
Message 1 of 2

MayaUsd Environment variable conflicts

andrew.bkly
Enthusiast
Enthusiast

Hey all just wondering if anyone can help me figure out why an environment variable from another program makes it so that mayaUsd plugin won't autoload. I found a few articles on this already that someone had a nuke and python ones conflicting. In my case it was one created by Mr Viewer. I'd like to still have it there but it breaks Maya's plugin loading for some reason. Is there anyway this can be fixed?

 

I have this in the system variable paths

C:\Program Files\mrv2-v1.3.8\bin

 

When its there, I get this error when mayaUsd tries to load on startup

// Error: file: C:/Program Files/Autodesk/Maya2026/scripts/startup/autoLoadPlugin.mel line 40: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2026/0.32.0/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll
// The specified procedure could not be found.
# Error: RuntimeError: file C:\Program Files\Autodesk\scripts\mtoa\mayaUsd.py line 90: Invalid object or value:
// Error: file: C:/Program Files/Autodesk/Maya2026/scripts/startup/autoLoadPlugin.mel line 40: The specified procedure could not be found.
//  (mayaUsdPlugin)

 

The plugin loads still somehow but autoload is turned off, so if prefs are saved on exit it wont load at all next time. Also mayaHydra plugin will refuse to load.

When I delete the mrviewer path, it loads fine and so does mayaHydra.

 

maya version 2026.1 (fresh install, new preferences)

mayaUsd 0.32.0

 

Thanks for any advice on why this would happen and how to stop it? It's very strange, thanks!

0 Likes
391 Views
1 Reply
Reply (1)
Message 2 of 2

andrew.bkly
Enthusiast
Enthusiast

Oh ok so just found out that it seems Mr Viewer2 has openUSD within it. I guess this would be conflicting somehow with maya's plugin? I guess you can't have both? I will get rid of the MrViewer path for now.

0 Likes