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 :smiley:

UATHelper: Packaging (Windows
(64-bit)): Running AutomationTool...
UATHelper: Packaging (Windows
(64-bit)):
Automation.ParseCommandLine: Parsing
command line:
-ScriptsForProject="D://Documents/Unreal
Projects/FreshFPS/FreshFPS.uproject"
BuildCookRun -nocompile
-nocompileeditor -installed -nop4 -project="D://Documents/Unreal Projects/FreshFPS/FreshFPS.uproject"
-cook -stage -archive -archivedirectory="D://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:\\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:\\Documents\Unreal Projects\FreshFPS\FreshFPS.uproject" 
"D:\\Documents\Unreal
Projects\FreshFPS\FreshFPS.uproject" 
-remoteini="D:\\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:\\Documents\Unreal Projects\FreshFPS\FreshFPS.uproject" 
"D:\\Documents\Unreal
Projects\FreshFPS\FreshFPS.uproject" 
-remoteini="D:\\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:\\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:\\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:\\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:\\Documents\Unreal Projects\FreshFPS\FreshFPS.uprojec t" 
"D:\\Documents\Unreal
Projects\FreshFPS\FreshFPS.uproject" 
-remoteini="D:\\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)

Hello SolidRubrical,

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

D:\\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:\\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.

Oh wow that was simple. I am new to UE4 and though all errors showed in . 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. :smiley: