Material Import fails to set texture paths when shader inputs:file properties are connected
- Dominant language
- Wolfram Language
- Stars
- 905
- Forks
- 223
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 17
Description
**Describe the bug**
I have a Material Prim serving as an interface for a shader network. Attributes on the Material connect to attributes on the shaders. When I load this scene via the Layer Panel it all works as expected. When I instead File->Import this scene, the textures fail to load onto the Maya shaders (even with `importUSDZTextures=1`).
**Steps to reproduce**
1. Download the usdz from the source data google drive link below
2. Open Maya, load maya-usd plugin
3. Open Layer Editor, Create Stage from File, Select the usdz, Enable texture shading in the viewport -> Success
4. File New, File->Import, Select the usdz, Enable "Import USDZ Textures" in the file type specific import options, Enable texture shading in the viewport -> Fail
**Expected behavior**
The viewport should render steps (3) and (4) the same way, which should appear as a cube mesh with a cracked stone texture.
**Attachments**
Source data: https://drive.google.com/file/d/1qUHkOrtXG55vjtSAMl-i0qhnykPgezqr/view
Via Layer Editor:

Via Import:

**Specs**
- Maya 2024.2
- Maya USD 0.25.0
**Additional context**
The Material Prim is serving as an interface for the shader network. The AssetPath texture inputs are specified on the Material Prim, and the actual `inputs:file` properties on the UsdUVTexture shaders are connected to the inputs on the Material Prim. If I delete this interface & instead set the Shader prim inputs directly, then the Maya textures are setup correctly via File->Import.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.