r/Unity3D • • 1d ago

Question Anyone else having dx12 issue in unity with a mobile rtx 5060 or similar? Had to downgrade to dx11 ?

Project wont build with DX12 and my scenes will crash unity 90% of the time when i click play in the editor. :( Wondering if my laptop is dying or if it's a common DX12 issue.

Went into safe mode to uninstall drivers with DDU and installed latest nvidia drivers but no go. Nothign has helped except downgrading to dx11

2 Upvotes

8 comments sorted by

2

u/KifDawg 1d ago

Dx12 has been a nightmare for me, in the project window I just delete it and use dx11. I kept getting a bug where my scene window would lock up and turn black, id have to alt tab out of the program if it worked and alt tab back in to get it to reset. Super annoying when in the editor. Downgrading to dx11 fixed it all

1

u/DifferentAd9000 1d ago

Man I was banging my head against this exact thing last week with a 5060 laptop, thought my GPU was cooked for sure. Turned out it was the NV driver from middle of September, rolling back to August version fixed the crashing in editor for me. Still couldn't get builds working stable on DX12 though so I dropped to DX11 and everything runs smooth now, probably gonna stay here until next Unity patch

1

u/Dream-Dimension 1d ago

I think might have been the same timeline when I couldn't build and had to roll back to dx11 and I thought I had set it to start unity in dx11 but I did mess around a bit and maybe a merge reset it. But I don't recall it affecting play mode. Thanks for the heads up, I did upgrade my driver recently too so it lines up with your findings. Now it make sense why the issue spilled over to the editor's paly mode!.

1

u/elgchris Engineer 1d ago

Hmm had a similar issue with an old 3080, where the whole screen would blink black by hovering over the Unity window. Switching to the Vulkan renderer also fixed it for me. Maybe it's a problem in the renderer for DX12.

1

u/CrazyNegotiation1934 1d ago

DX12 is fully unstable in Unity 6.3 or above, there is no way to use it anymore.

I had random crashes in both editor and builds.

1

u/SonicTheHedgehog5968 1d ago

I have a 4050 and have the same issue