Packaging Error

Still doesn’t work. I removed Substance from the engine.

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=“E:/UE 4.13 Projects/WHITE_Game/4.15/WHITE_TheInfection/WHITE_TheInfection.uproject” BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=“E:/UE 4.13 Projects/WHITE_Game/4.15/WHITE_TheInfection/WHITE_TheInfection.uproject” -cook -stage
-archive -archivedirectory=“E:/UE 4.13 Projects/WHITE_Game/4.15/WHITE_TheInfection/Builds/Win64” -package -clientconfig=Shipping -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -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 E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfection.uproject
UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: E:\UE 4.15\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe WHITE_TheInfection Win64 Shipping -Project=“E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfection.uproject” “E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfection.uproject” -remoteini=“E:\UE 4
.13 Projects\WHITE_Game\4.15\WHITE_TheInfection” -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1,635501s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: E:\UE 4.15\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe WHITE_TheInfection Win64 Shipping -Project=“E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfection.uproject” “E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfection.uproject” -remoteini=“E:\UE 4
.13 Projects\WHITE_Game\4.15\WHITE_TheInfection” -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for WHITE_TheInfection (changes to target files)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 1 actions (4 in parallel)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: [1/1] Link WHITE_TheInfection-Win64-Shipping.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file ‘zlibstatic.lib’
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\Binaries\Win64\WHITE_TheInfection-Win64-Shipping.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 5,47 seconds (Local executor: 0,00 seconds)
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 6,0904993s 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): E:\UE 4.15\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe WHITE_TheInfection Win64 Shipping -Project=“E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfecti
on.uproject” “E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection\WHITE_TheInfection.uproject” -remoteini=“E:\UE 4.13 Projects\WHITE_Game\4.15\WHITE_TheInfection” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.06.30-19.22.47.txt’
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars)
UATHelper: Packaging (Windows (64-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, Dictionary2 EnvVars) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictio
nary2 InTargetToManifest) UATHelper: Packaging (Windows (64-bit)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) UATHelper: Packaging (Windows (64-bit)): at BuildCookRun.ExecuteBuild() UATHelper: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute() UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] Arguments) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param) UATHelper: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED

I can’t figure out what’s wrong. Please, help!

This is a substance problem. See Josh’s fix for it, you will need to compline the c++ code.

Substance plugin is disabled.

Have you got any c++ code files or plugins ?

I do not have C++ code files, but I will try deleting substance plugin from the engine. I have some plugins.

There is also people saying that their Visual Studio is messed up. Do you have VS 2015 installed and made sure you installed all the C++ content? <3