Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.30f1
2022.3.9f1
2023.1.13f1
2023.2.0b9
2023.3.0a5
Issue ID
UUM-48609
Regression
No
Graphics API raster states exhausted when adjusting light slope bias or shadow distance in HDRP with High (PCSS) Shadows
Reproduction steps:
1. Install [RendecDoc|https://renderdoc.org/builds] to your device
2. Open the attached “repro-project” with the "-load-renderdoc" command line argument
3. Open the “Assets/Scene.unity“ scene
4. Enter Play Mode and wait
5. Observe the Console
Expected result: The Editor should function without logging any errors or assertions related to graphics API raster states
Actual result: The Console is spammed with “Assertion failed on expression: 'd3dstate'“ and “Assertion failed on expression: 'SUCCEEDED(hr)'“ errors
Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
Reproduced on: Windows 10 Pro
Not reproducible on: No other environment tested
Notes:
1. Issue arises due to the exhaustion of graphics API raster states when many adjustments are made to light slope bias or shadow distance, especially in PCSS shadows (D3D11 specifically has a limitation of approximately 4000 total raster states)
2. Reproducible when using RenderDoc on Windows. Without RenderDoc, errors might be GPU and driver-dependent
3. Not reproducible with DirectX12 Graphics API
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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
Resolution Note:
This issue has been fixed in RenderDoc nightly 2023-09-19 and versions after that.