Search Issue Tracker

Fixed

Fixed in 2022.3.64f1, 6000.0.20f1

Votes

5

Found in

2022.3.42f1

6000.0.15f1

6000.1.0a7

7000.0.0a1

Issue ID

UUM-77757

Regression

Yes

Crash on GfxDeviceD3D12Base::DrawBuffersCommon when opening a project after changing the Graphics API to DirectX12

-

Reproduction steps:
1. Download, extract, and open the attached “repro-project“
2. In the “Enter Safe Mode?“ pop-up select “Ignore“
3. Wait for the project to load
4. Observe the crash

Reproducible with: 2022.3.7f1, 2022.3.42f1, 6000.0.15f1
Not reproducible with: 2021.3.42f1, 2022.3.6f1

Reproduced on: Windows 10
Not reproducible on: No other environment tested

Note: Does not crash in Safe Mode

First few lines of the stack trace:
0x00007FF67D607CFB (Unity) GfxDeviceD3D12Base::DrawBuffersCommon
0x00007FF67D606F9E (Unity) GfxDeviceD3D12Base::DrawBufferRanges
0x00007FF67D607220 (Unity) GfxDeviceD3D12Base::DrawBuffers
0x00007FF67EC596B2 (Unity) GfxDeviceWorker::RunCommand
0x00007FF67EC5C49B (Unity) GfxDeviceWorker::RunExt

  1. Resolution Note (fix version 6000.0.20f1):

    Fixed by adding a check for missing buffers before draw.

  2. Resolution Note (fix version 2022.3.64f1):

    Fixed by displaying more details in the log message and displaying them only once to avoid spam

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.