UE5 Constant GPU Crash

This error recently started to happen, where it did not before. Shortly after my GPU drivers updated - or so I think.

Every time I start or open any project, my UE5 crashes and I receive this message.


GPU Crashed or D3D Device Removed

Use -d3ddebug to enable the D3D debug device. Check log for GPU state information


Oddly enough, going into the DefaultEngine.ini and changing:

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12

To

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX11

Seems to solve the problem.

That being said, I don’t want my projects to run on DX11, but DX12.

Furthermore, other features like the Nanite Visualization Prospective does not work in DX11.

The whole engine is just a mess for me at the moment, and I’m at a loss of what to do.

Specs:
Windows 10 Pro 64-Bit
i5-12600K (16 CPUs) ~3.7Gghz
RTX 3060 Ti 8GB Memory
32GB Ram

Hoping for any guidance!

Cristian


GPU Crashed or D3D Device Removed

Use -d3ddebug to enable the D3D debug device. Check log for GPU state information


Crash Report:

LoginId:e353863242030ac2f6896f8b4bd23683
EpicAccountId:252d33479185467ea29ef7fc5308638b

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Util.cpp] [Line: 859] Parent->GetD3DDevice()->CreateFence(InitialValue, D3D12_FENCE_FLAG_NONE, IID_PPV_ARGS(Fence.GetInitReference())) failed at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DirectCommandListManager.cpp:89 with error DXGI_ERROR_DEVICE_REMOVED

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_SlateRHIRenderer
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
InkObj
atlthunk
user32
user32
user32
user32
user32
user32
user32
user32
UnrealEditor_Core
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_SlateRHIRenderer
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
InkObj
atlthunk
user32
user32
user32
user32
user32
user32
user32
user32
UnrealEditor_Core
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_SlateRHIRenderer
UnrealEditor_SlateCore
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
InkObj
atlthunk
user32
user32
user32
user32
user32
user32
user32
user32
UnrealEditor_Core
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_SlateRHIRenderer
UnrealEditor_SlateRHIRenderer
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Hey there @c.kawa! Welcome to the community! So this is a bug we’re seeing in that some people with 3000 series Nvidia GPUs, and there’s a couple workarounds people have been using, there’s a ton of them in this forum post.

The big post: UE5 gpu crashed or d3d device removed - #3 by TarlRaney

I found mine stopped doing this once i upgraded drivers and the unreal engine to 5.0.3

This can be casued by 4 reasons.
1: buggy drivers
2: buggy memory
3: not available extra power / battery damage
4: corrupted windows or corrupted engine files

Thanks all! Turns out it was my RivaTuner Statistics Application running in the background! Closing that solved my issues!

2 Likes

i really dont know how the riva tuner is a problem here but thats the solution. thank you so much i was searching after sulotions for “hours”. Thanks a Lot.

1 Like

Many Thanks!!! Was the solution for me too.

Greetings @FranM1205

Welcome to the Unreal Engine Community Forum! I’m glad to see you were able to resolve your issue!

THANK YOU!!

Rivera was giving me 20fps on rtx3080ti/Intel 7 13700k. Turned it off and boom 120fps. Engine is running perfectly now.

MSI Afterburner/Riva Tuner was the problem here too!