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
- HDRP Sorting Priority not working when Render Pass is locked on a parent material
- [XR] Camera view rendered by the RenderTexture is not updated at runtime when XR is enabled
- Lens Flare occlusion is slightly delayed when Anti-aliasing is set to TAA
- [Windows] Error ArgumentException: Illegal characters in path logged when creating a VFX Graph
- [VFX Graph] Flipbook Size upgrade issue
Resolution Note:
This issue has been fixed in RenderDoc nightly 2023-09-19 and versions after that.