Reproduction Steps:
1. Open the attached project “repro-project”
2. Open the "Assets/Crash/Crash.unity" scene
3. In the Hierarchy find and select the "DXR" GameObject
4. Enable the GO in the Inspector window
5. Observe the crash
Reproducible with: 2021.3.41f1, 2022.3.12f1, 2022.3.39f1
Not reproducible with: 2022.3.6f1, 2023.1.0a1, 6000.0.12f1
Could not test with: 2022.3.7f1, 2022.3.11f1 (due to the project failing to open with a “Missing Default Layout” error popup)
Reproduced on: Windows 10
Not reproducible on: No other environment tested
Notes:
1. Reproducible when the DXR Volume has SSR enabled and set to "Ray Tracing" or “Mixed“ tracing options. Not reproducible when using the “Ray Marching“ tracing option
2. Not reproducible with DirectX11
3. Could not find the exact regression point
First few lines of the stack traces:
0x00007FF6EF667D1B (Unity) GfxDeviceD3D12Base::DrawBuffersCommon
0x00007FF6EF666FBE (Unity) GfxDeviceD3D12Base::DrawBufferRanges
0x00007FF6EF667240 (Unity) GfxDeviceD3D12Base::DrawBuffers
0x00007FF6F0CB8A62 (Unity) GfxDeviceWorker::RunCommand
0x00007FF6F0CBB84B (Unity) GfxDeviceWorker::RunExt
0x00007FF7103BA5C2 (Unity) GfxDeviceD3D12Base::SetRayTracingShaderResources
0x00007FF71198186C (Unity) GfxDeviceWorker::RunCommand
0x00007FF71198558B (Unity) GfxDeviceWorker::RunExt
0x00007FF7119856A8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x00007FF710038777 (Unity) Thread::RunThreadWrapper