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

USD Export: Workaround default prim bug in Maya 2025.3 with Maya USD 0.30.0 #172

Merged

Conversation

BigRoy
Copy link
Contributor

@BigRoy BigRoy commented Nov 8, 2024

Changelog Description

Workaround default prim bug in Maya 2025.3 with Maya USD 0.30.0

See: Autodesk/maya-usd#3991

Additional review information

Without this fix the published USD file will not be loaded correctly when referenced. This is e.g. noticable when using the AYON USD contribution workflow and the model is 'missing' when loading the asset USD file. This is because the generated file itself lacks correct default prim metadata due to the Maya USD regression/bug.

Testing notes:

  1. Publish a Maya USD file from different versions of Maya (to confirm they all still work).
  2. The generated USD asset files (with contribution workflow) should work.

Or simpler, but maybe more technical for some. Confirm the actual written defaultPrim value in the written USD file is not prefixed with a |.

@BigRoy BigRoy added the type: bug Something isn't working label Nov 8, 2024
@BigRoy BigRoy self-assigned this Nov 8, 2024
Copy link
Member

@LiborBatek LiborBatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didnt tested but LGTM...

@BigRoy BigRoy merged commit 085058b into ynput:develop Nov 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants