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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment