Search Issue Tracker

Active

Under Consideration for 6000.1.X, 6000.2.X, 6000.3.X

Votes

21

Found in

6000.1.1f1

Issue ID

UUM-104826

Regression

No

Crash on GfxDeviceD3D12Base::DrawBuffersCommon when performing various Unity operations

-

A recurring crash issue in the Unity Editor has been observed, affecting various workflows. These crashes have been reported to happen when:
1. Creating a new Unity project
2. Opening an existing Unity project
3. Entering Play Mode
4. Using Package Manager
5. Working with Materials or Textures
6. Using the Inspector window
7. Baking lights
8. Compiling scripts
9. Idling in the Editor for a longer period
10. Browsing assets via the Project window

Reliable *repro case* is attached in a related bug: [https://jira.unity3d.com/browse/UUM-108405]. Because the list above doesn't provide explicit repro steps, please use the repro case in that project.

Reproducible with versions: 6000.1.0f1 - 6000.1.9f1, 6000.2.0b1 - 6000.2.0b8

Reproducible on: Windows 11 (reporter), Windows 10 (other reporters)

Notes:
* Not reproduced by CQA
* Forcing Unity Editor to launch with the -force-d3d11 command line argument fixes the crash

First few lines of the stack trace:
{noformat}
0x00007FFE0EF674BF (Unity) GfxDeviceD3D12Base::DrawBuffersCommon
0x00007FFE0EF66FCC (Unity) GfxDeviceD3D12Base::DrawBufferRanges
0x00007FFE0EF672A9 (Unity) GfxDeviceD3D12Base::DrawBuffers
0x00007FFE106FAF3D (Unity) GfxDeviceWorker::RunCommand
0x00007FFE106FE6BC (Unity) GfxDeviceWorker::RunExt{noformat}

Comments (20)

  1. nitewolf0911

    Aug 28, 2025 18:54

    Thanks for the comment on changing NVIDIA drivers from game to studio type. Unity editor did not crash anymore after the change.

  2. donaldmarksanders01

    Aug 28, 2025 15:46

    For your monitors make sure that you are using your NVIDIA graphic card and not the default graphics. If you have two monitors make sure that they are both using the same resolution and scale. Settings -> System -> Display -> Advanced display

  3. donaldmarksanders01

    Aug 28, 2025 15:37

    I had to change my settings: For Windows 11 Settings -> System -> Display -> Graphics -> Add Desktop app -> Unity Editor -> GPU preference: NVIDIA -> Reboot

    This worked for me. Now it all works perfectly.

  4. IndieMarkus

    Aug 25, 2025 19:07

    I am using DX12 and solved the issue by switching to the latest NVIDIA Studio drivers instead of game ready drivers. Switching to DX11 did not change anything for me.

  5. glammy

    Aug 19, 2025 07:52

    I fixed the issue by installing the newest nvidia drivers and selecting studio driver instead of gaming.

  6. Snigros

    Aug 08, 2025 03:09

    Editor is still crashing randomly - problem appears to be in every version from 6000.1.1f1 to 6000.1.15f1. With each release I keep hoping that this issue (and all the other DX12 issues in recent release notes) will be fixed... Using DX11 as a fallback is not really an option for my projects....

    While I appreciate these DX12 issues may be complex to resolve, it would be helpful to get some indication from Unity on what progress is being made and when we might expect a fix...

  7. mario-antunez-sapristi

    Jul 24, 2025 09:57

    Continues whith crashes constantly (6000.1.12f1).

  8. AceOfRubies

    Jul 17, 2025 14:21

    Browsing assets via the Project window seems to be primary issue for me. I'm using the latest Nvidia drivers, I've changed DirectX version to 11 in the settings, I've used the command line, and none of these have worked. Every time I try to browse assets, it crashes constantly.

  9. Chemnitzer

    Jul 10, 2025 21:34

    I have the same issue (already sent several bug reports). Since someone mentioned that the GPU driver could be the reason: I had the crashes with an one year old nvidia driver, then the same crashes with the latest one. So it doesn't matter. My system: Win 11 24H2, Intel i5-8600k, GTX 1070 Ti (but I guess, this is known by the log files 😄).

    But the command line argument workaround works well for me. Thank you.

    If someone else is wondering how to add command line arguments:
    1. Open Unity Hub.
    2. Click on the 3-dot-button right next of your desired project.
    3. Select "Add command line arguments"
    4. Paste them ( -force-d3d11 ) in and Save.
    5. Then when opened your project, check in the title bar that it is saying "<DX11>" at the end.

  10. AniAko

    Jul 09, 2025 12:38

    Still having this issue. It's almost completely random. Sometimes at certain points in my project it fails, sometimes it trucks on. But when it crashes, it CRASHES the Unity editor with no recourse to continue. Not even the bug-report shows up. It's insane that I have had to launch Unity at least 2 dozen times a day wasting countless hours for a problem that hasn't been fixed in the last 5 versions.

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.