Skip to content

Error Saving Maya File with Anonymous USD Stage #4198

Open
@wjwilson

Description

@wjwilson

Describe the bug
Saving a Maya file with an anonymous USD stage prints the error:

// Error: Failed verification: ' UsdStageMap::getInstance().isDirty() '
// Error: Failed verification: ' _stageListeners.empty() '

This does not happen if the stage is based on a USD file on disk. The error does not appear to cause any additional issues.

Steps to reproduce
Steps to reproduce the behavior:

  1. Open new Maya scene
  2. Create->Universal Scene Description (USD)->Stage with New Layer
  3. Add a prim to the the stage
  4. Save file
  5. Select "Save all edits (including USD) to Maya scene file"
  6. Above error will display in script editor

Expected behavior
Scene to save without raising any error

Specs (if applicable):

  • Windows 11
  • Maya 2025.3
  • Maya USD 0.31.0
  • USD 23.11

Additional context
I have also tested this in 2024 and 2026 and get the same issue

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