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
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
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