Hi, I just spent too much time trying to figure out what I was doing wrong when trying to set different materials to the same block definition but it turns out nothing - it’s just a bug.
To trigger it, this combination must happen:
Have an object inside a block, the object’s material set to “Use Object Parent” and with a render mesh effect (eg. Edge Softening, Thinckening etc.) applied.
Exit the block and either directly apply a custom material directly onto the block object or set it to “Use Layer Material” if the block is on a layer with a custom material.
Expected behavior: the object should have the custom material in Rendered viewport. Instead, Default material is shown.
If you edit the block definition and turn off all mesh effects and exit the block, then material is suddenly applied correctly.
See below: Blue cube has material applied to the block, orange cube to its layer. The two white cubes behind them are set up in the exact same way but with Edge softening turned on:
Thanks, I can confirm that this is fixed in Rendered viewport.
It didn’t fix the V-Ray issue unfortunately. Or rather - and perhaps this was the same before - it seems bugged in a more complicated way: It turns out that the material assignment works only sometimes on a completely random basis. I could replicate it in the scene I posted in my original comment. I made a copy of all four cubes and one would expect there to be two white cubes (the softened blocks with materials directly assigned (not via layer)). But the original cube is now blue and only the copied one is white:
So at least in this case, always only in one of the copies the bug manifests. Really strange.
Edit: Huh, I just noticed that on the last picture, it’s one of the orange cubes that is white, meaning the one that’s assigned by layer. Even stranger.
So I take it this is something wrong directly with V-Ray that only Chaos can fix?
If I figure out how to submit a bug report to them, I’ll do it (I don’t have access to their forum because all our floating licenses are on one account that our external administrator manages).