Autodesk / Autodesk/maya-usd

Exporting mayaUsdProxyShape node doesnt keep edits

Open
#4,208 6 comments 0 reactions 1 assignee Claimed by @santosg87 View on GitHub
bug
Dominant language
Wolfram Language
Stars
905
Forks
223
Avg merge
2d 9h
Merged PRs (30d)
17

Description

**Describe the bug**
When we try to export a mayaUsdProxyShape as a Maya scene, it doesn't export the USD edits that was living in the Maya scene. This means any composition/edit made from that Stage node is not being exported (Anonymous layers, EditTarget, PrimSpec/AttrSpec, new defs, etc).

![Image](https://github.com/user-attachments/assets/83ecdbd2-aa2d-43eb-99bc-4a54f5bf156b)

**Steps to reproduce**
At its simplest way to reproduce the issue:
1. Create Stage with New Layer
2. Create a sphere Prim
3. Select mayaUsdProxyShape node
4. File -> Export Selection -> .ma

**Expected behavior**
Any USD Data that would normally be saved within the Maya scene should also be exported (Anonymous layers, EditTarget's Prim/AttrSpec, etc). The Export should act exactly like the "Save all edits (including USD) to the Maya scene file".

**Specs:**
- Alma Linux 9.4
- Maya 2024
- mayaUsd 0.30 & 0.31

**Additional Info**:
- Our Save USD Options is set to "Save all edits (including USD) to the Maya scene file"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.