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

Render delegate crashes when changing a variant of a shader #717

Open
sirpalee opened this issue Mar 22, 2021 · 3 comments
Open

Render delegate crashes when changing a variant of a shader #717

sirpalee opened this issue Mar 22, 2021 · 3 comments
Assignees
Labels
bug Something isn't working crash Issue related to one of the components crashing render delegate Related to the Arnold Render Delegate upstream Something that needs to be addressed in USD itself user Reported by a user

Comments

@sirpalee
Copy link
Contributor

sirpalee commented Mar 22, 2021

Describe the bug
Changing a variant on a shader causes the render delegate to crash.

To Reproduce
Steps to reproduce the behavior:

  1. Open the attached arnold_vari_hang.usda.zip file in usdview and switch to Arnold.
  2. Change the color variant on /root/looks/material/shader from blue to red.

Used Software Versions

  • Arnold: 6.2.0.1
  • USD: 21.02
  • Compiler: GCC 6.3.1
  • OS: CentOS 7
@sirpalee sirpalee added bug Something isn't working render delegate Related to the Arnold Render Delegate labels Mar 22, 2021
@sirpalee sirpalee self-assigned this Mar 22, 2021
@sirpalee sirpalee added the upstream Something that needs to be addressed in USD itself label Mar 22, 2021
@sirpalee
Copy link
Contributor Author

This is very likely because of PixarAnimationStudios/OpenUSD#978 .

When the variant is on the shader, changing the variant will destroy the existing material hydra primitive, but Hydra won't create a new one and assign it to the shader. If the variant is on the material, everything works as expected.

@sirpalee
Copy link
Contributor Author

I'm moving this back to ticket triage, as we are depending on an upstream fix.

@compso compso added this to Arnold USD Apr 8, 2022
@compso compso moved this to Todo in Arnold USD Apr 8, 2022
@compso compso added the crash Issue related to one of the components crashing label Apr 29, 2022
@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-13268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Issue related to one of the components crashing render delegate Related to the Arnold Render Delegate upstream Something that needs to be addressed in USD itself user Reported by a user
Projects
Status: Todo
Development

No branches or pull requests

3 participants