# \[Regression\] Editor layers affect gameplay state

**URL:** <https://forums.unrealengine.com/t/regression-editor-layers-affect-gameplay-state/344574>\
**Category:** Rendering\
**Tags:** unreal-engine, bug-report, editor, Lighting, question\
**Created:** [January 19, 2016, 2:12pm UTC](https://forums.unrealengine.com/t/regression-editor-layers-affect-gameplay-state/344574 "2016-01-19T14:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vipeout](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vipeout](https://forums.unrealengine.com/u/vipeout)\
**Post date:** [January 19, 2016, 2:12pm UTC](https://forums.unrealengine.com/t/regression-editor-layers-affect-gameplay-state/344574/1 "2016-01-19T14:12:05Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [January 19, 2016, 6:19pm UTC](https://forums.unrealengine.com/t/regression-editor-layers-affect-gameplay-state/344574/2 "2016-01-19T18:19:43Z")

</div>

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
