Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1308464
Regression
No
[HDRP] Shadow cascades are moving with the Main Camera when some cascades are skipped with RequestSubShadowMapRendering method
How to reproduce:
1. Open the user's attached "hdrp_ondemandcascade 2.zip" project
2. Open the "TestScene" Scene
3. Select the "Main Camera" GameObject in the Hierarchy window
4. Set the "Skip Cascade Index" to 0 or 1 in the Inspector window
5. Move the "Main Camera" GameObject in the Scene view on the Z-axis
6. Observe the shadows in the "Camera Preview" window in the Scene view
Expected result: Shadow cascades that were skipped are staying in a static position
Actual result: Shadow cascades that were skipped are moving with the Main Camera
Reproducible with: 10.2.2 (2020.2.3f1), 11.0.0 (2021.1.0b4, 2021.2.0a3)
Could not test with: 7.5.2 (2019.4.19f1) - HDAdditionalLightData' does not contain a definition for 'RequestSubShadowMapRendering'
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 12.0.0):
Fixed in: 12.0.0 (2021.2.0a4 and above)