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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 11):
Fix available in 2021.1.0b1 and newer