x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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? :( All I see is that there seems to be some problem with "CommandUtils"? How to solve it, though?

Product Version: UE 4.16
Tags:
more ▼

asked Jul 08 '17 at 03:54 PM in Packaging & Deployment

avatar image

Tigro
34 8 11 12

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question