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"

I am unable to package my project. Tried VS2015 and VS2017

I am making a multiplayer FPS, I have packaged the game earlier, it was mostly fine, except multiplayer didn't work in packaged build, only in editor, that's a different topic though.

I belive the last thing that happened was a power outage in the building, since then I have not been able to package the project. Everything within the editor seems fine though. Would love some suggestions / help on this. Below is Output Log of packaging :D

 UATHelper: Packaging (Windows
 (64-bit)): Running AutomationTool...
 UATHelper: Packaging (Windows
 (64-bit)):
 Automation.ParseCommandLine: Parsing
 command line:
 -ScriptsForProject="D:/Marcus/Documents/Unreal
 Projects/FreshFPS/FreshFPS.uproject"
 BuildCookRun -nocompile
 -nocompileeditor -installed -nop4 -project="D:/Marcus/Documents/Unreal Projects/FreshFPS/FreshFPS.uproject"
 -cook -stage -archive -archivedirectory="D:/Marcus/D ocuments/Unreal
 Projects/PackagedBuilds" -package
 -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output UATHelper: Packaging (Windows (64-bit)):
 Automation.Process: Setting up command
 environment. UATHelper: Packaging
 (Windows (64-bit)):
 CommandEnvironment.SetupBuildEnvironment:
 WARNING: Couldn't find installation of
 Visual Studio UATHelper: Packaging
 (Windows (64-bit)):
 CommandEnvironment.SetupBuildEnvironment:
 WARNING: Assuming no solution
 compilation capability. UATHelper:
 Packaging (Windows (64-bit)):
 BuildCookRun.SetupParams: Setting up
 ProjectParams for
 D:\Marcus\Documents\Unreal
 Projects\FreshFPS\FreshFPS.uproject
 UATHelper: Packaging (Windows
 (64-bit)): Project.Build: **********
 BUILD COMMAND STARTED **********
 UATHelper: Packaging (Windows
 (64-bit)): CommandUtils.Run: Run:
 C:\Program Files\Epic
 Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe
 FreshFPS Win64 Development
 -Project="D:\Marcus\Documents\Unreal Projects\FreshFPS\FreshFPS.uproject" 
 "D:\Marcus\Documents\Unreal
 Projects\FreshFPS\FreshFPS.uproject" 
 -remoteini="D:\Marcus\Documents\Unreal Projects\F reshFPS" -noxge
 -generatemanifest -NoHotReload UATHelper: Packaging (Windows
 (64-bit)): CommandUtils.Run: Run: Took
 0,8224712s to run UnrealBuildTool.exe,
 ExitCode=0 UATHelper: Packaging
 (Windows (64-bit)): CommandUtils.Run:
 Run: C:\Program Files\Epic
 Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe
 FreshFPS Win64 Development
 -Project="D:\Marcus\Documents\Unreal Projects\FreshFPS\FreshFPS.uproject" 
 "D:\Marcus\Documents\Unreal
 Projects\FreshFPS\FreshFPS.uproject" 
 -remoteini="D:\Marcus\Documents\Unreal Projects\F reshFPS" -noxge
 -NoHotReload -ignorejunk UATHelper: Packaging (Windows (64-bit)):
 UnrealBuildTool: Performing 2 actions
 (4 in parallel) UATHelper: Packaging
 (Windows (64-bit)): UnrealBuildTool:
 MyClass.cpp UATHelper: Packaging
 (Windows (64-bit)): UnrealBuildTool:
 D:\Marcus\Documents\Unreal
 Projects\FreshFPS\Source\FreshFPS\MyClass.cpp(7):
 error C2600: 'MyClass::MyClass':
 cannot define a compiler-generated
 special member function (must be
 declared in the class first)
 UATHelper: Packaging (Windows
 (64-bit)): UnrealBuildTool:
 D:\Marcus\Documents\Unreal
 Projects\FreshFPS\Source\FreshFPS\MyClass.cpp(11):
 error C2600: 'MyClass::~MyClass':
 cannot define a compiler-generated
 special member function (must be
 declared in the class first)
 UATHelper: Packaging (Windows
 (64-bit)): UnrealBuildTool: ERROR: UBT
 ERROR: Failed to produce item:
 D:\Marcus\Documents\Unreal
 Projects\FreshFPS\Binaries\Win64\FreshFPS.pdb
 UATHelper: Packaging (Windows
 (64-bit)): UnrealBuildTool: Total
 build time: 1,86 seconds (Local
 executor: 0,00 seconds) UATHelper:
 Packaging (Windows (64-bit)):
 CommandUtils.Run: Run: Took 2,1037059s
 to run UnrealBuildTool.exe, ExitCode=5
 UATHelper: Packaging (Windows
 (64-bit)): Program.Main: ERROR:
 AutomationTool terminated with
 exception:
 AutomationTool.CommandUtils+CommandFailedException:
 Command failed (Result:5): C:\Program
 Files\Epic
 Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe
 FreshFPS Win64 Development
 -Project="D:\Marcus\Documents\Unreal Projects\FreshFPS\FreshFPS.uprojec t" 
 "D:\Marcus\Documents\Unreal
 Projects\FreshFPS\FreshFPS.uproject" 
 -remoteini="D:\Marcus\Documents\Unreal Projects\FreshFPS" -noxge -NoHotReload
 -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.04.21-19.55.08.txt'
 UATHelper: Packaging (Windows
 (64-bit)):    ved
 AutomationTool.CommandUtils.RunAndLog(String
 App, String CommandLine, String
 Logfile, Int32 MaxSuccessCode, String
 Input, ERunOptions Options,
 Dictionary`2 EnvVars,
 SpewFilterCallbackType
 SpewFilterCallback) UATHelper:
 Packaging (Windows (64-bit)):    ved
 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 (64-bit)):    ved
 AutomationTool.CommandUtils.RunUBT(CommandEnvironment
 Env, String UBTExecutable, String
 CommandLine, String LogName,
 Dictionary`2 EnvVars) UATHelper:
 Packaging (Windows (64-bit)):    ved
 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 (64-bit)):    ved
 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
 (64-bit)):    ved
 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, Dicti
 onary`2 InTargetToManifest) UATHelper:
 Packaging (Windows (64-bit)):    ved
 Project.Build(BuildCommand Command,
 ProjectParams Params, Int32 WorkingCL,
 ProjectBuildTargets TargetMask)
 UATHelper: Packaging (Windows
 (64-bit)):    ved
 BuildCookRun.DoBuildCookRun(ProjectParams
 Params) UATHelper: Packaging (Windows
 (64-bit)):    ved
 BuildCookRun.ExecuteBuild() UATHelper:
 Packaging (Windows (64-bit)):    ved
 AutomationTool.BuildCommand.Execute()
 UATHelper: Packaging (Windows
 (64-bit)):    ved
 AutomationTool.Automation.Execute(List`1
 CommandsToExecute,
 CaselessDictionary`1 Commands)
 UATHelper: Packaging (Windows
 (64-bit)):    ved
 AutomationTool.Automation.Process(String[]
 Arguments) UATHelper: Packaging
 (Windows (64-bit)):    ved
 AutomationTool.Program.MainProc(Object
 Param) UATHelper: Packaging (Windows
 (64-bit)):    ved
 AutomationTool.InternalUtils.RunSingleInstance(Func`2
 Main, Object Param) UATHelper:
 Packaging (Windows (64-bit)):    ved
 AutomationTool.Program.Main()
 UATHelper: Packaging (Windows
 (64-bit)): Program.Main:
 AutomationTool exiting with ExitCode=5
 (5) UATHelper: Packaging (Windows
 (64-bit)): BUILD FAILED
 PackagingResults:Error: Error Unknown
 Error LogSlate: Took 0.000161 seconds
 to synchronously load lazily loaded
 font
 '../../../Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf'
 (77K)

Product Version: UE 4.15
Tags:
more ▼

asked Apr 21 '17 at 06:00 PM in Packaging & Deployment

avatar image

SolidRubrical
5 1 3 6

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

1 answer: sort voted first

Hello SolidRubrical,

From looking through the log and searching for the word error, I came across a couple compilation errors:

 D:\Marcus\Documents\Unreal Projects\FreshFPS\Source\FreshFPS\MyClass.cpp(7): error C2600: 'MyClass::MyClass': cannot define a compiler-generated special member function (must be declared in the class first)

 D:\Marcus\Documents\Unreal Projects\FreshFPS\Source\FreshFPS\MyClass.cpp(11): error C2600: 'MyClass::~MyClass': cannot define a compiler-generated special member function (must be declared in the class first)

These seem fairly simple. Can you try fixing these and see if the project is able to package successfully? If not, take a look at the new log as there may be more errors similar to this. If you need help diagnosing any new errors, please feel free to post the new log.

more ▼

answered Apr 21 '17 at 08:16 PM

avatar image SolidRubrical Apr 21 '17 at 08:36 PM

Oh wow that was simple. I am new to UE4 and though all errors showed in red. Thanks for the help. This actually solved another problem I had too. When trying to create an online session the game would crash, but it doesn't anymore. :D

(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