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
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
Resolution Note (fix version 12.0.0):
Fixed in: 12.0.0 (2021.2.0a4 and above)