Skip to content

Maya USD Merge Bug for Autodesk #4402

@msnider-hub

Description

@msnider-hub

Maya 2026.2.0-8.0.pfix
MayaUSD version 0.25.5
Windows 11 enterprise

Calling the python command 'cmds.mayaUsdMergeToUsd()' produces a much larger USD export file (around 52 mb) than using the equivalent operation from the Maya USD 'Merge to USD' UI dialog options. The Python based merge seems to export additional and unnecessary scene data that the UI merge does not include. Additional flags or features might be required for that function.

Steps to reproduce:
Open a scene containing a USD skelmesh edited as maya data
Open the USD layer editor and choose 'Merge Maya Edits to USD'
Using the UI, click Merge. Filesize is ~2 mb
Undo/reload the scene

Execute this command:
cmds.mayaUsdMergeToUsd('Stage')
Compare the output file as ~52 mb

Additional comments:
Looking at the bigger file, it seems it stores the vertex information of the mesh, rather than the intention of storing the skeletal animation data in the file

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions