UE5 Packaging Error, for windows

Hello! I am getting an error while trying to package my game for Windows. (MS Visual Studio 2022)

UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” MyProject2 Win64 Development -Project=“C:\Users\figster\Documents\Unreal Projects\MyProject2\MyProject2.uproject” “C:\Users\figster\Documents\Unreal Projects\MyProject2\MyProject2.uproject” -NoUBTMakefiles -remoteini=“C:\Users\figster\Documents\Unreal Projects\MyProject2” -skipdeploy -Manifest=“C:\Users\figster\Documents\Unreal Projects\MyProject2\Intermediate\Bu
ild\Manifest.xml” -NoHotReload -log=“C:\Users\figster\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-MyProject2-Win64-Development.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\figster\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-MyProject2-Win64-Development.txt
UATHelper: Packaging (Windows): Platform Win64 is not a valid platform to build. Check that the SDK is installed properly.
UATHelper: Packaging (Windows): Took 0.8534231999999999s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\figster\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\UBT-MyProject2-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 3s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

Hello @saatvik.dube

The information mpxc mentioned is definitely a good starting point with the issue. Were you able to resolve it?

Just VS 2022 should work fine; I’ve set it up this way plenty of times. It’s likely that the Win10/11 SDKs aren’t installed through the VS installer though.

1 Like
UATHelper: Packaging (Windows): Platform Win64 is not a valid platform to build. Check that the SDK is installed properly.

that’s what it is; try these settings. If that doesn’t help, you can try manually installing the latest .NET SDK + Runtime, as well as Windows SDK

3 Likes