ID 536039 - [USD I/O] Loading Arnold/Redshift shaders through the UsdIn node, can set incorrect attributes, appending "arnold:" and "redshift::" to a variety of material attributes

Follow

Problem summary:

Importing a USD file that contains an Arnold or Redshift shader, which were exported from external DCC's, may contain additional prefixes such as "arnold:" and "redshift::" which Katana does not require or expect. This results in attributes that Katana can not read, the effects of this issue can include the incorrect regeneration of Material Networks.

Steps to reproduce:

1. Import the attached scene, or import a USD file that includes the "arnold:"or "redshift::" prefix at a shader level.


2. Create a NetworkMaterialEdit node, then assign the material location to this node.


3. Repopulate the NetworkMaterialEdit node, and then navigate into the Material context.


Expected behaviour:

The shading nodes in the Material Network should have the correct nodeType value and attempt to load the parameters of the shader.


Actual behaviour:

The shader nodes in the Material Network display the full arnold:<nodetype> or  redshift::<nodetype> in the nodeType parameters and don't show parameters or their values.


Workaround:

You can rewrite the Katana attributes using an OpScript to remove the "arnold:" / "redshift::" prefix, the NetworkMaterialEdit should then correctly generate the shader network.

Reproduced by Support:

  • Katana 6.0v1 - Windows 10, CentOs 7
    Katana 4.0v8 - Windows 10, CentOs 7

Earliest Version Tested:

Katana 4.0v8 - Windows 10, CentOs 7

    We're sorry to hear that

    Please tell us why