Cooking is successful, but packaging has error code 6

My full output log is:
Log started at 01/26/2024 22:33:33 (2024-01-26T16:33:33Z)
No config file at C:\Users\user\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
C:\Users\user\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Log file: C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-GGJ2024WINNING-Win64-Development.txt

Setting temp directory to ‘C:\Users\user\AppData\Local\Temp\UnrealBuildTool\319625c3’
Registering build platform: UnrealBuildTool.AndroidPlatformFactory
Registering build platform: UnrealBuildTool.IOSPlatformFactory
Registering build platform: UnrealBuildTool.LinuxPlatformFactory
Registering build platform: UnrealBuildTool.MacPlatformFactory
Registering build platform: UnrealBuildTool.TVOSPlatformFactory
Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Registering build platform: Win64 - buildable: False
Command line: “C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” GGJ2024WINNING Win64 Development -Project=C:\Users\user\Desktop\study\games\GGJ2024WINNING\GGJ2024WINNING.uproject -Manifest=C:\Users\user\Desktop\study\games\GGJ2024WINNING\Intermediate\Build\Manifest.xml -remoteini=C:\Users\user\Desktop\study\games\GGJ2024WINNING -skipdeploy “-log=C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-GGJ2024WINNING-Win64-Development.txt”
Ignoring plugin ‘ModelingToolsEditorMode’ for platform/configuration
Ignoring plugin ‘PythonScriptPlugin’ for platform/configuration
Ignoring plugin ‘XCodeSourceCodeAccess’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘PlanarCut’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘Interchange’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘OnlineSubsystemGooglePlay’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘OnlineSubsystemIOS’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘PythonScriptPlugin’ for platform/configuration
Ignoring plugin ‘XCodeSourceCodeAccess’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘PlanarCut’ for platform/configuration
Ignoring plugin ‘MeshModelingToolsetExp’ for platform/configuration
Ignoring plugin ‘ContentBrowserFileDataSource’ for platform/configuration
Ignoring plugin ‘Interchange’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MediaPlayerEditor’ for platform/configuration
Ignoring plugin ‘MeshModelingToolset’ for platform/configuration
Ignoring plugin ‘OnlineSubsystemGooglePlay’ due to unsupported platform in plugin descriptor
Ignoring plugin ‘OnlineSubsystemIOS’ due to unsupported platform in plugin descriptor
Creating makefile for GGJ2024WINNING (no existing makefile)
Total execution time: 2.51 seconds
Platform Win64 is not a valid platform to build. Check that the SDK is installed properly.
BuildException: Platform Win64 is not a valid platform to build. Check that the SDK is installed properly.
at UnrealBuildTool.UEBuildTarget.Create(TargetDescriptor Descriptor, Boolean bSkipRulesCompile, Boolean bForceRulesCompile, Boolean bUsePrecompiled, UnrealIntermediateEnvironment IntermediateEnvironment, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 1251
at UnrealBuildTool.BuildMode.CreateMakefileAsync(BuildConfiguration BuildConfiguration, TargetDescriptor TargetDescriptor, ISourceFileWorkingSet WorkingSet, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 1114
at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 396
at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
WriteFileIfChanged() wrote 0 changed files of 0 requested writes.
Timeline:

[ 0.000]
0.000
[ 2.640]

What seems to be the problem? Help me please

for Unreal “Error code 6” “Error(6)” is their designation for “something went wrong, exiting, NOW” and sometimes I wish they used more error codes to give each code more meaning, but :person_shrugging:

I think it has to do with


Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Registering build platform: Win64 - buildable: False

Platform Win64 is not a valid platform to build. Check that the SDK is installed properly.
BuildException: Platform Win64 is not a valid platform to build. Check that the SDK is installed properly.

are you building through the Editor directly, through an IDE, or are you using a tool/executable separate to the the editor?

if you do not have Visual Studio or similar then Windows does not automatically install the Windows Runtime SDK (something, something, preventing users from breaking their system un-intentionally/intentionally, or having security vulnerabilities, something, something)
The only time I have ever delt with installing the Windows SDK is as part of installing Visual Studio (even back in the XNA days)
you might just need to install the Windows SDK directly (ensure that you are getting it from Microsoft directly, do not trust a mirror unless Microsoft directly points you to it), though it might need to install like Visual Studio Community, or Visual Studio Code which the Windows SDK is an automatic part of the install on a Window device (again get this from Microsoft directly)

Thank you so much, I’ve installed VS 2022 on my Windows 11 and it did work

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.