You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When loading in maya-usd into Maya (2022.4) from a custom-build, there are issues trying to load these:
// Error: file: C:/Program Files/Autodesk/Maya2022/scripts/others/pluginWin.mel line 316: Unable to dynamically load : c:/users/alex.fuller/local_packages/mayaUSD/0.29.0/platform-windows/maya-2022/ext/plugin/adsk/plugin/mayaUsdPlugin.mll
The specified procedure could not be found.
//
// Error: file: C:/Program Files/Autodesk/Maya2022/scripts/others/pluginWin.mel line 316: The specified procedure could not be found.
(mayaUsdPlugin) //
From Python I can load stuff out of the pxr module to verify it is loading:
from pxr import Usd
print(Usd.GetVersion())
(0, 24, 5)
Also I have DependenciesGui.exe installed that I launch from the Maya python script editor:
Build openusd 24.05 + maya-usd 0.29.0 using Visual Studio 17 2022 and the -Tv142 toolset so it matches 2019 which Maya 2022.4 was built from (this builds successfully with minor tweaking)
Make sure the .mod files point exactly to openusd/maya-usd (rez build)
Set MAYA_MODULE_PATH to where the generated mod files are located
Load any of the newly created plugins
Expected behavior
More thorough error logging to why a plugin won't load (if possible).
Attachments
Specs (if applicable):
Windows 10 w/ 10.0.19041 SDK
Visual Studio 17 2022 but with v14.2 toolset to match 2019
Maya 2022.4
maya-usd branch release/0.29.0
openusd version tag v24.05
Additional context
I understand that the latest isn't supported with an older Maya, but I am inclined to think it is something else going on here that I'd like to get to the bottom of. I will try an older version of openusd next.
The documentation doesn't really discuss this as an issue to look out for, but when building openusd it builds a few dependencies like TBB which would overlap Maya's built-ins, is this not an issue in-practice?
The text was updated successfully, but these errors were encountered:
You have done all the detective work that we normally suggest to users when the plugin doesn't load. The usual suspect is a conflicting USD or MayaUsd in either PYTHONPATH or PATH. I don't see any conflicts in yours.
Did you look at the dependencies for MayaUsd.dll and MayaUsdUI.dll as well, to verify they are getting things from the right place.
At Autodesk when we build USD (for shipping with MayaUsd) we copy the TBB and OpenSubDiv libraries from Maya into the USD build (rather than letting the USD build download and build them). You could try that.
At Autodesk when we build USD (for shipping with MayaUsd) we copy the TBB and OpenSubDiv libraries from Maya into the USD build (rather than letting the USD build download and build them). You could try that.
Ok so I only noticed DependenciesGui.exe won't flag in red/orange any conflicts or missing DLLs until you dive down into some of them, and in this case UsdImagingGL had issues with ptex of all things. Looks like 2022.4's shipped v2.3 was in-preference over the v2.4 that OpenUSD likes to target. So, my 3 options here is to disable ptex, use Maya's or v2.3 of ptex or just modify the OpenUSD build to make a static lib over a dynamic one.
I guess with Ptex it never went through what Boost or Imath solved with just attaching the version number to the suffix to get around these issues. All good, live and learn - maybe this can help others trying to build MayaUSD.
Describe the bug
When loading in
maya-usd
into Maya (2022.4) from a custom-build, there are issues trying to load these:From Python I can load stuff out of the
pxr
module to verify it is loading:Also I have
DependenciesGui.exe
installed that I launch from the Maya python script editor:And can verify the
.mll
libraries are locating the correct.dll
s that I am expecting and nothing from anywhere else.Steps to reproduce
Steps to reproduce the behavior:
openusd 24.05
)openusd 24.05
+maya-usd 0.29.0
usingVisual Studio 17 2022
and the-Tv142
toolset so it matches 2019 which Maya 2022.4 was built from (this builds successfully with minor tweaking).mod
files point exactly to openusd/maya-usd (rez build)MAYA_MODULE_PATH
to where the generated mod files are locatedExpected behavior
More thorough error logging to why a plugin won't load (if possible).
Attachments
Specs (if applicable):
10.0.19041
SDKrelease/0.29.0
v24.05
Additional context
I understand that the latest isn't supported with an older Maya, but I am inclined to think it is something else going on here that I'd like to get to the bottom of. I will try an older version of
openusd
next.The documentation doesn't really discuss this as an issue to look out for, but when building
openusd
it builds a few dependencies likeTBB
which would overlap Maya's built-ins, is this not an issue in-practice?The text was updated successfully, but these errors were encountered: