Search Issue Tracker

Fixed in Unity 2018.2

Votes

0

Found in

2017.3.0f3

Issue ID

991595

Regression

No

LayerMask variables add newly added Layers to the selected Layers

Scripting

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 4Minor or cosmetic issue

How to reproduce:
1. Open given "LayerMaskRepro" Unity project
2. Enter "TestScene" scene
3. Select "GameObject" from the Hierarchy
4. Set that LayerMask in the Inspector drop-down menu to Everything
5. Unselect some layers from the Inspector drop-down menu (at least 1 should be left)
6. Add new Layer

Expected result: The new layer shouldn't be selected
Actual result: The new layer is selected in the Inspector

Reproducible with: 2018.1.0b4, 2017.3.0p3, 2017.2.1p2, 2017.1.3f1, 5.6.5p1, 5.5.6f1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.