I want to make an Ambient Occlusion render layer. When I make a render layer in Render Setup, and assign all the objects from my scene, and assign a material override to it, only about half of my objects are getting the new material. The others give errors like:
# Warning: Node 'TrashCanMeshShape.instObjGroups[0].objectGroups[0]': cannot make assignment to 'aiAmbientOcclusion3SG' shader. # # Warning: Failed to make connection for material override materialOverride1. Note that per-face assignments are not supported with material overrides. #
However, I am able to apply the same material to the object manually, making me believe this is a bug. I can do the workaround of applying the material to everything as a separate scene file, but I wanted to report the bug, or perhaps learn how I could actually fix it. I stripped my scene down to a single object that is getting errors when I try to view the render layer and attached it here. Thank you!
Maya 2018.5
Arnold 5.2.2.0
The scene attached to the original post works fine in Maya 2020.
Do you need Arnold to repro this?
Or can you upload a simple scene for testing?