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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (fix version 12.0.0):
Fixed in: 12.0.0 (2021.2.0a4 and above)