Search Issue Tracker
By Design
Votes
0
Found in
6000.0.28f1
6000.1.0a5
Issue ID
UUM-87943
Regression
No
CullingResults.GetShadowCasterBounds Results Remain Unchanged Despite Restricting Affected Objects with Rendering Layers
Reproduction steps:
1. Open the attached “LightRenderingLayerMaskBug.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Observe the bounds of “Default Light“ and “LightLayer1 Light“ in the Console
Expected result: “Default Light” bounds are “Center: (0.00, 0.41, 0.00), Extents: (5.00, 0.50, 5.00)“, “LightLayer1 Light“ bounds are “Center: (-3.00, 1.00, 0.00), Extents: (0.50, 1.00, 0.50)”
Actual result: Both light bounds are “Center: (0.00, 0.96, 0.00), Extents: (5.00, 1.05, 5.00)“
Reproducible with: 6000.0.28f1, 6000.1.0a5
Couldn’t test with: 2021.3.45f1, 2022.3.52f1 (Missing features with older Core RP versions)
Reproducible on: M1 Max MacOS 14.6.1
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
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
Resolution Note:
RenderingLayers are used to filter out objects from culling results. As such, they are not applied to CullingResult objects, but later on when creating RendererLists with one of ScriptableRenderContext.CreateRendererList, ScriptableRenderContext.CreateShadowRendererList or ScriptableRenderContext.CreateSkyboxRendererList methods.