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"

PackagingResults:Error: Error Unknown Error

I just recently updated my project to 4.12 from 4.9, and decided to run a test package to see if it would work, and it did not. The error log isn't really helping me since all I am getting is an "unknown error".

I am pasting the log file below, thanks!

 MainFrameActions: Packaging (Windows (32-bit)): Running AutomationTool...
 MainFrameActions: Packaging (Windows (32-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/Users/Preston/Desktop/Slow Down backups/4.8/Slow_Down/Slow_Down.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/Users/Preston/Desktop/Slow Down backups/
 MainFrameActions: Packaging (Windows (32-bit)): 4.8/Slow_Down/Slow_Down.uproject -cook -stage -archive -archivedirectory=C:/Users/Preston/Desktop/Slow Down backups/Test Builds/0.0.0.9 -package -clientconfig=Shipping -ue4exe=UE4Editor-Cmd.exe -clean -pak -nodebuginfo -targetplatform=Win32 -build -CrashReporter -utf8output
 MainFrameActions: Packaging (Windows (32-bit)): Automation.Process: Setting up command environment.
 MainFrameActions: Packaging (Windows (32-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject
 MainFrameActions: Packaging (Windows (32-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win32 Shipping -Project="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject" -clean "C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject"  -remote
 ini="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down" -nobuilduht -NoHotReloadFromIDE
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 10.6483914s to run UnrealBuildTool.exe, ExitCode=0
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win32 Shipping -Project="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject"  "C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject"  -remoteini="C
 :\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down" -noxge -generatemanifest -NoHotReloadFromIDE -ignorejunk
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 3.5394542s to run UnrealBuildTool.exe, ExitCode=0
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win32 Shipping -Project="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject"  "C:\Users\Preston\Desktop\Slow Down 
 MainFrameActions: Packaging (Windows (32-bit)): backups\4.8\Slow_Down\Slow_Down.uproject"  -remoteini="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down" -noxge -NoHotReloadFromIDE -ignorejunk
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Creating makefile for ShooterGame (no existing makefile)
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Parsing headers for ShooterGame
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool:   Running UnrealHeaderTool "C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject" "C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Intermediate\Build\Win32\ShooterGame\Shipping\ShooterGame.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error
 " -Unattended -WarningsAsErrors -installed
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Reflection code generated for ShooterGame in 15.7065803 seconds
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Performing 9 actions (4 in parallel)
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: [4/9] Resource ShooterGame.rc
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: PCH.UELinkerFixupsName.h.cpp
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: PCH.ShooterGameLoadingScreen.h.cpp
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: PCH.ShooterGame.h.cpp
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: UELinkerFixups.cpp
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: ShooterGameLoadingScreen.cpp
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Source\ShooterGame\Public\Online\ShooterGameMode.h(30): error C3668: 'AShooterGameMode::PreLogin': method with override specifier 'override' did not override any base class methods
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Source\ShooterGame\Public\Online\ShooterGameMode.h(30): warning C4263: 'void AShooterGameMode::PreLogin(const FString &,const FString &,const TSharedPtr<ObjectType,0> &,FString &)': member function does not override any base class virtual
  member function
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool:         with
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool:         [
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool:             ObjectType=FUniqueNetId
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool:         ]
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Source\ShooterGame\Public\Online\ShooterGameMode.h(149): warning C4264: 'void AGameMode::PreLogin(const FString &,const FString &,const TSharedPtr<const FUniqueNetId,0> &,FString &)': no override available for virtual member function from
  base 'AGameMode'; function is hidden
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Program Files (x86)\Epic Games\4.12\Engine\Source\Runtime\Engine\Classes\GameFramework/GameMode.h(447): note: see declaration of 'AGameMode::PreLogin'
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: C:\Program Files (x86)\Epic Games\4.12\Engine\Intermediate\Build\Win32\UE4\Inc\Engine\GameplayStatics.generated.h(42): note: see declaration of 'AGameMode'
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Binaries\Win32\ShooterGame-Win32-Shipping.exe
 MainFrameActions: Packaging (Windows (32-bit)): UnrealBuildTool: Total build time: 178.72 seconds
 MainFrameActions: Packaging (Windows (32-bit)): CommandUtils.Run: Run: Took 179.4891208s to run UnrealBuildTool.exe, ExitCode=5
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win32 Shipping -Project="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.
 uproject"  "C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down\Slow_Down.uproject"  -remoteini="C:\Users\Preston\Desktop\Slow Down backups\4.8\Slow_Down" -noxge -NoHotReloadFromIDE -ignorejunk. 
 MainFrameActions: Packaging (Windows (32-bit)): See logfile for details: 'UnrealBuildTool-2016.10.07-14.46.39.txt' 
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars)
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 MainFrameActions: 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 EnvV
 ars)
 MainFrameActions: 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,
  Dictionary`2 InTargetToManifest)
 MainFrameActions: Packaging (Windows (32-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
 MainFrameActions: Packaging (Windows (32-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.BuildCommand.Execute()
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Automation.Process(String[] CommandLine)
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Program.MainProc(Object Param)
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 MainFrameActions: Packaging (Windows (32-bit)):    at AutomationTool.Program.Main()
 MainFrameActions: Packaging (Windows (32-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
 MainFrameActions: Packaging (Windows (32-bit)): Domain_ProcessExit
 MainFrameActions: Packaging (Windows (32-bit)): copying UAT log files...
 MainFrameActions: Packaging (Windows (32-bit)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error

Product Version: UE 4.12
Tags:
more ▼

asked Oct 07 '16 at 08:08 PM in Packaging & Deployment

avatar image

Prestonator
25 3 9 10

avatar image Sean L ♦♦ STAFF Oct 10 '16 at 07:14 PM

Hey Prestonator,

Could you please provide the full output log from your project's Saved->Logs folder after you attempt to package again?

Are you able to package a clean, blank project?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey Prestonator,

After further investigation, it looks like you're trying to upgrade Shooter Game from 4.9 to 4.12, which can definitely cause some issues as far as differences in the code go. I'd recommend downloading Shooter Game strictly for 4.12 and working in that instead, that way you don't have to worry about making the necessary code changes. If you don't want to work in a 4.12 version, then downloading the 4.12 version and comparing the code to your 4.9 version will allow you to ensure you're making all of the right changes.

Let me know if that helps.

Have a great day

more ▼

answered Oct 11 '16 at 02:19 PM

avatar image

Sean L ♦♦ STAFF
43.8k 485 152 440

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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