Unity-Technologies / usd-unity-sdk

Integration of Pixar's Universal Scene Description into Unity. UPDATE: This package has been superseded by our new bundle of USD packages. Please see README & link below for further details.
https://forum.unity.com/threads/new-openusd-packages-now-available.1524583/
Apache License 2.0
496 stars 74 forks source link

3.0.0-2 import from usdz ignoring textures (USDU-230) #305

Open SteveTheodore opened 2 years ago

SteveTheodore commented 2 years ago
  1. Export a working model from Unity as a USDZ
  2. In a second project, import the USDZ with "all payloads" enabled
  3. Expected: Model and textures are imported to the same shader as exporter
  4. Result: Shader changes to "standard", textures are not imported.

The textures are present in the USDZ, but don't get pulled in.

ponahoum commented 2 years ago

@SteveTheodore I don't think that the import is specifically broken. It's the export that is. Although I see the texture file when unzipping the usdz, the exported usdz doesn't open properly with the texture in blender/app devices. As soon as I switch to v3.0.0-exp.1 it solves the issue and the export is good. I'm using Unity version 2020.3.31f1.

noemis84 commented 1 year ago

Just tested the usd workflow between blender and unity and before I open a new issue I post it here. In general, this usd import in unity seem to be experiemental and not really usable since years, or is here someone using it in production?

My problems with USD import: I export a simple textured cube with blender 3.3.1

using: usd-unity-sdk-3.0.0-exp.2

So I tried an older version -> using: usd-unity-sdk-3.0.0-exp.1

lee-aandrew commented 1 year ago

Hey @noemis84

Thank you for the additional information, it is greatly appreciated! For your issue with uv maps being broken, could you try on this branch mentioned in this comment? https://github.com/Unity-Technologies/usd-unity-sdk/issues/315#issuecomment-1227269471

Thank you, and please let us know if the above branch helps in anyway