Search Issue Tracker
By Design
By Design in 6000.1.X
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.
Resolution Note (6000.1.X):
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.