MayaUsd Environment variable conflicts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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!