Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storm] Crash on material changes when material is using primvar #1182

Closed
jufrantz opened this issue Apr 27, 2020 · 2 comments
Closed

[Storm] Crash on material changes when material is using primvar #1182

jufrantz opened this issue Apr 27, 2020 · 2 comments

Comments

@jufrantz
Copy link

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

  1. Run testusdview with python script and usd scene in reproUsdViewCrashOnMaterialChange.zip
    testusdview --renderer GL --testScript reproUsdViewCrashOnMaterialChange.py reproUsdViewCrashOnMaterialChange.usda

  2. Notice the crash

System Information (OS, Hardware)

Linux

Package Versions

USD 20.05

@jilliene
Copy link

Filed as internal issue #USD-6022

@jufrantz
Copy link
Author

Hi,
Just tested the fix on our side with USD 21.02 and it works like a charm.
Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants