Search Issue Tracker
Fixed
Fixed in 2021.3.42f1, 2022.3.41f1, 6000.0.7f1, 7000.0.0a4
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.2.0b18
2023.3.0a14
6000.0.0b11
Issue ID
UUM-56026
Regression
No
Light.useViewFrustumForShadowCasterCull not working properly for Shadow Cascades
Steps to reproduce:
1. Open the attached project "FrustumShadowCullBug.zip" and open "SampleScene.unity"
2. Go to Frame Debugger and confirm that "Sphere 2" shows up on directional shadow map passes
3. Select "Directional Light" and enable the Frustum Cull property in the ToggleFrustumShadowCull component
4. Go to Frame Debugger and confirm that "Sphere 2" does NOT show up on directional shadow map passes
5. Switch to Shadow Cascades Two or Four then repeat the above process. "Sphere 2" never shows up in directional shadow map passes, when using Shadow Cascades
Expected results: "Sphere 2" shows up in directional shadow map passes, when using Shadow Cascades
Actual results: "Sphere 2" never shows up in directional shadow map passes, when using Shadow Cascades
Reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a14
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Notes:
-Project starts with No Cascades and Light.useViewFrustumForShadowCasterCull=false, applied via ToggleFrustumShadowCull component attached to "Directional Light"
-When using No Cascades, it behaves as expected: "Sphere 2" disappears or appears from directional shadow map, depending on how whether Light.useViewFrustumForShadowCasterCull is enabled or disabled, respectively
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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
Resolution Note (fix version 2022.3.41f1):
UseViewFrustumForShadowCasterCull light setting now works for shadow cascades
Resolution Note (fix version 2021.3.42f1):
UseViewFrustumForShadowCasterCull light setting now works for shadow cascades