maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

Error Saving Maya File with Anonymous USD Stage

Open wjwilson opened this issue 1 year ago • 1 comments

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

wjwilson avatar Apr 23 '25 16:04 wjwilson

Thanks for the info.

wallworm avatar Apr 28 '25 19:04 wallworm