Search Issue Tracker
Active
Fixed in 2021.3.15f1, 2022.1.23f1
Under Consideration for 2019.3.X, 2020.3.X, 2022.2.X, 2023.1.X, 2023.2.X
Votes
1
Found in
2019.3.9f1
2022.1.23f1
2022.2.0b16
2023.1.0a18
2023.2.0a1
Issue ID
UUM-10113
Regression
No
Editor crashes when Ray Tracing Shaders are not compiled properly
Reproduction steps:
# Open the attached project (“Crash_Shaders.zip“)
# Open Assets/Scenes/DxrSampleScene2
# Enter Play Mode
Expected result: Scene is being played
Actual result: Editor crashes
Reproducible with: 2019.4.40f1, 2020.3.36f1, 2021.3.6f1, 2022.1.10f1
Couldn't test with: 2022.2.0b1 (Unable to dispatch Ray Tracing Shader "RayTracingShader". Unsupported shader type for "ClosestHitMain". This shader type is supported in .shader files only.), 2023.1.0a2(Unable to dispatch Ray Tracing Shader "RayTracingShader". Unsupported shader type for "ClosestHitMain". This shader type is supported in .shader files only.)
First lines of stacktrace:
0x00007FF698C4BAE5 (Unity) GfxDeviceD3D12Base::DrawBuffersCommon
0x00007FF698C4AE6E (Unity) GfxDeviceD3D12Base::DrawBufferRanges
0x00007FF698C4B0F0 (Unity) GfxDeviceD3D12Base::DrawBuffers
0x00007FF69A255752 (Unity) GfxDeviceWorker::RunCommand
Reproducible on: Windows 11
[^Crash_Shaders.zip]
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
- Double clicking script field no longer opens it in the external script editor
- [Android] Build fails with built-in PAD custom asset(s) when using sample Addressable
- [iOS] nw_read_request_report crash
- The serialized field value cannot be changed when trying to set it back to "None"
- The dropdown component breaks when the 31st Layer is used
DanielEaton
Jul 27, 2022 10:38
To turn on a specific option that enables the GPU to report more runtime shader problems, choose Shader Error Reporting. As a result, more crashes that include shaders with ill-defined behaviour could be recorded. essaywritershub.co.uk/