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 failed with "unknown error"

Hey there!

I have a project that was created in UE 4.16 and recently upgraded to 4.17.2. Before said upgrade, it was packaged just fine (for Windows 32bit), but now it just fails with and "unknown error". Here's what the Output Log says (the .txt log saved has even less info)

 ********** BUILD COMMAND STARTED **********
 
 UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Program Files\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe MyGame Win32 DebugGame
 -Project=D:\Unreal_Projects\_BAL\MyGame\MyGame.uproject D:\Unreal_Projects\_BAL\MyGame\MyGame.uproject
 -NoUBTMakefiles  -remoteini="D:\Unreal_Projects\_BAL\MyGame" -skipdeplo y -noxge -generatemanifest -NoHotReload
 
 UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 1,2289852s to run UnrealBuildTool.exe, ExitCode=0
 
 UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: D:\Program Files\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe MyGame Win32 DebugGame
 -Project=D:\Unreal_Projects\_BAL\MyGame\MyGame.uproject D:\Unreal_Projects\_BAL\MyGame\MyGame.uproject
 -NoUBTMakefiles  -remoteini="D:\Unreal_Projects\_BAL\MyGame" -skipdeplo y -noxge -NoHotReload -ignorejunk
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Parsing headers for MyGame
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool:   Running UnrealHeaderTool "D:\Unreal_Projects\_BAL\MyGame\MyGame.uproject" "D:\Unreal_Projects\_BAL\MyGame\Intermediate\Build\Win32\MyGame\DebugGame\MyGame.uhtmanifest"
 -LogCmds="loginit warning, logexit warning, logdatabase error"
 -Unattended -WarningsAsErrors -installed
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Reflection code generated for MyGame in 6,6957389 seconds
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Performing 13 actions (4 in parallel)
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: [3/13] Resource PCLaunch.rc
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Unreal_Projects\_BAL\MyGame\Binaries\Win32\MyGame-Win32-DebugGame.exe
 
 UATHelper: Packaging (Windows (32-bit)): UnrealBuildTool: Total build time: 11,67 seconds (Local executor: 0,00 seconds)
 
 UATHelper: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 11,9209893s 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:\Program Files\UE_4.17\Engine\Binaries\DotNET\UnrealBuildTool.exe MyGame Win32 DebugGame
 -Project=D:\Unreal_Projects\_BAL\MyGame\MyGame.uproject D:\Unreal_Proj ects\_BAL\MyGame\MyGame.uproject
 -NoUBTMakefiles  -remoteini="D:\Unreal_Projects\_BAL\MyGame" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.10.02-18.21.58.txt'
 
 
 UATHelper: Packaging (Windows (32-bit)):    em 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)):    em 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)):    em AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 
 UATHelper: Packaging (Windows (32-bit)):    em 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)):    em 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)):    em 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)):    em Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
 
 UATHelper: Packaging (Windows (32-bit)):    em BuildCookRun.DoBuildCookRun(ProjectParams Params)
 
 UATHelper: Packaging (Windows (32-bit)):    em BuildCookRun.ExecuteBuild()
 
 UATHelper: Packaging (Windows (32-bit)):    em AutomationTool.BuildCommand.Execute()
 
 UATHelper: Packaging (Windows (32-bit)):    em AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands)
 
 UATHelper: Packaging (Windows (32-bit)):    em AutomationTool.Automation.Process(String[] Arguments)
 
 UATHelper: Packaging (Windows (32-bit)):    em AutomationTool.Program.MainProc(Object Param)
 
 UATHelper: Packaging (Windows (32-bit)):    em AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 
 UATHelper: Packaging (Windows (32-bit)):    em 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: Unknown Error


Some possibly relevant info:

  • This was created as a blueprint project and later on some C++ classes were added (though they are not currently in use, just some tests);

  • The "Compile" button runs without a hitch;

  • When opening the project, I receive 5 "Failed to load Parent for Function" messages;

  • I also receive 3 warnings (all displayed twice, so 6 warning messages) when opening the project:

    LogModuleManager: Warning: No filename provided for module ExampleDeviceProfileSelector LogModuleManager: Warning: ModuleManager: Unable to load module 'ExampleDeviceProfileSelector' because the file 'D:/Program Files/UE_4.17/Engine/Binaries/Win64/' was not found. LogLinker: Warning: Can't find file '/Script/OnlineSubsystemUtils'

All that said... Any idea what may be the cause of my problem?

Product Version: UE 4.17
Tags:
more ▼

asked Oct 02 '17 at 09:50 PM in Packaging & Deployment

avatar image

blkhouse_vlucki
185 5 7 14

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

1 answer: sort voted first

Also not able to package a 32 bit exe. I've heard that Visual Studio 2015 may be required to package a 32 bit exe, but haven't been able to confirm.

more ▼

answered Oct 10 '17 at 04:02 AM

avatar image

powergannon
1 2

(comments are locked)
10|2000 characters needed characters left
Your answer
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