r/Unity3D • u/KPCDigital • 9d ago
Question Should I lock my Steam release to DirectX 11 after hitting critical Vulkan crashes on startup/intro?
Hey everyone, I have a live game on Steam made in Unity 6 (URP) and I just caught a pretty nasty crash on Vulkan. On the very first launch, it actually made it to the main menu, but the moment I clicked a button, the game crashed. After that, every subsequent launch started freezing and crashing right during the intro sequence. I'm worried this is causing refunds on Steam.
When I checked the Player.log on my test laptop I saw Vulkan disables hardware-accelerated Media Foundation video decoding, and subsequent runs hang right around the intro video. Forcing DirectX fixes it completely.
For those of you with shipped games on Steam, did you lock your Windows builds to DX11, keep DX12 as well, or drop Vulkan altogether? Trying to figure out if going DX11-only is the safest move right now to stop avoidable
Tested system: 13th gen i7, RTX 5060 Laptop GPUUnity Version: 6000.6.8f1
9
u/pigeon_dp 9d ago
Putting Direct3D11 at the top of the Graphics APIs list in Player Settings should be enough.
Unity uses the first API in the list that works, so Vulkan would only run if DX11 fails or someone launches with -force-vulkan.
4
u/Genebrisss 9d ago
Definitely use DX11 as default. Unity is way too shitty company to put any effor in supporting best API - Vulkan. It has other critical bugs as well and they don't bother fixing it. Instead they decided to force microslop's DX12 which is still 10-20% slower than DX11, more than a decade after it was introduced.
2
u/CrazyNegotiation1934 9d ago
Yes, most definitly. DX12 is much worse than both DX11 and Vulkan aldo.
1
u/iku_19 Engine / Tech Artist 9d ago
If you can't figure out why vulkan is crashing by the 11th hour then yes, otherwise no. Don't drop vulkan if you can still try to figure out why it's broken, but it is not unlikely that it's just unity that has a shit vulkan implementation.
It took unreal seven years to fix a double free and a fence deadlock with vulkan ray tracing, there's several vulkan issues in unity that still aren't fixed half a decade after being reported- their solution was to just restrict those features by dropping Windows and only letting that path run on Linux and Android builds.
-1
u/maybe_walkinfridgecr 9d ago
DX11 lock is the boring safe play that stops the bleeding, I'd do it today while you dig into what's actually wrong with the Vulkan path. Pushing a hotfix that just strips Vulkan from the build config takes like ten minutes and you stop burning goodwill with every crash during the intro
Might be worth keeping an eye on whether the Media Foundation fallback is the real culprit and not Vulkan itself, sometimes it's just the video decode pipeline losing its mind when hardware acceleration drops