Search Issue Tracker
Fixed
Fixed in 2021.3.11f1, 2022.2.0b9, 2023.1.0a5
Votes
3
Found in
2023.1.0a1
Issue ID
UUM-2392
Regression
No
[URP] Greyed out Culling Mask option still takes effect when Light Layers are enabled
Reproduction steps:
1. Open the attached project
2. Open the "SampleScene.unity" Scene located in "/Assets/Scenes/" in the Project window
3. Observe the Lighting on the "Cube (Light Affected)" GameObject in the Scene View
4. Select the URP-HighFidelity.asset located in "/Assets/Settings/" in the Project window
5. Enable the "Light Layers" option under Lighting in the Inspector window
6. Observe the Lighting on the "Cube (Light Affected)" GameObject in the Scene View
7. Select and change the "Cube (Light Affected)" GameObject's Layer to "Custom Layer 2"
8. Observe the Lighting on the "Cube (Light Affected)" GameObject in the Scene View
Expected result: the Culling Mask option shouldn't take effect
Actual result: the Culling Mask option still works
Reproducible with: 2021.3.2f, 2022.1.0f1, 2022.2.0a14
Could not test with: 2019.4.39f1, 2020.3.34f1 (Light Layers are not present in URP)
Note: if the Light Layers are enabled, the Culling Mask option is greyed out, but it still takes effect. Even when the GameObject has the correct Light Layer selected it still requires it to have the Layer value selected to the greyed out Culling Mask Layer for the Lighting to take effect
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ":focus" style will not be shown when the UI element is unparented and reparented and the "Focus()" method is called without the "Blur()" method being called
- Crash on BucketAllocator::Allocate when importing TextMeshPro assets
- Playmode dropdown creates continuous "Layout update is struggling" errors at certain aspect ratios
- Editor takes a long time to open VFX Graph 'Subgraph' asset when it is heavily referenced by multiple other VFX Graphs
- "Editor Event Handler Error" error is thrown when using Terrain Tool shortcuts
Resolution Note (fix version 2023.1.0a5):
Inspector and documentation now reflect intended behavior.
Fixed in 2023.1.0a5
Resolution Note (fix version 2022.2.0b9):
Fixed cull mask setting and documentation for rendering layers
Resolution Note (fix version 2021.3.11f1):
Fixed cull mask setting and documentation when light layers are tuned on.