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
- [iOS] Postprocessing errors appear when using RenderGraph and NativeRenderPass
- Can't add a Scene to a Baking Set when it has just been deleted from the Set
- [iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
- [Android] Player crashes at launch with error when built with custom Editor build
- Bloom effect is different from a standalone platform when a Scene uses HDRI lighting and the effect is used in WebGL
Resolution Note (fix version 2023.3.0a8):
Fix verified in 2023.3.0a8