Found material bindings on prim at path <path> but MaterialBindingAPI is not applied on the prim #107531

Closed
opened 2023-05-02 10:52:03 +02:00 by Wouter-Lemoine · 3 comments

System Information
Operating system: Linux-6.1.0-7-amd64-x86_64-with-glibc2.36 64 Bits
Graphics card: Mesa Intel(R) UHD Graphics (CML GT2) Intel 4.6 (Core Profile) Mesa 22.3.6

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: ?

Short description of error
Textures/material are not getting imported from .usd files.

Exact steps for others to reproduce the error
Download and extract USD dataset: https://datasets.disneyanimation.com/moanaislandscene/island-usd-v2.0.tgz
File -> Import -> USD -> import island/usd/island.usda

The imported file will not have any materials assigned, the terminal log will include:
Found material bindings on prim at path but MaterialBindingAPI is not applied on the prim.

It also happens with the NVidia Omniverse industrial pack assets.

**System Information** Operating system: Linux-6.1.0-7-amd64-x86_64-with-glibc2.36 64 Bits Graphics card: Mesa Intel(R) UHD Graphics (CML GT2) Intel 4.6 (Core Profile) Mesa 22.3.6 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: ? **Short description of error** Textures/material are not getting imported from .usd files. **Exact steps for others to reproduce the error** Download and extract USD dataset: https://datasets.disneyanimation.com/moanaislandscene/island-usd-v2.0.tgz File -> Import -> USD -> import island/usd/island.usda The imported file will not have any materials assigned, the terminal log will include: Found material bindings on prim at path <path> but MaterialBindingAPI is not applied on the prim. It also happens with the NVidia Omniverse industrial pack assets.
Wouter-Lemoine added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-02 10:52:04 +02:00

I can confirm. But I'm not sure if this is a bug or a limitation (that maybe can be workaround by some configuration).

I can confirm. But I'm not sure if this is a bug or a limitation (that maybe can be workaround by some configuration).

This warning(harmless for now) is due to the USD file itself - it is technically missing a particular piece of syntax in the file. Most tooling that exists today unfortunately writes such files.

The warning comes directly from USD code as it reads the file:
b53573ea2a/pxr/usd/usdShade/materialBindingAPI.cpp (L703)

It will also be validated against in the latest usdchecker tool distributed with USD:
https://github.com/PixarAnimationStudios/USD/blob/release/pxr/usd/usdUtils/complianceChecker.py#L600

The upcoming USD 23.08 (release later this summer) will more or less be mandating that these bindings are found.

CC @makowalski There were conversations that happened today about this on the AWSF slack. They're going to try to contact both Disney and nVidia about this but it's something to keep in mind as we update the dependencies.

This warning(harmless for now) is due to the USD file itself - it is technically missing a particular piece of syntax in the file. Most tooling that exists today unfortunately writes such files. The warning comes directly from USD code as it reads the file: https://github.com/PixarAnimationStudios/USD/blob/b53573ea2a6b29bc4a6b129f604bbb342c35df5c/pxr/usd/usdShade/materialBindingAPI.cpp#L703 It will also be validated against in the latest `usdchecker` tool distributed with USD: https://github.com/PixarAnimationStudios/USD/blob/release/pxr/usd/usdUtils/complianceChecker.py#L600 The upcoming USD 23.08 (release later this summer) will more or less be mandating that these bindings are found. CC @makowalski There were conversations that happened today about this on the AWSF slack. They're going to try to contact both Disney and nVidia about this but it's something to keep in mind as we update the dependencies.

FWIW They released a v2.1 of the Moana dataset to address the MaterialBindingAPI warning:
https://datasets.disneyanimation.com/moanaislandscene/island-usd-v2.1.tgz

Release History
v2.1 June 2023
Updates to apply MaterialBindingAPI where needed by USD 23.08 and higher

I'll close this now though keep in mind that the Moana data set is not going to work well in Blender due to its use of instancing Curve objects. It will also be impacted by #112294 which means a lot of console messages will still appear until that is addressed (hopefully soon).

FWIW They released a v2.1 of the Moana dataset to address the MaterialBindingAPI warning: https://datasets.disneyanimation.com/moanaislandscene/island-usd-v2.1.tgz ``` Release History v2.1 June 2023 Updates to apply MaterialBindingAPI where needed by USD 23.08 and higher ``` I'll close this now though keep in mind that the Moana data set is not going to work well in Blender due to its use of instancing Curve objects. It will also be impacted by #112294 which means _a lot_ of console messages will still appear until that is addressed (hopefully soon).
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-10-15 21:35:19 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#107531
No description provided.