maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

HELP - USD Plugin not loading in Maya 2024

Open NikkosAM opened this issue 1 year ago • 9 comments

Description: I encountered a problem with loading the USD plugin in Maya 2024. When attempting to enable the USD plugin in the plugin manager, Maya fails to load the plugin. This issue prevents me from utilizing USD functionality within Maya 2024.2 and 2024.1

OS: Windows 11 Version: Maya 2024.2 and 2024.1

Steps to Reproduce:

  1. Open Maya 2024.2 and 2024.1
  2. Go to Window > Settings/Preferences > Plug-in Manager.
  3. In the Plug-in Manager window, check the box next to "USD".
  4. Click the "Reload" button.
  5. Maya should now load the USD plugin.

Expected Behavior:

Maya should load the USD plugin and allow you to use USD files in your scene.

Actual Behavior:

Maya does not load the USD plugin. You receive the following error message:

// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 316: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/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: The specified procedure could not be found.
//  (mayaUsdPlugin)

Version: Maya 2024.2 and 2024.1

I have tried reinstalling Maya 2024 and the USD plugin in diferent versions, but the problem persists.

I have also tried the following troubleshooting steps:

  1. Deleting the any ENV PATH that is not automatically created by installing USD versions: 0.27.0 , 0.25.0 and 0.23.0.
  2. Creating a PYTHONPATH to C:\Program Files\Autodesk\MayaUSD\Maya2024\0.25.0\mayausd\MayaUSD\lib\python
  3. Deleting the "maya/2024" folder in my Documents directory.
  4. Resetting my Maya preferences.
  5. Clear uninstall of maya and clean installation
  6. Installing Python 3.12
  7. Installing: vcredist_x64 and vc_redist.x64

None of these steps have resolved the issue.

I have also searched for similar issues online, but I have not been able to find any solutions.

I am hoping that someone here can help me resolve this issue, I am not really familiar to this types of program issues hence not really familiar with python nor coding.

Thank you for your time.

Screenshot 2024-02-29 061703 Screenshot 2024-02-29 061642 Screenshot 2024-02-29 061549 Screenshot 2024-02-29 061527 Screenshot 2024-02-29 061449

NikkosAM avatar Feb 29 '24 12:02 NikkosAM

This plugin loading issue is almost always due to some conflict.

One thing I do see which seems incorrect is your MAYA_MODULE_PATH. You have it pointing directly to a .mod file. This variable is meant to point at a directory and Maya will then search that directory for mod files. However in your case since you've installed MayaUsd by using the installer you should not need to set this variable. The installer should have set things up correctly where the MayaUsd plugin will be found. Can you try removing that variable and see if that solves your problem.

If not, can you please start Maya and then run these commands and post the output here:

getenv "PATH";
getenv "PYTHONPATH";
getenv "MAYA_MODULE_PATH";

seando-adsk avatar Feb 29 '24 14:02 seando-adsk

@seando-adsk

Thank you for your swift response. Please accept my apologies for the delay in replying; I've been preoccupied with setting up numerous shots, which, as it turns out, I could only successfully execute in Maya 2023.

I attempted to modify the Maya environment variables as you suggested, but unfortunately, I'm still encountering "entry point not found" error messages. Attached are some screenshots for your reference.

Captura de pantalla 2024-03-19 142433 Captura de pantalla 2024-03-19 142428 Captura de pantalla 2024-03-19 142324 >

Additionally, I've included the output from the environment commands you provided for Maya.

`getenv "PATH";
> // Result: C:/Program Files/Autodesk/Maya2024/Python/lib/site-packages/PySide2;C:/Program Files/Autodesk/Maya2024/plug-ins/ATF/ATF;C:/Program Files/Autodesk/Maya2024/plug-ins/ATF/ATF/alias;C:/Program Files/Autodesk/Maya2024/bin/Cg;C:/Program Files/Autodesk/Maya2024/bin;C:/Program Files (x86)/Common Files/Oracle/Java/javapath;C:/Program Files/ImageMagick-7.1.1-Q16-HDRI;C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;C:/WINDOWS/System32/WindowsPowerShell/v1.0/;C:/WINDOWS/System32/OpenSSH/;C:/Program Files (x86)/QuickTime/QTSystem/;C:/Program Files/dotnet/;C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0;C:/Program Files/NVIDIA Corporation/NVIDIA NvDLISR;C:/Users/amnik/AppData/Local/Programs/Python/Launcher/;C:/Users/amnik/AppData/Local/Microsoft/WindowsApps;C:/Program Files/mrv2 1.0.4/bin;C:/Users/amnik/.dotnet/tools;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/bifrost/bin;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/bifrost/thirdparty/bin;C:/Program Files/Autodesk/LookdevX/Maya/2024/1.2.0/plug-ins/lookdevx/bin;C:/Program Files/Autodesk/LookdevX/Maya/2024/1.2.0/plug-ins/lookdevx/plug-ins;C:/Program Files/Autodesk/Maya2024/plug-ins/MASH/bin;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/MayaUSD/lib;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/USD/bin;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/USD/lib;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/USD/plugin/usd;C:/Program Files/Autodesk/Arnold/maya2024/bin;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/vnn/bin;C:/Program Files/Autodesk/Maya2024/plug-ins/xgen/bin;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/bifrost/packs/usd_pack/0.22.11-ad1/thirdparty/bin
> `
> 
> `getenv "PYTHONPATH";
> // Result: ;C:/Program Files/Autodesk/Maya2024/plug-ins/ATF/scripts;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/bifrost/scripts;C:/Program Files/Common Files/Autodesk/ApplicationPlugins/bifrost/Contents/scripts;C:/Program Files/Autodesk/LookdevX/Maya/2024/1.2.0/plug-ins/lookdevx/scripts;C:/Program Files/Autodesk/Maya2024/plug-ins/MASH/scripts;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/MayaUSD/plugin/adsk/scripts;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/MayaUSD/lib/scripts;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/USD/lib/python;C:/Users/amnik/Documents/maya/2024/modules/cameraInferno-0.4.1/scripts;C:/Program Files/Autodesk/Maya2024/plug-ins/fbx/scripts;C:/Program Files/Autodesk/Maya2024/plug-ins/camd/scripts;C:/Program Files/Autodesk/Arnold/maya2024/scripts;C:/Program Files/Autodesk/Maya2024/plug-ins/sweep/scripts;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/vnn/scripts;C:/Program Files/Autodesk/Maya2024/plug-ins/xgen/scripts;C:/Program Files/Autodesk/Bifrost/Maya2024/2.7.1.1/bifrost/python/site-packages;C:/Program Files/Autodesk/LookdevX/Maya/2024/1.2.0/plug-ins/lookdevx/python;C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/mayausd/MayaUSD/lib/python;C:/Users/amnik/Documents/maya/2024/modules/cameraInferno-0.4.1/python
> `
> 
> `getenv "MAYA_MODULE_PATH";
> // Result: C:/Program Files/Autodesk/Maya2024/modules;C:/Users/amnik/Documents/maya/2024/modules;C:/Users/amnik/Documents/maya/modules;C:/Program Files/Common Files/Autodesk Shared/Modules/maya/2024
> `

This plugin loading issue is almost always due to some conflict.

One thing I do see which seems incorrect is your MAYA_MODULE_PATH. You have it pointing directly to a .mod file. This variable is meant to point at a directory and Maya will then search that directory for mod files. However in your case since you've installed MayaUsd by using the installer you should not need to set this variable. The installer should have set things up correctly where the MayaUsd plugin will be found. Can you try removing that variable and see if that solves your problem.

If not, can you please start Maya and then run these commands and post the output here:

getenv "PATH";
getenv "PYTHONPATH";
getenv "MAYA_MODULE_PATH";

NikkosAM avatar Mar 19 '24 20:03 NikkosAM

Hi @NikkosAM, It looks like there is a possibility that there is some interference with your Bifrost plugin install. Could you try removing uninstalling Bifrost to see if that helps. Are there any variables set for Bifrost maybe outside of the system variables. Perhaps in a Maya.env file? Once you uninstall Bifrost if Maya USD works and you need Bifrost. You could try installing version 2.8 and see if that plays well with Maya.

santosd avatar Mar 21 '24 17:03 santosd

Hy, we have exactly the same issue.

MAYA 2024.2 MAYA USD 0.27 Bifrost 2.8.0.0 Py 3.10

Did the same troubleshoot steps as the topic opener.

It just occured, did a clean install, deleted everything after uninstall and still the same. It also strange that everything is working fine for all the other colleagues.

Enviro variables are clean.

ValkyrieNCG avatar Mar 22 '24 21:03 ValkyrieNCG

Hi @NikkosAM, It looks like there is a possibility that there is some interference with your Bifrost plugin install. Could you try removing uninstalling Bifrost to see if that helps. Are there any variables set for Bifrost maybe outside of the system variables. Perhaps in a Maya.env file? Once you uninstall Bifrost if Maya USD works and you need Bifrost. You could try installing version 2.8 and see if that plays well with Maya.

If we uninstall Bifrost, there will be no error message when we start the maya however still receiving the

"// Error: file: C:/Program Files/Autodesk/Maya2024/scripts/others/pluginWin.mel line 316: Unable to dynamically load : C:/Program Files/Autodesk/MayaUSD/Maya2024/0.25.0/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: The specified procedure could not be found. // (mayaUsdPlugin)"

error message if we would like to load the plugin

ValkyrieNCG avatar Mar 22 '24 21:03 ValkyrieNCG

I met the same issue.

Ibm510000 avatar Apr 22 '24 01:04 Ibm510000

Having the same issue, don't have any of the described issues in my PATH, tried resetting prefs, removing bifrost, arnold, installed different versions of the usd plugin, tried with maya 2024, maya 2025. Can not get the plugin to load for anything.

HeydoubleU avatar Apr 25 '24 21:04 HeydoubleU

So I re/installed windows, lets see if this works

NikkosAM avatar May 10 '24 20:05 NikkosAM