Search Issue Tracker
Fixed in 6000.0.35f1
Fixed in 6000.0.X, 6000.1.X, 7000.0.0a16, future release
Votes
1
Found in
6000.0.28f1
6000.1.0a5
Issue ID
UUM-87651
Regression
No
Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Scenes/SampleScene” Scene
3. Select the “Directional Light” GameObject in Hierarchy window
4. Make sure the “Rendering Layer” and “Culling Mask” options are set to “Default” in the Inspector window
5. Select the “Cube” GameObject in Hierarchy window
6. Make sure the Layer is set to “TransparentFX” in the Inspector window
7. Select the “Settings/PC_RPAsset” Asset
8. Change the “GPU Resident Drawer” value to “Disabled”
9. Observe Scene and Game Views
Expected result: A shadow is cast from “Cube” GameObject to the “Plane” GameObject
Actual result: No shadow is cast from “Cube” GameObject to the “Plane” GameObject
Reproducible with: 6000.0.28f1, 6000.1.0a5
Couldn’t test with: 2021.3.45f1, 2022.3.53f1 - No support for GPU Resident Drawer
Reproducible on: Windows 10, Windows 11 (user)
Not reproducible on: No other environments tested
Notes:
- Shadows will be displayed when GPU Resident Drawer is enabled
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
- 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
Resolution Note (fix version future release):
Fixed issue with URP lights where the Culling Mask property was ignored for shadow casters when using the GPU Resident Drawer.
Resolution Note (fix version 6000.0):
Fixed issue with URP lights where the Culling Mask property was ignored for shadow casters when using the GPU Resident Drawer.