Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load most recent plugin #3349

Open
antopilo opened this issue Sep 26, 2023 · 3 comments
Open

Unable to load most recent plugin #3349

antopilo opened this issue Sep 26, 2023 · 3 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@antopilo
Copy link

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:

  1. Install MayaUSD_0.24.0_Maya2024.1_Windows.exe
  2. Launch Maya 2024.1
  3. Navigate to the plugin settings window
  4. Enable MayaUSD
  5. 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
@antopilo antopilo added the bug Something isn't working label Sep 26, 2023
@santosg87
Copy link
Collaborator

santosg87 commented Sep 27, 2023

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! :)

@santosg87 santosg87 added the help wanted Extra attention is needed label Sep 27, 2023
@neilh-adsk neilh-adsk moved this to Needs triage in maya-usd Nov 6, 2023
@maya-usd-git-sync
Copy link

Issue synced internally to EMSUSD-820

@jeancolasp
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Needs triage
Status: Needs triage
Development

No branches or pull requests

3 participants