[Regression] Editor layers affect gameplay state

I have attached test project that shows what I mean. Inside it there’s a map, that is perfectly default map for a blank project, except that I have created a layer (not sub-level) into which I have added the ground mesh and directional light. While in editor, everything works as expected. However once you get into the gameplay, all the layers should be visible and I should both see the floor and the light should work - the ground should be lit.

Thing is, when I hit ‘Play’ with the layer hidden, I see the floor (expected result) but it is dark and the light does not work (unexpected result). In previous versions layers were only editor-related, and editor-gameplay was working well - ignoring layers and showing all actors by they’re ‘visible’ and ‘hidden game’ properties, not their layer visibility.

What’s worse, that this behavior persists when you play it as a standalone game. I believe it works well in shipping configuration, but it is a bug nonetheless.

Layers.rar is a version made directly under 4.10, not migrated. 4.9 is bugged in the same way.

Layers_Old.rar is version made for 4.8. The map is the same.

I believe you’ve guys tried to fix the fact that in all the previous version hiding a light through layers only hid it’s billboard - the renderer still took the light into account. It’s a nice feature to actually disable a group of lights through layers, but I’d really like it to not affect gameplay. I believe that is a bug, thus the report.

Hi vipeout -

Thank you for your report. We are currently tracking that issue as UE-20890. I have added your information to the report and will keep you informed as we continue to investigate the issue.

Thank You Again -

Eric Ketchum