BUG: material renders different when applied via object vs layer

The latest WIP introduced a bug. I have a renderscene that I had set up with the wip two weeks earlier. materials rendered without noticeable issues. after the wip update yesterday, I opened the that document again and noticed that the material previews in the materials panel looked way too dark, only metals and shiny things seem to be affected. same effect when rendering (raytraced, optix). then I noticed that the materials render correctly when they are applied by object. just when the material is applied by layer, the bug happens. btw, the objects are in a block definition.

strange that the “dark” look affects the material previews. something is wrong with the reflections, i suspect.

I just tried to repeat the bug with a new file. could not repeat it, though I noticed another bug. on opening a new rh8 file the layers aren’t shown in the layers panel. no layers visible. I can create new ones - those show up. in the object properties, layer dropdown, the layers are visible.

oh and i noticed another bug. in raytraced mode, hiding objects doesn’t actually hide them. need to switch to another display mode, only then hiding works. after saving and reopening the document, all layers show as expected.

another bug:
I’m in raytraced display mode. in the environments panel I right click on another environment and click the first option “set for all…”, rhino crashes. no crash in other display modes.

currently raytraced mode and changing settings regarding the environment/reflection map is pretty buggy.

also:
hiding and showing layers while in raytraced mode also leads to rhino crashing eventually.

Hello- thanks, I’ve also been seeing a fair bit of crashing, I’ll test these specific cases.
So far the Environment case is OK here.
Hiding/showing layers: Boom.

-Pascal

I have since changed all my block definitions to have its materials defined by per object, not per layer to avoid this bug. so I can’t tell if it’s fixed.

most importantly though, the crashes in raytraced mode are fixed in the new beta. now raytraced is usable for me.