UE 5.11 Directx12 crash on launch

I’ve been following along a tutorial about a third person game and out of nowhere the editor starts crashing after about 10 seconds after launch. The menus are messed up, because they all replicate the main editing window, after clicking anywhere in the editor it turns into a black screen and throws out an error message.

LoginId:38e45e8a4c4da5b94ca5a7b652141ed5
EpicAccountId:e28ac75d2c3c4f5aad89e489192a3337

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000008

nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
D3D12Core
dxgi
dxgi
dxgi
dxgi
dxgi
dxgi
UnrealEditor_D3D12RHI!FD3D12Viewport::PresentChecked() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Viewport.cpp:639]
UnrealEditor_D3D12RHI!FD3D12Viewport::Present() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Viewport.cpp:739]
UnrealEditor_D3D12RHI!FD3D12CommandContextBase::RHIEndDrawingViewport() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Viewport.cpp:939]
UnrealEditor_RHI!FRHICommand<FRHICommandEndDrawingViewport,FRHICommandEndDrawingViewportString2035>::ExecuteAndDestruct() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Public\RHICommandList.h:855]
UnrealEditor_RHI!FRHICommandListBase::Execute() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:438]
UnrealEditor_RHI!<lambda_d9c5c35f8ce97cb91cdbe1d4918d55a5>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:744]
UnrealEditor_RHI!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1348]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:760]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]
UnrealEditor_RenderCore!FRHIThread::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:332]
UnrealEditor_Core!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]

I did some research and, as far as I understand, it’s memory problem with directx that can happen after windows or video driver updates and so far I do not know what is the fix for the problem. I tried rolling back nvidia drivers, switching to UE 5.3, starting new projects etc. So far I’m and my wits end.

Does your GPU supports directx 12?

1 Like

2060 of course it supports dx12

Did you allow UE5 to pass through the security access? Any anti-malware, anti-virus, and windows defender are not really friendly with UE5 by default.

1 Like

Yeah, the project has been fine until two weeks ago. When nvidia drivers and windows updated.

This is something that I’m afraid that occur on your end. I’ve tried mine and it seems to work fine by default. You said the driver update might cause the problem right? Does rollback the driver version to the previous version fixes the problem?

1 Like

Roll back doesn’t help, so far the only solution I found that works is to set my project to dx 11.

Yep, seems like the 2060 GPU specifically is not really stable with DX12. I guess you just keep using DX11 until you have a better GPU upgrade. This issue has been addressed by the community.

That’s a surprise for me to hear such news. I believe they first introduced DX12 back to gtx 500 series but they are not as stable with the later version.

https://www.reddit.com/r/HellLetLoose/comments/v2dp9k/does_dx12_work_properly_on_rtx_2060/

1 Like