Game build is not builded

UATHelper: Packaging (Windows): LogWindows: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderResource.cpp] [Line: 699]
UATHelper: Packaging (Windows): FShaderMapResource_InlineCode::InitRHI is unable to create a shader: frequency=10, hash=519279342940241A16ED194E315B5CBE0459E45B.
PackagingResults: Error: appError called: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderResource.cpp] [Line: 699]
UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderResource.cpp] [Line: 699]
UATHelper: Packaging (Windows): LogWindows: Error: FShaderMapResource_InlineCode::InitRHI is unable to create a shader: frequency=10, hash=519279342940241A16ED194E315B5CBE0459E45B.
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffd2878f4b7 UnrealEditor-RenderCore.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffd2878f632 UnrealEditor-RenderCore.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffd28794b7a UnrealEditor-RenderCore.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcea122722 UnrealEditor-Core.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcea117d4a UnrealEditor-Core.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcea1181ee UnrealEditor-Core.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffd286e894c UnrealEditor-RenderCore.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffd286ed9e4 UnrealEditor-RenderCore.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcea74c0ad UnrealEditor-Core.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcea7435cf UnrealEditor-Core.dll!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffdc69ce8d7 KERNEL32.DLL!UnknownFunction
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderResource.cpp] [Line: 699]
PackagingResults: Error: FShaderMapResource_InlineCode::InitRHI is unable to create a shader: frequency=10, hash=519279342940241A16ED194E315B5CBE0459E45B.
PackagingResults: Error: [Callstack] 0x00007ffd2878f4b7 UnrealEditor-RenderCore.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffd2878f632 UnrealEditor-RenderCore.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffd28794b7a UnrealEditor-RenderCore.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffcea122722 UnrealEditor-Core.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffcea117d4a UnrealEditor-Core.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffcea1181ee UnrealEditor-Core.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffd286e894c UnrealEditor-RenderCore.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffd286ed9e4 UnrealEditor-RenderCore.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffcea74c0ad UnrealEditor-Core.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffcea7435cf UnrealEditor-Core.dll!UnknownFunction
PackagingResults: Error: [Callstack] 0x00007ffdc69ce8d7 KERNEL32.DLL!UnknownFunction
PackagingResults: Error: end: stack for UAT
UATHelper: Packaging (Windows): Took 94,23s to run UnrealEditor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Windows): Cook failed.
UATHelper: Packaging (Windows): (see C:\Users\KsiJa\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Unreal+Engine+UE_5.5\Log.txt for full exception trace)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 7m 10s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows): BUILD FAILED
LogStreaming: Display: FlushAsyncLoading(338): 1 QueuedPackages, 0 AsyncPackages
PackagingResults: Error: Unknown Cook Failure

On my 4090, the project fails to build and gives this strange error.
I am using FSR 3 and SM5 and SM6 shaders for DirectX 12, SM5 for DirectX 11, and SM5 for Vulkan.

SM6 Vulkan does not support FSR 3 and crashes the engine (5.5) with an unclear error. I contacted support, and they said they are still working on it, so I disabled it.

Everything compiles fine in an empty project, but in my main project there is some issue, and I need help.

Hello there @DmitriyBatkovich!

Checking your log, the main issue should be here:

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderResource.cpp] [Line: 699]
FShaderMapResource_InlineCode::InitRHI is unable to create a shader: frequency=10, hash=519279342940241A16ED194E315B5CBE0459E45B

This aims to the shader compiler encountering a conflict, either due corrupt or missing data. There are a few available tests here:

  1. Please clear your project cache, via deleting DerivedDataCache, Saved, and Intermediate folders, then re-generate your files.

  2. Test switching between DX11 and DX12 during builds.

  3. Since Vulkan is having conflicts with 5.5, , try your build in 5.4 (for more stability) and 5.6 (hotfixes could have been deployed for this type of problem).

  4. Ensure your GPU drivers are up to date. Alternatively, refresh your install. Select the “Clean Installation” option, and pick the “Developer” drivers, as these are more stable for engine work.

  1. I cleared the cache multiple times, but it didn’t help.
  2. I switched between all build configurations, yet the problem persists. In a clean project, this issue does not occur.
  3. Vulkan works perfectly—even on my build, I get 144 FPS in cinematics, and with frame generation it’s 200 FPS using FSR.
  4. The drivers are up to date; GPU-Z reports that my graphics card supports DirectX 12_2 Ultimate and Vulkan.

AMD support said that FSR 3 does not work with Vulkan SM 6, so I disabled it—but the project still won’t build for some reason.

For now, I’m trying to follow this tutorial:

I’m checking asset validation, but for some reason the engine crashes due to running out of memory.