Search Issue Tracker

In Progress

In Progress in 2022.3.X



Found in


Issue ID




Crash on GfxDeviceD3D12Base::DrawBuffersCommon while using Direct3D12 as the graphics API and trying to read from _CameraDepthTexture



Reproduction steps:
1. Open the attached "crash_IN-66281" project
2. Observe the crash

Reproduced with: 2022.3.20f1
Not reproduced with: 2023.2.11f1
Couldn’t test with: 2021.3.35f1, 2023.3.0b8 (couldn’t open the project due to compilation errors caused by some Scripts located in the “\Assets\EDRP\Runtime” folder)

Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested


* Couldn’t find the “Fixed in“ version. Earliest not reproducible version after 2022.3.20f1 is 2023.1.0a24. For 2023.1.0a1-2023.1.0a23 it was not possible to resolve the compilation errors appearing while launching the project
* If the crash doesn’t appear while opening, make sure that the “Graphics API” in the “Project Settings…“ is set to “Direct3D12“ and “Direct3D11“ is removed

First few lines of the stack trace:
0x00007FF7E8B5192B (Unity) GfxDeviceD3D12Base::DrawBuffersCommon
0x00007FF7E8B50BCE (Unity) GfxDeviceD3D12Base::DrawBufferRanges
0x00007FF7E8B50E50 (Unity) GfxDeviceD3D12Base::DrawBuffers
0x00007FF7EA18A752 (Unity) GfxDeviceWorker::RunCommand
0x00007FF7EA18D4DB (Unity) GfxDeviceWorker::RunExt

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.