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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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