Closed olihey closed 6 months ago
Thanks for the report, this is a bug in our layerRead function. https://github.com/adobe/USD-Fileformat-plugins/blob/7bcfd43b79b86360fa23e8dc4775cdb10add6869/utils/layerRead.cpp#L936 needs to be refactored to use https://openusd.org/release/api/class_usd_shade_input.html#a2850314096019df0a017b321719b3c70. There might be a fix for the next release, I'll keep you posted.
This is fixed in v1.0.4. Please reopen if you are still having issues.
Expected Behaviour
The example USDA file (see end) should export as two red planes.
Actual Behaviour
The plane which has the connection from the shader to the custom input on the material (
/test/does_not_work
) is white and not red while to one with the color set is still red in the exports. Usdview shows two red planes. I only tried GLB & FBX but could see the behavior in both.Reproduce Scenario (including but not limited to) & Steps to Reproduce
Export the attached USDA to re-produce
usdcat.exe .\test.usda -o .\test.fbx
Platform and Version
Windows 11, USD 23.11, compiled with Visual Studio 2022
Sample Code that illustrates the problem