Error Saving Maya File with Anonymous USD Stage
- Dominant language
- Wolfram Language
- Stars
- 905
- Forks
- 223
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 17
Description
**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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.