Skip to content

pxrUsd Plugin fails to load in Maya 2020 #1155

Answered by mattyjams
Akhilesh09 asked this question in Q&A
Discussion options

You must be logged in to vote

Is there any more information available here?

During initialization, the pxrUsd plugin sources Mel script files and imports Python modules:

status = MGlobal::sourceFile("usdMaya.mel");

MString attribEditorCmd("from pxr.UsdMaya import AEpxrUsdReferenceAssemblyTemplate\n"

So this can happen if not all of your path variables have been set correctly. If you use the module file(s) included in maya-usd, this should be taken care of for you:
https://github.com/Autodesk/maya-usd/blob/dev/doc/build.md#how-to-load-plug-ins-in-…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kxl-adsk
Comment options

Answer selected by mattyjams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1038 on February 08, 2021 10:24.