arnold-usd
arnold-usd copied to clipboard
Render delegate crashes when changing a variant of a shader
Describe the bug Changing a variant on a shader causes the render delegate to crash.
To Reproduce Steps to reproduce the behavior:
- Open the attached arnold_vari_hang.usda.zip file in usdview and switch to Arnold.
- Change the color variant on
/root/looks/material/shader
fromblue
tored
.
Used Software Versions
- Arnold: 6.2.0.1
- USD: 21.02
- Compiler: GCC 6.3.1
- OS: CentOS 7
This is very likely because of PixarAnimationStudios/USD#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.
I'm moving this back to ticket triage, as we are depending on an upstream fix.
Issue synced internally to ARNOLD-13268