UE5 crashes on windows 11

Fatal error: with error DXGI_ERROR_DEVIC

I have seen this error over dozen times.
I heard that the reason of this crash is windows 11 or gpu(I’m using 3080ti).

Here are my two questions.

  1. Am I really need to downgrade my OS? and need to underclock my gpu?(I didn’t overclocked, turned off MSAA, and installed latest driver)
  2. Who is the villian on this mass? Epic? Nvidia? MS?

Surprisingly, this major problem doesn’t fixed over a year. I guess only few people going through this problem. ha.

6 Likes

Hi, I’ve seen other people with this problem. I think you need to switch to directX11. For whatever reason it makes a lot of UE5 users on windows 11 crash.

I have similar problems, I have Windows 10 21H2

DirectX 12 related. In CONFIG folder, DefaultEngine.ini
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12
change it to
DefaultGraphicsRHI=DefaultGraphicsRHI_DX11

5 Likes

I think DX12 is unstable with Unreal Engine at this stage.And some UE4 users have reported this issue at least about a year ago.Graphics cards with much good performance are even reported to be crashed more frequently.Others like mine soon reach the upper limit of video memory.
At present, the most practical way is to change RHI setting back to DX11.It’s more stable and manageable.

Same error on laptop with 3060, the error occurs on shaders compilation. Any suggestion how to debug that? Maybe there’s a way to figure what shader exactly causes the crash?

What I’ve tried and it didn’t work:

  • updated visual c++
  • updated direct x
  • set priority to discrete videocard in nvidia settings
  • disabled fog and directional light
  • reinstalled nvidia driver
  • set nvidia power supply settings to max perfomance
  • updated all drivers on notebook
  • installed nvidia studio driver instead of game ready

Switching to DX11 is not a viable solution for me since I want to use raytracing.

Update: I’ve spent an entire day trying different solution and what helped me (this part is a little weird) is to keep the windows task manager at all time when running unreal engine. I’ve noticed that when I was using task manager trying to find the spike in VRAM or whatever before crash it never crashed. So I guess I’m going to keep it turned on from now on to guard me from crashes.

2 Likes

Hey there, when you say you installed all drivers on notebook or your PC right? I had the same laptop 3060, I think I finally had to go to Windows Support Assist and there were a bunch of outdated files there, I updated everything and now it works.

I meant laptop. What is Windows Support Assist, is it some specific app for some laptop manufacturer?
PS I have Acer Nitro 5 btw

So on your SEARCH bar, type “support assist” this is for DELL computers though. But you should have something similar. I would just make sure your ACER computer is up to date. Oh do you have “GE Force” or something similar for your driver as well? what I did was MANUALLY went to the GE FORCE site and update my driver MANUALLY there and it now works. thanks

This should help - https://thegeekpage.com/dxgi-error-device-removed/

@Tamarar357 @artofcharly
Thanks for the suggestions, I’ve tried it. - didn’t worked.
Weirdly enough keeping task manager in background helps me when this issue occurs.

I had similar problems and my fix (without downgrading anything) was to download and update directx from microsofts site. Then I made sure Epic game launcher was opened as administrator, uninstalled and then reinstalled unreal editor. After that everything worked.

But if I switch to DirectX11 I couldn’t use RTX or Nanite, right? is there any other solutions?

This is actually how it works for me. Just start task manager and don’t stop it. I noticed this after every time I had a lag and started the task manager, I saw “system” consuming 100% cpu and it immediately got killed. As long as I had task manager on, “system” didn’t use that much CPU.

1 Like

Weclome to my little task manager cult :joy:

Also be sure to do this - https://substance3d.adobe.com/documentation/spdoc/gpu-drivers-crash-with-long-computations-tdr-crash-128745489.html

All that helped me and no more crashes.

  1. First I uninstalled the video driver with Display Driver Uninstaller - it is a special utility that cleans everything in safe mode.

  2. Then I installed the latest NVIDIA Studio Drivers

  3. Then I made changes to the registry (I gave you the link in this post) UE5 crashes on windows 11 - #16 by artofcharly above)

  4. Keep in mind that before that I did everything that is described here. UE5 crashes on windows 11 - #10 by artofcharly

  5. And finally watched this video, repeated all the steps. - UE5 GPU Crashed or D3D Device Removed Fix - YouTube

  6. I checked my project, which was crashing, and everything is okay.

how can i downgrade directx to 11

This may sound crazy,but I have the same problem and this worked for me. If you have monitor resolution 1980x1080 try to connect to another monitor with different resolution. :slight_smile:

I have been reading these posts for some time now, and it amazes me, how “Tolerant we are , regarding all UNREAL 5’s nuisance problems” . FIX, this, fix that, cross your fingers, mess with DX ? THAT was never an issue with 4.27 . Sure, it got crabby, If I pushed it too far, but as a whole, it worked. And, I got my projects done. NOW, it’s back to guess work, and messing with setting, and hoping something doesn’t break, or crash, in the process.? LEAVE the task manager up? We are being too polite.

And WIN 11, is still too young , and too crabby still. Yet, Microsoft doesn’t give us a choice? WIN 10. It not an operating system. IT’S running service, that is basically mal/ spy ware. But, if want to run Version 5.2, we don’t have the choice? What happens to support , when WIN 10 and 11 , get killed off by WIN 12? Will UNREAL 5, still run? AND DX12?