Satisfactory

Satisfactory

View Stats:
hydlided Nov 1, 2024 @ 12:53am
Shader compilation failures are Fatal
I would just share this info because there are different topics (on the UE5 forums even) about this issue. So after doing some digging and testing I came up with a proper solution to this issue.

It mostly seems related to DX12 + UE5

Symptoms: Crash To desktop after launching game. You may hear a sound and game stops working with the following error message

Fatal error: [File:C:\BuildAgent\work\b731a33f2a691e17\UE4\Engine\Source\Runtime\RHI\Private\PipelineStateCache.cpp] [Line: 365]
Shader compilation failures are Fatal.

(snip... backtrace)

The root cause of the issue would be that
1. the shader cache is corrupt
2. drivers (mostly nvidia related for some reason, I don't know why) are out of date
3. a game exit from previous session was ended unexpected resulting into 1

There are some 'workarounds' to all of this. Most common would be adding the -DX11 or -vulkan flag as a startup argument.

The downside with the -DX11 flag would be that most of the UE5 engine specifics such as lumen or nanite seems to be working inappropiate (which was noted on the UE5 forums)

But this option could be used just to confirm that it is a shader compilation issue. Because adding the -DX11 flag mostly works fine. So if that is the case...

The proper solution to fix the problem would be:
1. Check if there is a video driver update
2. Remove the shader cache from the steam folder. For this game this will be (your steam games folder) \steamapps\shadercache\526870

The number 526870 would be the Satisfactory game ID.

I hopes this helps.
Date Posted: Nov 1, 2024 @ 12:53am
Posts: 0