Search Issue Tracker

Fixed in 5.2.0

Votes

0

Found in [Package]

2.0.6

Issue ID

1135144

Regression

Yes

Directional Light illuminates GameObject when Directional Lights Culling Mask is not the same as GameObjects Layer

Package: Scriptable Render Pipeline Lightweight

-

Steps to reproduce:
1. Open "Case_1135144"
2. Navigate to Project -> Assets -> Scenes and open SampleScene
3. In the Hierarchy window select GameObject "Cube"
4. In the Inspector window change Layer value to "Culling Mask"
5. In the Hierarchy window select "Directional Light"
6. In the Inspector Window change the "Culling Mask" value to any value except "Culling Mask" and "Everything"
7. Notice that GameObject "Cube" is illuminated

Expected results: Directional Light does not interact with a GameObject when Directional Lights Culling mask is not the same as GameObjects Layer
Actual results: Directional Light illuminates a GameObject which has a different Layer compared to Directional lights Culling Masks

Reproducible with: 2018.3.9f1, 2019.1.0b7, 2019.2.0a8

Notes: Fixed in Package Version 5.2.0. Package versions lower than 2.0.6 are loading with errors. Fixed package versions import with no errors only in Unity Version 2019.1.0b7 and higher

Add comment

Log in to post comment

All about bugs

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