Search Issue Tracker
Fixed
Fixed in 2021.3.33f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b16, 2023.3.0a8
Votes
0
Found in
2021.3.10f1
2022.2.2f1
2023.1.0b2
2023.2.0b10
2023.3.0a7
Issue ID
UUM-26410
Regression
No
Shadowmask Mode property affects shadow rendering when using Baked Indirect
Steps to reproduce:
- Download and open attached project ([^HDRP-Bug-MissingRealtimeShadows.zip])
- Open OutdoorsScene
- Select Sun GameObject
- Under Shadows header, set its Shadowmask Mode to Shadowmask
- Open Lighting window (Window > Rendering > Lighting)
- Set Lighting Mode to Baked Indirect
- Click on Generate Lighting
Expected result:
- Sphere still casts a realtime shadow on the plane, regardless of the Shadowmask Mode chosen when using Baked Indirect
Actual result:
- Sphere no longer casts a realtime shadow after baking lighting (see attached screenshots)
Notes:
- Reproduces in 2021.3.10f1, 2022.2.2f1, 2023.1.0b2
- Reproduces with all mixed light types
- Mixed light behavior in Baked Indirect should be identical to that when Shadowmask Mode is set to Distance Shadowmask
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 (fix version 2023.3.0a8):
Fix verified in 2023.3.0a8