# Runtime D3D Crash of Ue5-ValleyOfTheAncients

**URL:** <https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545>\
**Category:** World Creation\
**Tags:** unreal-engine, UE5-0\
**Created:** [May 31, 2021, 3:59am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545 "2021-05-31T03:59:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam0oneau](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sam0oneau](https://forums.unrealengine.com/u/Sam0oneau)\
**Post date:** [May 31, 2021, 3:59am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/1 "2021-05-31T03:59:32Z")

</div>

> LoginId:281f57c64bf051fba634db86996c0c24  
> EpicAccountId:87f5c55e491046d6ad08e931bd3e5cb3
> 
> Fatal error: [File:D:/build/++UE5/Sync/Engine/Source/Runtime/D3D12RHI/Private/D3D12Util.cpp] [Line: 648] pResource-\>Map(Subresource, pReadRange, reinterpret\_cast\<void\*\*\>(&pData)) failed at D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12RHIPrivate.h:1286 with error DXGI\_ERROR\_DEVICE\_REMOVED with Reason: DXGI\_ERROR\_DEVICE\_HUNG
> 
> UnrealEditor\_D3D12RHI  
> UnrealEditor\_D3D12RHI  
> UnrealEditor\_D3D12RHI  
> UnrealEditor\_RenderCore  
> UnrealEditor\_RenderCore  
> UnrealEditor  
> UnrealEditor  
> UnrealEditor  
> UnrealEditor\_Core  
> UnrealEditor\_Core  
> UnrealEditor\_Core  
> UnrealEditor\_RenderCore  
> UnrealEditor\_RenderCore  
> UnrealEditor\_Core  
> UnrealEditor\_Core  
> kernel32  
> ntdll

Currently I can run the demo for around 5-20 seconds before I get a direct X crash. It looks great before it crashes. I’m currently on the latest stable Nvidia 470.14 Game Ready drivers.

Specifications are AMD Ryzen 9 3950x, Gigabyte Eagle Nvidia 3060ti and Seagate Baracuda pcie4 Ssd. I don’t get these crashes on any other direct X application. Was hoping there is a known fix for this as it seems others have have the same issue.

---

<div class="post-metadata">

**Author:** ![Marius\_Sheppard](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/marius_sheppard/32/88719_2.png) [@Marius\_Sheppard](https://forums.unrealengine.com/u/Marius_Sheppard)\
**Post date:** [May 31, 2021, 7:11am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/2 "2021-05-31T07:11:09Z")

</div>

Do you, by any chance, have tools like Incredibuild installed in your system? I have experienced D3D Device crashes with past versions of the engine.

---

<div class="post-metadata">

**Author:** ![o\_xkenshin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/o_xkenshin/32/88713_2.png) [@o\_xkenshin](https://forums.unrealengine.com/u/o_xkenshin)\
**Post date:** [June 1, 2021, 4:11am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/3 "2021-06-01T04:11:52Z")

</div>

I have the same issue with my AMD 5950x, ROG 3090 o24g, Nvidia 470.14. I also tried latest driver from Geforce Experience (466.47), but it’s the same. I suspect it’s because My Windows 10 is on Developer Channel, which is not the stable version.

---

<div class="post-metadata">

**Author:** ![SteelWB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/steelwb/32/88716_2.png) [@SteelWB](https://forums.unrealengine.com/u/SteelWB)\
**Post date:** [June 2, 2021, 2:38am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/4 "2021-06-02T02:38:59Z")

</div>

I am also having this issue. I have a Ryzen 9 3900x, RTX 2080ti, and 64GB of ram. I may have Incredibuild installed. I’m on Nvidia driver version 466.47.

---

<div class="post-metadata">

**Author:** ![Sam0oneau](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sam0oneau](https://forums.unrealengine.com/u/Sam0oneau)\
**Post date:** [June 2, 2021, 12:37pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/5 "2021-06-02T12:37:19Z")

</div>

I am about to move to windows insider preview 21390.1 as this is my development machine, it’s likely its due to the insider build I was on, but I haven’t been able to move for about 2 months now due to dev stream being so unstable and work requirements. I’ll update this post later if it seems to be behaving. So I use hardware accelerated gpu scheduling, but I would hope that’s not the issue. I can get the demo to sometimes behave but sometimes it just d3d hangs after pushing the gpu too hard (around 95%).

EDIT: Insider build hasn’t changed the issue. So the crashes coincide with an event “Display driver nvlddmkm stopped responding and has successfully recovered.”, which doesn’t look great ngl. I don’t have these crashes with any other application, so I have no idea what’s causing it, but I presume it’s either driver misbehaving with ue5, or a bug in ue5.

---

<div class="post-metadata">

**Author:** ![Daluz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daluz/32/608973_2.png) [@Daluz](https://forums.unrealengine.com/u/Daluz)\
**Post date:** [June 22, 2021, 6:54am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/6 "2021-06-22T06:54:02Z")

</div>

Same here when trying to render a scene. I7 RTX 2060

---

<div class="post-metadata">

**Author:** ![o\_xkenshin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/o_xkenshin/32/88713_2.png) [@o\_xkenshin](https://forums.unrealengine.com/u/o_xkenshin)\
**Post date:** [June 23, 2021, 4:04am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/7 "2021-06-23T04:04:22Z")

</div>

I have installed Access 2 Hotfix. Although it says the crash issue is fixed, it crashed again on my machine(ROG 3090, Nvidia 470.76 Driver).

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6dab499e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6dab499e](https://forums.unrealengine.com/u/anonymous_user_6dab499e)\
**Post date:** [September 23, 2021, 7:46am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/8 "2021-09-23T07:46:29Z")

</div>

LogInit: OS: Windows 10 (Release 2009) (), CPU: AMD Ryzen 9 3950X 16-Core Processor , GPU: NVIDIA GeForce RTX 2070 SUPER  
LogInit: Compiled (64-bit): Aug 26 2021 11:42:44  
LogInit: Compiled with Visual C++: 19.29.30038.01  
LogInit: Build Configuration: Shipping  
LogInit: Branch Name: ++UE5+Release-5.0-EarlyAccess

me too

---

<div class="post-metadata">

**Author:** ![dyanikoglu](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dyanikoglu/32/1008648_2.png) [@dyanikoglu](https://forums.unrealengine.com/u/dyanikoglu)\
**Post date:** [September 23, 2021, 2:54pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/9 "2021-09-23T14:54:29Z")

</div>

This issue also happens randomly while working with editor too (ue5-main included).

I’ve 3080ti.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4af30d78](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4af30d78](https://forums.unrealengine.com/u/anonymous_user_4af30d78)\
**Post date:** [October 18, 2021, 3:56am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/10 "2021-10-18T03:56:27Z")

</div>

same here. It crashes randomly in the dark world bit (not the first part). I have 3060ti with 16GB RAM on both game ready and studio drivers (latest)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4af30d78](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4af30d78](https://forums.unrealengine.com/u/anonymous_user_4af30d78)\
**Post date:** [October 21, 2021, 2:23pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/11 "2021-10-21T14:23:37Z")

</div>

ok turned out in my case the problem was Windows 11. once downgraded the OS everything started to work as it should.

---

<div class="post-metadata">

**Author:** ![69\_Tensors](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/69_tensors/32/88718_2.png) [@69\_Tensors](https://forums.unrealengine.com/u/69_Tensors)\
**Post date:** [October 26, 2021, 1:59am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/12 "2021-10-26T01:59:45Z")

</div>

I have this issue on Windows 11 only. Viewport is fine, but crashes when playing. Always in one of two spots: when the character stands up, or within about 5 seconds of entering the Dark World.

Windows 10 is fine with the same drivers as below.

5900x  
RTX 3090 (GameReady 496.13 or Studio 472.12)  
64GB RAM

---

<div class="post-metadata">

**Author:** ![Hami3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hami3d](https://forums.unrealengine.com/u/Hami3d)\
**Post date:** [October 27, 2021, 1:55am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/13 "2021-10-27T01:55:05Z")

</div>

exactly the same problem i have in windows 11 with 3070  
any fixes ?  
this is a nvidia driver issue or ue5 ?

---

<div class="post-metadata">

**Author:** ![69\_Tensors](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/69_tensors/32/88718_2.png) [@69\_Tensors](https://forums.unrealengine.com/u/69_Tensors)\
**Post date:** [November 7, 2021, 6:59pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/14 "2021-11-07T18:59:14Z")

</div>

I’ve replicated the error with the Megascans Goddess Temple environment. I’m not even able to get through shader compile without the Device Hung / Removed error. Small projects seem to do just fine (e.g., templates).

It’s not an EA2 problem because I just built the current 5.0.0 from GitHub, and it behaves the same way.

Not sure if this is an Epic, Nvidia or Microsoft problem.

---

<div class="post-metadata">

**Author:** ![Xeiom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xeiom](https://forums.unrealengine.com/u/Xeiom)\
**Post date:** [December 5, 2021, 4:33am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/15 "2021-12-05T04:33:10Z")

</div>

Ran Valley of Ancients completely fine previously but now I get this crash every time I enter the dark world. - Except when I run as standalone, only happens when running as PIE it seems

A few months ago it was working fine for me but not sure what specifically caused the issue.

Recently updated to Windows 11 so I feel like blaming that however I have another machine, lower spec with a 3060, Win 11 that is able to run it without this crash.

The moment it crashes in the Event viewer it says:  
“Display driver nvlddmkm stopped responding and has successfully recovered.”

but it’s not like my screen goes blank or any other apps have any issue, just the UE5 crash from what I can see

---

<div class="post-metadata">

**Author:** ![69\_Tensors](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/69_tensors/32/88718_2.png) [@69\_Tensors](https://forums.unrealengine.com/u/69_Tensors)\
**Post date:** [December 6, 2021, 7:40pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/16 "2021-12-06T19:40:01Z")

</div>

FYI, my issue is the same (Event ID 4101), on Windows 11 only, with a 3090, on all nvidia drivers since W11 release to the current version 479.09, on both the Studio and Game Ready driver branches. Also, it doesn’t have to be Valley of the Ancients. Enabling raytracing in Project Settings seems to make it worse.

PS: I’m also using a source build of the engine current to December 5, so it’s not an EA specific issue.

> [@Xeiom](#):
>
> “Display driver nvlddmkm stopped responding and has successfully recovered.”

---

<div class="post-metadata">

**Author:** ![BlooHook](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bloohook/32/88711_2.png) [@BlooHook](https://forums.unrealengine.com/u/BlooHook)\
**Post date:** [December 10, 2021, 4:53pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/17 "2021-12-10T16:53:14Z")

</div>

Just ran it for the first time since July and can confirm that this is happening to me too. Running an i9-10920X and RTX 3090 FTW3 in Windows 11.

Reinstalled the drivers so highly doubt that’s the cause. It’s happening to me in the dev environment as well as my compiled build.

---

<div class="post-metadata">

**Author:** ![Slothstyle4s1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slothstyle4s1/32/583506_2.png) [@Slothstyle4s1](https://forums.unrealengine.com/u/Slothstyle4s1)\
**Post date:** [April 18, 2022, 11:59am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/19 "2022-04-18T11:59:47Z")

</div>

i have been facing this issue since a week, unable to fix it can someone please help.

(D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp:629  
with error DXGI\_ERROR\_DEVICE\_REMOVED with Reason: DXGI\_ERROR\_DEVICE\_HUNG). I have a 3080TI and a ryzen 7 5800x. I’am working on a project of my own. however the temple scene is also crashing in ue5 with the same error.

---

<div class="post-metadata">

**Author:** ![AssetDK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AssetDK](https://forums.unrealengine.com/u/AssetDK)\
**Post date:** [April 24, 2022, 11:57am UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/20 "2022-04-24T11:57:53Z")

</div>

Got the same error, it seems like a bug in the project(s) or the UE5 engine - since there is a “hardcoded” reference to the D: drive - something that is clearly not on the computer.

I get this error in a level that I added to the CitySample project… and i also got the D3D dump “playing” the small city level.

Also I noticed that I get a “red text” message, that goes something like **“out of skin cash memory needs _something_”** … so perhaps there is some skincash setting that needs to be adjusted?? I am trying to set it to 296 from 148, but it looks like the value is reset when I open a level or the project… changing amount of MB is not working, i set it to 160 (as recommended elsewhere, but the value seems to be fixed on 148.

 ![SkinCache1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/6/8a6d1c44a7001e62d7952ff2e0e728336bd5fba7.png)

( Also it seems the navmesh setting/display (toggle with P dones nothing in any level?) is broken? - it appears that the color displayed for navigation was changed (P) 🙂 - I simply did not see that was happening, I just saw the editor being odd. )

---

<div class="post-metadata">

**Author:** ![miguelhpf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@miguelhpf](https://forums.unrealengine.com/u/miguelhpf)\
**Post date:** [November 27, 2023, 3:37pm UTC](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545/21 "2023-11-27T15:37:51Z")

</div>

Did anyone find any solutions?

[Next page](https://forums.unrealengine.com/t/runtime-d3d-crash-of-ue5-valleyoftheancients/232545.md?page=2)
