Search Issue Tracker
Fixed in 11
Fixed in 10.2.1
Votes
0
Found in [Package]
10.1.0
Issue ID
1290357
Regression
No
[HDRP]Console error and freeze/crash when setting Maximum Shadows to 0
How to reproduce:
1. Create a new project with HDRP template
2. In Project window -> Settings -> click on "HDRP Medium Quality"
3. In Inspector window -> Lighting -> Shadows -> Maximum Shadows
4. Set Maximum Shadows to 0
Expected results: The project is stable and no shadows are shown
Actual results: Console error about zero-length compute buffer, increasing memory usage and after some time, a freeze of computer and crash
Reproducible with: 4.10.0-preview (2018.4.29f1), 7.31 (2019.4.15f1), 8.20 (2020.1.14f1), 9.0.0-preview.71 (2020.1.14f1), 10.1.0 (2020.2.0b11,2021.1.0a6)
Note: If you want to avoid crashing and freezing, quickly after setting Maximum Shadows to 0, set Maximum Shadows back to a value higher than 0
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 11):
Fix available in 2021.1.0b1 and newer