Packaging project for Windows fails

Whenever I try to package my Cardboard VR-targeted project for Windows, it fails (it works with no problems for Android ATC). Here’s the log:

UATHelper: Packaging (Windows (32-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (32-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/Projekty/CardboardVR/CardboardVR.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/Projekty/CardboardVR/CardboardVR.uproject -cook -stage -archive -archivedirectory=D:/Projekty/CardboardVR/wBuild -package -clientconfi
g=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win32 -build -utf8output
UATHelper: Packaging (Windows (32-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\Projekty\CardboardVR\CardboardVR.uproject
UATHelper: Packaging (Windows (32-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Programy\Unreal Engine\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe CardboardVR Win32 Development -Project=D:\Projekty\CardboardVR\CardboardVR.uproject  D:\Projekty\CardboardVR\CardboardVR.uproject -NoUBTMakefiles  -remoteini="D:\Projekty\CardboardVR" -noxge -generatemanifest -NoHotRelo
ad
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 1,0390594s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Programy\Unreal Engine\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe CardboardVR Win32 Development -Project=D:\Projekty\CardboardVR\CardboardVR.uproject  D:\Projekty\CardboardVR\CardboardVR.uproject -NoUBTMakefiles  -remoteini="D:\Projekty\CardboardVR" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Performing 3 actions (4 in parallel)
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Projekty\CardboardVR\Binaries\Win32\CardboardVR.exe
UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Total build time: 3,84 seconds (Local executor: 0,00 seconds)
UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 4,1022346s 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:\Programy\Unreal Engine\UE_4.16\Engine\Binaries\DotNET\UnrealBuildTool.exe CardboardVR Win32 Development -Project=D:\Projekty\CardboardVR\CardboardVR.uproject  D:\Projekty\Car
dboardVR\CardboardVR.uproject -NoUBTMakefiles  -remoteini="D:\Projekty\CardboardVR" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.07.08-17.50.36.txt' 
UATHelper: Packaging (Windows (32-bit)):    w 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)):    w 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)):    w AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (32-bit)):    w 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)):    w 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)):    w 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, Diction
ary`2 InTargetToManifest)
UATHelper: Packaging (Windows (32-bit)):    w Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (32-bit)):    w BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (32-bit)):    w BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (32-bit)):    w AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (32-bit)):    w AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (32-bit)):    w AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (32-bit)):    w AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (32-bit)):    w AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (32-bit)):    w 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

What’s the problem? :frowning: All I see is that there seems to be some problem with “CommandUtils”? How to solve it, though?

I have a similar issue open https://answers.unrealengine.com/questions/672782/error-32-bit-development-build.html