On a map that was working fine up until 2 days ago, my editor now crashes when opening that map.
The following error text is in my log after a crash:
[2023.09.22-22.09.41:651][580]LogShaderCompilers: Error: SCW 1 Queued Jobs, Finished 0 single jobs
[2023.09.22-22.09.41:651][580]LogShaderCompilers: Error: Job 0 [Single] M_Base_TextureVariation/Default/FLandscapeFixedGridVertexFactory/FLandscapeGrassWeightVS/0:/Engine/Private/LandscapeGrassWeight.usf VF ‘FLandscapeFixedGridVertexFactory’ Type ‘FLandscapeGrassWeightVS’ ‘/Engine/Private/LandscapeGrassWeight.usf’ Entry ‘VSMain’ Permutation 0
[2023.09.22-22.09.41:744][580]LogWindows: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 1227]
ShaderCompileWorker crashed!
Assertion failed: bDirectoryExists [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderCore.cpp] [Line: 1757]
FPaths::DirectoryExists(L:/00-Projects/RMRP RENDERS NEW/RMRP/Intermediate/ShaderAutogen L:/00-Projects/RMRP RENDERS NEW/RMRP/Intermediate/ShaderAutogen) DRONE-PC
0x00007fff6c983423 ShaderCompileWorker-RenderCore.dll!AddShaderSourceDirectoryMapping()
0x00007ff60cc6a8a7 ShaderCompileWorker.exe!FWorkLoop::ProcessInputFromArchive()
0x00007ff60cc6666d ShaderCompileWorker.exe!FWorkLoop::Loop()
0x00007ff60cc63cc0 ShaderCompileWorker.exe!GuardedMain()
0x00007ff60cc63fad ShaderCompileWorker.exe!GuardedMainWrapper()
0x00007ff60cc747ed ShaderCompileWorker.exe!wmain()
0x00007ff60cc75dfc ShaderCompileWorker.exe!__scrt_common_main_seh()
0x00007fffe4ea7344 KERNEL32.DLL!UnknownFunction
0x00007fffe52226b1 ntdll.dll!UnknownFunction
[2023.09.22-22.09.41:744][580]LogWindows: Windows GetLastError: The operation completed successfully. (0)
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: ================================================
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: === FShaderJobCache stats ===
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Total job queries 209, among them cache hits 6 (2.87%)
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Tracking 114 distinct input hashes that result in 92 distinct outputs (80.70%)
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: RAM used: 0.36 MB (0.00 GB) of 3276.80 MB (3.20 GB) budget. Usage: 0.01%
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: === Shader Compilation stats ===
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Shaders Compiled: 0
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Jobs assigned 8, completed 0 (0.00%)
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Time job spent in pending queue: average 0.06 s, longest 0.07 s
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Time at least one job was in flight (either pending or executed): 0.00 s
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: Jobs were issued in 8 batches (only local compilation was used), average 1.00 jobs/batch
[2023.09.22-22.09.44:149][582]LogShaderCompilers: Display: ================================================
[2023.09.22-22.09.44:149][582]LogThreadingWindows: Error: Runnable thread ShaderCompilingThread crashed.
[2023.09.22-22.09.44:153][582]LogWindows: Error: === Critical error: ===
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp] [Line: 1227]
[2023.09.22-22.09.44:153][582]LogWindows: Error: ShaderCompileWorker crashed!
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error: Assertion failed: bDirectoryExists [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderCore.cpp] [Line: 1757]
[2023.09.22-22.09.44:153][582]LogWindows: Error: FPaths::DirectoryExists(L:/00-Projects/RMRP RENDERS NEW/RMRP/Intermediate/ShaderAutogen L:/00-Projects/RMRP RENDERS NEW/RMRP/Intermediate/ShaderAutogen) DRONE-PC
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff6c983423 ShaderCompileWorker-RenderCore.dll!AddShaderSourceDirectoryMapping()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007ff60cc6a8a7 ShaderCompileWorker.exe!FWorkLoop::ProcessInputFromArchive()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007ff60cc6666d ShaderCompileWorker.exe!FWorkLoop::Loop()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007ff60cc63cc0 ShaderCompileWorker.exe!GuardedMain()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007ff60cc63fad ShaderCompileWorker.exe!GuardedMainWrapper()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007ff60cc747ed ShaderCompileWorker.exe!wmain()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007ff60cc75dfc ShaderCompileWorker.exe!__scrt_common_main_seh()
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fffe4ea7344 KERNEL32.DLL!UnknownFunction
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fffe52226b1 ntdll.dll!UnknownFunction
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff642ec754 UnrealEditor-Engine.dll!SCWErrorCode::HandleGeneralCrash() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:1228]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff642eecb6 UnrealEditor-Engine.dll!HandleWorkerCrash() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:1829]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff642da9b7 UnrealEditor-Engine.dll!FShaderCompileUtilities::DoReadTaskResults() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:1909]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff642cdce2 UnrealEditor-Engine.dll!<lambda_76a0bcd77eeb105d5417577fe1607bb2>::operator()() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2698]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff642fa64f UnrealEditor-Engine.dll!FShaderCompileThreadRunnable::ReadAvailableResults() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2729]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff642d8a92 UnrealEditor-Engine.dll!FShaderCompileThreadRunnable::CompilingLoop() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2986]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff64303eb3 UnrealEditor-Engine.dll!FShaderCompileThreadRunnableBase::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\ShaderCompiler\ShaderCompiler.cpp:2255]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff69615342 UnrealEditor-Core.dll!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:149]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fff6960d230 UnrealEditor-Core.dll!FRunnableThreadWin::GuardedRun() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:79]
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fffe4ea7344 KERNEL32.DLL!UnknownFunction
[2023.09.22-22.09.44:153][582]LogWindows: Error: [Callstack] 0x00007fffe52226b1 ntdll.dll!UnknownFunction
[2023.09.22-22.09.44:153][582]LogWindows: Error:
[2023.09.22-22.09.44:153][582]LogWindows: Error: Crash in runnable thread ShaderCompilingThread
[2023.09.22-22.09.44:166][582]LogExit: Executing StaticShutdownAfterError
[2023.09.22-22.09.44:175][582]LogWindows: FPlatformMisc::RequestExit(1)
[2023.09.22-22.09.44:175][582]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2023.09.22-22.09.44:175][582]LogCore: Engine exit requested (reason: Win RequestExit)
So far I have tried the following:
-Updated graphics drivers
-Restarted my PC
-Migrated project to 5.2.1 (crashed with similar error)
-Uninstalled, reinstalled 5.1.1
-Deleted DerivedDataCache, Intermediate, and Saved folders from project directory
And I know the following to be true:
-Project is using DirectX 11
-Hardware ray tracing is disabled
-Lumen/Nanite are disabled
-My graphics card is a RTX 2080
-My PC has 64GB RAM
-And 16x i9 CPUs