Cooking Failed, how do I fix this?

I get these errors when I attempt to cook the project for Windows, how do I fix this?

UATHelper: Cooking (Windows (64-bit)):   LogShaderCompilers: Error: Expecting ShaderCompileWorker Single Jobs 83, got 0 instead! Forgot to build ShaderCompileWorker?
UATHelper: Cooking (Windows (64-bit)):   HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   FPlatformMisc::RequestExit(1)
UATHelper: Cooking (Windows (64-bit)):   Engine exit requested (reason: Win RequestExit; note: exit was already requested)
UATHelper: Cooking (Windows (64-bit)):   LogShaderCompilers: Error: ShaderCompileWorker returned 0 single jobs, 10 expected
UATHelper: Cooking (Windows (64-bit)):   LogFileManager: Error: Requested read of 4 bytes when 0 bytes remain (file=C:/Users/avart/AppData/Local/Temp/UnrealShaderWorkingDir/9AEF77744F04C0CA5BB1FA9A25D42FA8/2/WorkerOutputOnly.out, size=3956)
UATHelper: Cooking (Windows (64-bit)):   LogShaderCompilers: Error: Expecting ShaderCompileWorker Pipeline Jobs 80, got -1 instead! Forgot to build ShaderCompileWorker?
UATHelper: Cooking (Windows (64-bit)):   LogFileManager: Error: Requested read of 4 bytes when 0 bytes remain (file=C:/Users/avart/AppData/Local/Temp/UnrealShaderWorkingDir/9AEF77744F04C0CA5BB1FA9A25D42FA8/2/WorkerOutputOnly.out, size=3956)
UATHelper: Cooking (Windows (64-bit)):   LogShaderCompilers: Error: Worker returned 2 pipeline jobs, 0 expected
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: Error reentered: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 674]
UATHelper: Cooking (Windows (64-bit)):   Array index out of bounds: 0 from an array of size 0
UATHelper: Cooking (Windows (64-bit)):   
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread PoolThread 10 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread PoolThread 11 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread PoolThread 12 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread PoolThread 9 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogShaderCompilers: Display: Shaders left to compile 0
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread PoolThread 13 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 7 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread PoolThread 8 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 6 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 10 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 11 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 8 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogThreadingWindows: Error: Runnable thread TaskGraphThreadHP 9 crashed.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: HandleError re-entered.
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: begin: stack for UAT
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: === Critical error: ===
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error:
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: Fatal error: [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 322]
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: ShaderCompileWorker crashed!
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error:
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error:    Assertion failed: Module [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp] [Line: 340]
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: VulkanShaderFormat
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc59dcf7 ShaderCompileWorker-Core.dll!FDebug::CheckVerifyFailedImpl() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc7f3d38 ShaderCompileWorker-Core.dll!DispatchCheckVerify >() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc64f140 ShaderCompileWorker-Core.dll!FModuleManager::LoadModuleChecked() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff79efe2b3b ShaderCompileWorker.exe!GetShaderFormats() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff79efe30b8 ShaderCompileWorker.exe!GuardedMain() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff79efe37ff ShaderCompileWorker.exe!GuardedMainWrapper() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff79eff1308 ShaderCompileWorker.exe!wmain() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ff79eff25a8 ShaderCompileWorker.exe!__scrt_common_main_seh() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffe09f17bd4 KERNEL32.DLL!UnknownFunction []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffe0ac4ce51 ntdll.dll!UnknownFunction []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error:
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error:
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error:
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffe07f2a799 KERNELBASE.dll!UnknownFunction []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc792316 ShaderCompileWorker-Core.dll!ReportAssert() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc7956f7 ShaderCompileWorker-Core.dll!FWindowsErrorOutputDevice::Serialize() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc609bcd ShaderCompileWorker-Core.dll!FOutputDevice::LogfImpl() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc59b9d5 ShaderCompileWorker-Core.dll!FDebug::AssertFailed() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc59dd30 ShaderCompileWorker-Core.dll!FDebug::CheckVerifyFailedImpl() []
UATHelper: Cooking (Windows (64-bit)):   LogWindows: Error: [Callstack] 0x00007ffdbc7f3d38 ShaderCompileWorker-Core.dll!DispatchCheckVerify >() []
PackagingResults: Error: Expecting ShaderCompileWorker Single Jobs 83, got 0 instead! Forgot to build ShaderCompileWorker?
PackagingResults: Error: ShaderCompileWorker returned 0 single jobs, 10 expected
PackagingResults: Error: Requested read of 4 bytes when 0 bytes remain (file=C:/Users/avart/AppData/Local/Temp/UnrealShaderWorkingDir/9AEF77744F04C0CA5BB1FA9A25D42FA8/2/WorkerOutputOnly.out, size=3956)
PackagingResults: Error: Expecting ShaderCompileWorker Pipeline Jobs 80, got -1 instead! Forgot to build ShaderCompileWorker?
PackagingResults: Error: Requested read of 4 bytes when 0 bytes remain (file=C:/Users/avart/AppData/Local/Temp/UnrealShaderWorkingDir/9AEF77744F04C0CA5BB1FA9A25D42FA8/2/WorkerOutputOnly.out, size=3956)
PackagingResults: Error: Worker returned 2 pipeline jobs, 0 expected
PackagingResults: Error: Error reentered: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4+Licensee\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 674]
PackagingResults: Error: Runnable thread PoolThread 10 crashed.
PackagingResults: Error: Runnable thread PoolThread 11 crashed.
PackagingResults: Error: Runnable thread PoolThread 12 crashed.
PackagingResults: Error: Runnable thread PoolThread 9 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: Runnable thread PoolThread 13 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 7 crashed.
PackagingResults: Error: Runnable thread PoolThread 8 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 6 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 10 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 11 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 8 crashed.
PackagingResults: Error: Runnable thread TaskGraphThreadHP 9 crashed.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: HandleError re-entered.
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Fatal error: [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 322]
PackagingResults: Error: ShaderCompileWorker crashed!
PackagingResults: Error:     Assertion failed: Module [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Core/Private/Modules/ModuleManager.cpp] [Line: 340]
PackagingResults: Error: VulkanShaderFormat
PackagingResults: Error: [Callstack] 0x00007ffdbc59dcf7 ShaderCompileWorker-Core.dll!FDebug::CheckVerifyFailedImpl() []
PackagingResults: Error: [Callstack] 0x00007ffdbc7f3d38 ShaderCompileWorker-Core.dll!DispatchCheckVerify >() []
PackagingResults: Error: [Callstack] 0x00007ffdbc64f140 ShaderCompileWorker-Core.dll!FModuleManager::LoadModuleChecked() []
PackagingResults: Error: [Callstack] 0x00007ff79efe2b3b ShaderCompileWorker.exe!GetShaderFormats() []
PackagingResults: Error: [Callstack] 0x00007ff79efe30b8 ShaderCompileWorker.exe!GuardedMain() []
PackagingResults: Error: [Callstack] 0x00007ff79efe37ff ShaderCompileWorker.exe!GuardedMainWrapper() []
PackagingResults: Error: [Callstack] 0x00007ff79eff1308 ShaderCompileWorker.exe!wmain() []
PackagingResults: Error: [Callstack] 0x00007ff79eff25a8 ShaderCompileWorker.exe!__scrt_common_main_seh() []
PackagingResults: Error: [Callstack] 0x00007ffe09f17bd4 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffe0ac4ce51 ntdll.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffe07f2a799 KERNELBASE.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffdbc792316 ShaderCompileWorker-Core.dll!ReportAssert() []
PackagingResults: Error: [Callstack] 0x00007ffdbc7956f7 ShaderCompileWorker-Core.dll!FWindowsErrorOutputDevice::Serialize() []
PackagingResults: Error: [Callstack] 0x00007ffdbc609bcd ShaderCompileWorker-Core.dll!FOutputDevice::LogfImpl() []
PackagingResults: Error: [Callstack] 0x00007ffdbc59b9d5 ShaderCompileWorker-Core.dll!FDebug::AssertFailed() []
PackagingResults: Error: [Callstack] 0x00007ffdbc59dd30 ShaderCompileWorker-Core.dll!FDebug::CheckVerifyFailedImpl() []
PackagingResults: Error: [Callstack] 0x00007ffdbc7f3d38 ShaderCompileWorker-Core.dll!DispatchCheckVerify >() []
UATHelper: Cooking (Windows (64-bit)): Took 90.6512892s to run UE4Editor-Cmd.exe, ExitCode=3
UATHelper: Cooking (Windows (64-bit)): ERROR: Cook failed.
UATHelper: Cooking (Windows (64-bit)):        (see C:\Users\avart\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Cooking (Windows (64-bit)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Cooking (Windows (64-bit)): BUILD FAILED

So let me try to unpack the message for you. The LogShaderCompilers is crashing because it expects there to be some ShaderCompileWorkers to have done work for it isn’t finding them or their responses.

I would start by reinstalling the engine. Also what happens when you do a manual build of static lighting? Do you have problems with that?