Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.57f1
6000.0.37f1
6000.1.0b5
6000.2.0a3
6000.3.0a1
Issue ID
UUM-98519
Regression
No
"Light" Component's "Culling Mask" setting is hidden but still has an effect when using HDRP
Steps to reproduce:
1. Open the attached “HDRP Bug.zip” project
2. Open the “SampleScene”
3. In Project Settings → Quality, select “Built-in RP”
4. In the Hierarchy Window, open the “Directional light” in the Inspector Window
5. Observe that the “Culling mask” setting is visible and the “Non-Lit” Cube’s shadow is affected
6. In Project Settings → Quality, select “HDRP”
7. In the Hierarchy Window, open the “Directional light” in the Inspector Window
8. Observe the results
Expected result: The “Culling mask” setting is visible or has no effect in HDRP
Actual result: The “Culling mask” setting is not visible and affects shadows in HDRP
Reproducible in: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a3
Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
In HDRP, you can use Light Layers instead of the Culling Mask for controlling which objects a light affects.
When switching from Built-in Render Pipeline to HDRP, the Light Layers option is disabled by default. You can enable it by following these steps:
1. In the Project window, select the HDRP asset and enable Lighting > Light Layers.
2. Select the Directional Light, click the Light > General drop-down menu on the right, and check Show Additional Properties.
3. Select the cube with the Non-Lit layer and set the Rendering Layer Mask to 1: Light Layer 1.