Download

Can't package for 32-Bit : Failed to produce item: Game-Win32-Shipping.exe

I can package my game for Win64 but not for Win32.
Here’s the error log (My game is called Noxel) :


UATHelper: Packaging (Windows (32-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (32-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject="D:/Documents/Unreal Projects/Noxel/Noxel.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="D:/Documents/Unreal Projects/Noxel/Noxel.uproject" -cook -stage -archive -archivedirectory=C:/Users/Moddingear/Desktop/Buildx86 -
package -clientconfig=Shipping -ue4exe=UE4Editor-Cmd.exe -clean -pak -prereqs -distribution -nodebuginfo -targetplatform=Win32 -build -utf8output
UATHelper: Packaging (Windows (32-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\Documents\Unreal Projects\Noxel\Noxel.uproject
UATHelper: Packaging (Windows (32-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe Noxel Win32 Shipping -Project="D:\Documents\Unreal Projects\Noxel\Noxel.uproject" -clean "D:\Documents\Unreal Projects\Noxel\Noxel.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\Noxel" -nobuilduht -NoHotReload
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 1.4710141s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe Noxel Win32 Shipping -Project="D:\Documents\Unreal Projects\Noxel\Noxel.uproject"  "D:\Documents\Unreal Projects\Noxel\Noxel.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\Noxel" -noxge -generatemanifest -NoHot
Reload -ignorejunk
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 0.9487344s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe Noxel Win32 Shipping -Project="D:\Documents\Unreal Projects\Noxel\Noxel.uproject"  "D:\Documents\Unreal Projects\Noxel\Noxel.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\Noxel" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Parsing headers for Noxel
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool:   Running UnrealHeaderTool "D:\Documents\Unreal Projects\Noxel\Noxel.uproject" "D:\Documents\Unreal Projects\Noxel\Intermediate\Build\Win32\Noxel\Shipping\Noxel.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Reflection code generated for Noxel in 5.5898726 seconds
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Performing 9 actions (12 in parallel)
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: [3/9] Resource PCLaunch.rc
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Documents\Unreal Projects\Noxel\Binaries\Win32\Noxel-Win32-Shipping.exe
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Total build time: 9.98 seconds (Local executor: 0.00 seconds)
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 10.1781931s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (32-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): D:\Epic Games\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe Noxel Win32 Shipping -Project="D:\Documents\Unreal Projects\Noxel\Noxel.uproject"  "D:\Documents\Unreal Projects
\Noxel\Noxel.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\Noxel" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.09.03-18.13.23.txt' 
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictio
nary`2 InTargetToManifest)
UATHelper: Packaging (Windows (32-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (32-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (32-bit)):    at BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (32-bit)):    at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (32-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (32-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

I can’t build it in Visual Studio either, getting the same error,but asking me to verify that I have the sufficient rights to run this command, which I do.

I found the solution to this while digging deep in the web : You need Visual Studio 2015 to package for Windows 32bit.