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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 12.0.0):
Fixed in: 12.0.0 (2021.2.0a4 and above)