Engine crashes after shader compilation finishes

Every time i open my project it compiles shaders, freezes for a few seconds, and then crashes with this:

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000015f384505d0

nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
D3D12Core
D3D12Core
dxgi
dxgi
dxgi
dxgi
dxgi
dxgi
dxgi
dxgi
UnrealEditor_D3D12RHI!FD3D12Viewport::PresentChecked() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Viewport.cpp:639]
UnrealEditor_D3D12RHI!FD3D12Viewport::Present() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Viewport.cpp:739]
UnrealEditor_D3D12RHI!FD3D12CommandContextBase::RHIEndDrawingViewport() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Viewport.cpp:939]
UnrealEditor_RHI!FRHICommand<FRHICommandEndDrawingViewport,FRHICommandEndDrawingViewportString2035>::ExecuteAndDestruct() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Public\RHICommandList.h:855]
UnrealEditor_RHI!FRHICommandListBase::Execute() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:438]
UnrealEditor_RHI!<lambda_d9c5c35f8ce97cb91cdbe1d4918d55a5>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:744]
UnrealEditor_RHI!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1348]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:760]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:649]
UnrealEditor_RenderCore!FRHIThread::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:332]
UnrealEditor_Core!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]

Hey there @ManlyGaming1! Welcome to the community! So this is a memory error stemming from nvwgf2umx which is related to GPU drivers. Since this issue can be many different things, I usually point people to the most recent thread with compiled fixes. (Sorry it’s a bit of a link hop, but everything we reference over there are workarounds for some fixes for others). We’re also still solving a rare case in that thread where most of the fixes didn’t work. The most recent from GraemeVR near the bottom is still being tested.