You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since USD 20.05, we get a seg fault when attempting to change material assignments from a scene delegate in some cases. It happens when the currently bound material is using uniform primvar(s) but not the new one, when the list of required elements buffers becomes empty at draw item update.
I reproduced the issue with usdview by turning off the enable scene materials setting.
Steps to Reproduce
Run testusdview with python script and usd scene in reproUsdViewCrashOnMaterialChange.zip testusdview --renderer GL --testScript reproUsdViewCrashOnMaterialChange.py reproUsdViewCrashOnMaterialChange.usda
Notice the crash
System Information (OS, Hardware)
Linux
Package Versions
USD 20.05
The text was updated successfully, but these errors were encountered:
Description of Issue
Since USD 20.05, we get a seg fault when attempting to change material assignments from a scene delegate in some cases. It happens when the currently bound material is using uniform primvar(s) but not the new one, when the list of required elements buffers becomes empty at draw item update.
I reproduced the issue with usdview by turning off the
enable scene materials
setting.Steps to Reproduce
Run testusdview with python script and usd scene in reproUsdViewCrashOnMaterialChange.zip
testusdview --renderer GL --testScript reproUsdViewCrashOnMaterialChange.py reproUsdViewCrashOnMaterialChange.usda
Notice the crash
System Information (OS, Hardware)
Linux
Package Versions
USD 20.05
The text was updated successfully, but these errors were encountered: