maya-usd
maya-usd copied to clipboard
Unable to load most recent plugin
Describe the bug
After installing MayaUSD_0.24.0_Maya2024.1_Windows
from the release section, Maya 2024.1 fails to load the plugin.
Steps to reproduce Steps to reproduce the behavior:
- Install
MayaUSD_0.24.0_Maya2024.1_Windows.exe
- Launch Maya 2024.1
- Navigate to the plugin settings window
- Enable MayaUSD
- Check output log in the script editor
Expected behavior The plugin should be able to load.
Attachments
// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 316: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.24.0_202306271239-a402544/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll
// The specified procedure could not be found.
// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 316: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.24.0_202306271239-a402544/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll
// The specified procedure could not be found.
// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 316: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.24.0_202306271239-a402544/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll
// The specified procedure could not be found.
// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 316: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.24.0_202306271239-a402544/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll
// The specified procedure could not be found.
// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 934: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.24.0_202306271239-a402544/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll
// The specified procedure could not be found.
Specs (if applicable):
- OS & version: Windows 11
- Maya version Maya 2024.1
- Maya USD commit release
- Pixar USD commit release
Hi @antopilo, we have seen similar issues in the past, usually related to environment variables. a couple of things to check here:
Check to make sure your python and system Paths aren't conflicting with mayausd. you shouldn't have anything usd on your PATH & PYTHONPATH at system level, as Maya sets all of the necessary env vars at the session start.
If that doesn't solve the problem, I would recommend double checking your mayausd.mod file (you can find this file under "C:\Program Files\Common Files\Autodesk Shared\Modules\Maya\2024"). All of the paths should point to a common root directory, that being the installed location of mayausd.
Hope it helps! :)
Issue synced internally to EMSUSD-820
If you encounter a similar problem in the future, my issue was primarily caused by the PATH environment variable. It included a path to some USD libraries that were present alongside the libraries installed with the plugins. Once I removed these paths from the PATH environment variable, the plugin loaded without any issues. Therefore, it's important to eliminate any paths related to USD libraries that are not part of the libraries the plugin is attempting to use. Generally, the relevant libraries for the plugin are located in the installation directory, typically under C:/Program Files/Autodesk/MayaUSD.