Search Issue Tracker
Fixed
Fixed in 3.0.0-exp.3
Votes
0
Found in [Package]
3.0.0-exp.2
Issue ID
USDU-342
Regression
No
Problem importing materials from USD 21.11
Originally Open on GitHub:
[https://github.com/Unity-Technologies/usd-unity-sdk/issues/353]
----
h3. Bug Report
In USD 21.11, the type of the {{UsdPrimvarReader.varname}} input was changed from {{token}} to {{{}string{}}}, with [this|https://github.com/PixarAnimationStudios/USD/commit/ae3b8f9935be0d1beb8f40f59522233b5c2b6623] commit. Because of this, importing into Unity assets created with USD 21.11 creates objects that are simply colored instead of fully textured.
This can be easily reproduced by exporting a cube with a textured Standard Surface material from Maya 2023 (that ships with USD 21.11).
Is this a known issue ?
----
h3. Repro steps
Textured cube using {{token}} (left) and {{string}} (right).
Unity 2021.3.9f1.
!image-2023-03-28-11-08-26-375.png|width=674,height=382!
# Unpack attached zip file.
# Import attached {{cube_uvgrid_string.usda}} file as GameObjects.
# Switch "Materials" attribute to "Import Preview Surface".
# Reimport USD asset.
# Repeat steps 1-3 with {{cube_uvgrid_token.usda}} file.
# Notice the difference between the {{token}} (left in image) and {{string}} (right in image) imports.
Corresponding line in {{{}cube_uvgrid_token.{}}}usda file:
{code:java}
token inputs:varname.connect = </Cube/mtl/uvGridMat.inputs:texFile:varname> {code}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note (fix version 3.0.0-exp.3):
Second PR with additional fix: https://github.com/Unity-Technologies/usd-unity-sdk/pull/375