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 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
- VisionOS Player and Simulator crashes on "nw_read_request_report [C1] Receive failed with error "No message available on STREAM"" when playing a video through VisionOSVideoComponent
- Shader starts acting unexpectedly when SV_primitiveID is used in a Hull/Domain Shader
- [iOS] "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously when using specific Project Settings and Anti-aliasing is enabled
- Inconsistent help box font size in Project Settings window
- Local package MonoBehaviour scripts appear as missing after updating the project when the project and package paths share the same prefix
Resolution Note:
This issue has been fixed in RenderDoc nightly 2023-09-19 and versions after that.