maya-usd icon indicating copy to clipboard operation
maya-usd copied to clipboard

Preview purpose bound materials don't get converted to maya shaders on import

Open tom-wi-souza opened this issue 6 months ago • 0 comments

Hi,

When importing a usd file which contains materials that are bound with the binding:preview the USD materials don't get converted back in to maya shaders.

Default binding without selected Purpose.

rel material:binding = </pig/materials/red_material>

Binding with purpose preview

rel material:binding:preview = </pig/materials/red_material>

Steps to reproduce

  1. import USD file which contains binding:preview
  2. make sure check materials in USD import options
  3. Notice materials are missing / not present in the scene.

Alternative method:

  1. create usd stage
  2. create xform
  3. reference USD file which contains binding:preview
  4. Right click on xform and Duplicate as Maya Data
  5. Notice materials are missing / not present in the scene.

Expected behavior Materials are converted into maya shaders when binding has purpose preview.

Attachments

usd_preview_assignements.zip

Specs (if applicable):

  • OS & version: e.g. Windows 11
  • Maya version: Maya 2025
  • Maya USD: 0.30.0

Thanks for the help and having a look.

Best,

  • Tom

tom-wi-souza avatar Jun 30 '25 15:06 tom-wi-souza