# UE5 crash when opening editor: "Shader compilation failures are Fatal."

**URL:** <https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [February 27, 2023, 12:15am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206 "2023-02-27T00:15:59Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![personthebob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@personthebob](https://forums.unrealengine.com/u/personthebob)\
**Post date:** [February 27, 2023, 12:15am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/1 "2023-02-27T00:15:59Z")

</div>

The editor was working fine for a while until this started happening. It always happens right after all the loading is done and the editor opens, freezes for like 10 seconds, and crashes. Full error:

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp] [Line: 238] Shader compilation failures are Fatal.

UnrealEditor\_RHI

UnrealEditor\_RHI

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

UnrealEditor\_Core

kernel32

ntdll

This is the code I’m getting every time I try to start up UE5.1.1. Please if someone could help and point me in the right direction as to how to fix this I would be very appreciative. I have already tried uninstalling and reinstalling multiple times. I have uninstalled and reinstalled and updated all my graphics and chipset drivers etc. for my Windows 10 computer. Please and thank you for your time 🙂

---

<div class="post-metadata">

**Author:** ![DRABOT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/drabot/32/474438_2.png) [@DRABOT](https://forums.unrealengine.com/u/DRABOT)\
**Post date:** [February 28, 2023, 6:36am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/2 "2023-02-28T06:36:03Z")

</div>

Same for me 🤔

---

<div class="post-metadata">

**Author:** ![mekatzer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mekatzer](https://forums.unrealengine.com/u/mekatzer)\
**Post date:** [March 8, 2023, 9:27am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/3 "2023-03-08T09:27:21Z")

</div>

Solved by editing Config/DefaultEngine.ini, Line 25:

DefaultGraphicsRHI=DefaultGraphicsRHI\_DX12 → DefaultGraphicsRHI=DefaultGraphicsRHI\_DX11

---

<div class="post-metadata">

**Author:** ![mekatzer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mekatzer](https://forums.unrealengine.com/u/mekatzer)\
**Post date:** [March 8, 2023, 9:27am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/4 "2023-03-08T09:27:27Z")

</div>

+1, was working fine earlier today.

Have tried deleting deriveddatacache and intermediate, switched from game ready → studio drivers, several restarts, no dice

---

<div class="post-metadata">

**Author:** ![K9Cubed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k9cubed/32/915896_2.png) [@K9Cubed](https://forums.unrealengine.com/u/K9Cubed)\
**Post date:** [April 17, 2023, 11:21pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/6 "2023-04-17T23:21:01Z")

</div>

Sadly this is not a solution for anyone using Lumen and nanite as the are only supported by dx12

---

<div class="post-metadata">

**Author:** ![Black\_Photon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Photon](https://forums.unrealengine.com/u/Black_Photon)\
**Post date:** [May 6, 2023, 8:56am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/8 "2023-05-06T08:56:52Z")

</div>

I’ve been getting this issue as well, but I’ve discovered for me it only occurs when hardware raytracing is enabled. This is with a new install of UE5.1.1. I’ve looked into the options recommended, but my graphics driver is already up-to-date, and I can’t find the options to clear the cache where specified. Is there a certain directory I can delete? Or perhaps the options have moved.

---

<div class="post-metadata">

**Author:** ![K9Cubed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k9cubed/32/915896_2.png) [@K9Cubed](https://forums.unrealengine.com/u/K9Cubed)\
**Post date:** [May 7, 2023, 2:46am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/9 "2023-05-07T02:46:27Z")

</div>

Bump. Still an ongoing issue for many of us.

---

<div class="post-metadata">

**Author:** ![Black\_Photon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Black\_Photon](https://forums.unrealengine.com/u/Black_Photon)\
**Post date:** [July 6, 2023, 8:26pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/10 "2023-07-06T20:26:57Z")

</div>

Update - I tried uninstalling 5.1.1 and reinstalling 5.2.1 and gave it another try, and now it seems to work fine for me

---

<div class="post-metadata">

**Author:** ![Alessiana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alessiana](https://forums.unrealengine.com/u/Alessiana)\
**Post date:** [May 22, 2024, 8:30am UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/11 "2024-05-22T08:30:13Z")

</div>

CHAT GPT Answer, we failed

---

<div class="post-metadata">

**Author:** ![oshevoshev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oshevoshev](https://forums.unrealengine.com/u/oshevoshev)\
**Post date:** [February 15, 2025, 5:43pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/12 "2025-02-15T17:43:07Z")

</div>

> [@GouthamMannuru](#):
>
> - Edit \> Project Settings \> Engine \> Rendering \> Shader Cache, and click “Clear Cache”.
> - Update your graphics drivers: Outdated or corrupt graphics drivers can cause issues with shader compilation. Try updating your graphics drivers to the latest version.
> - Delete your Derived Data Cache: The Derived Data Cache is a cache of compiled assets and data generated by the Unreal Engine. Sometimes, corrupted or outdated data in the cache can cause issues. To delete the cache, go to Edit \> Project Settings \> Engine \> General Settings \> Derived Data Cache, and click “Purge Cache”.

Don’t waste your time with this auto-generated answer. There are no such buttons as Edit \> Project Settings \> Engine \> Rendering \> Shader Cache → “Clear Cache” and Edit \> Project Settings \> Engine \> General Settings \> Derived Data Cache → “Purge Cache”.

Shame on you posting such things without checking.

---

<div class="post-metadata">

**Author:** ![Mousetwentytwo1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mousetwentytwo1](https://forums.unrealengine.com/u/Mousetwentytwo1)\
**Post date:** [September 1, 2025, 1:05pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/13 "2025-09-01T13:05:02Z")

</div>

Switching to Vulkan in PC settings of Graphics RHI solved this for me.  
Note that I only need it for preview on pc, trying something out in a Meta fork..

---

<div class="post-metadata">

**Author:** ![uony](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@uony](https://forums.unrealengine.com/u/uony)\
**Post date:** [May 22, 2026, 2:56pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/14 "2026-05-22T14:56:22Z")

</div>

For me i turned off nanite in the project settings and it worked

---

<div class="post-metadata">

**Author:** ![kittyjelly19](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kittyjelly19](https://forums.unrealengine.com/u/kittyjelly19)\
**Post date:** [June 9, 2026, 12:57pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/15 "2026-06-09T12:57:05Z")

</div>

Deleting my DDC and updating graphics drivers (Using the NVIDIA Game ready drivers) worked for me (UE5.7) 🙂

---

<div class="post-metadata">

**Author:** ![CompleteWing8422](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CompleteWing8422](https://forums.unrealengine.com/u/CompleteWing8422)\
**Post date:** [October 29, 2026, 6:30pm UTC](https://forums.unrealengine.com/t/ue5-crash-when-opening-editor-shader-compilation-failures-are-fatal/779206/16 "2026-10-29T18:30:52Z")

</div>

这个错误是很泛的，无法准确定位，具体可以在项目文件夹里面的save/log/项目.log文件找到真正的错误，找到Fatal error后，往上浏览几十行就能找到了，定位真正的error才能解决
