Search Issue Tracker
Third Party Issue
Under Consideration for 2022.2.X, 2023.1.X, 2023.2.X
Votes
0
Found in
2022.2.17f1
2023.1.0b16
2023.2.0a14
Issue ID
UUM-35236
Regression
No
Shadows are not rendering when using Rendering Layers
Reproduction steps:
1. Open the attached “Test Project” project
2. Open the “Scenes/SampleScene” Scene
3. Observe the Scene View
Expected result: GameObjects “A” and “B” cast shadows
Actual result: GameObjects “A” and “B” do not cast shadows
Reproducible with: 2022.2.0b2, 2022.2.17f1, 2023.1.0b16, 2023.2.0a14
Not reproducible with: 2020.3.48f1, 2021.3.25f1, 2022.2.0b1
Reproducible on: Windows 10
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
This was an issue with the setup, the scene was needing some more configuration due to the ground plane not receiving light from the two point lights due to both Red and Green layers being disabled.
This meant the ground plane wasn't being lit so that it could not receive shadows since it needs to be lit to be able to have shadowing.
The example this was based off in the docs started with the ground plane being lit by all layers, thus was the defining difference between setups.