Hello,
We have a shading group whose connection s are Arnold's `aiSurfaceShader` and Maya's `surfaceShader` attributes. Looks like connection to aiSurfaceShader get permanently disconnected when switching render layes that have shader overrides in them.
We use the AiSurfaceShader to render and surfaceShader to preview textures in the viewport for animators.
Steps to recreate the issue:
1. Create some geometry in Maya
2. Create a render shader for it, hook it into the surfaceShader attribute
3. Create a viewport shader for it, hook it into aiSurfaceshader attritube.
4. Create a new render layer
5. Create a collection that includes the geometry
6. Create a Shader Override and hook up a new render shader to the override.
7. Change render layers to the newly created layer.
8. Change back to the default render layer.
9. The aiSurfaceShader is no longer connected to the Shading group.
Hoping there is a workaround for this bug. Any ideas?
--Felipe Ruiz
Solved! Go to Solution.
Solved by felipe.ruizQ99GU. Go to Solution.
Thanks, Autodesk confirmed that it is a Maya bug on their end and has nothing to do with mtoa/arnold plugin.