HELP: PackagingResults:Error: Error Unknown Error

I’m trying to make a test build for a project I’m working on and the build keeps failing? I’m an artist with very little knowledge of UE4 so this is my first project that I’m trying to package. Below is the Output Log from when I try and build. Any help would be much appreciated, thanks!

MainFrameActions: Packaging (Windows (64-bit)): Running AutomationTool…
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: 2016-05-27T15:30:15.6149637Z: Running on WindowsHostPlatform as a 64-bit process.
MainFrameActions: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=F:/BA Games Art/Year 2/Abington Vale Primary School/UE4/AVPS_Rooftop/AVPS_Rooftop.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=F:/BA Games Art/Year 2/Abington Vale Primary School/UE4/AVPS_Rooftop/AVPS_Rooftop.up
roject -cook -stage -archive -archivedirectory=F:/BA Games Art/Year 2/Abington Vale Primary School/UE4/AVPS_Rooftop/Builds -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
MainFrameActions: Packaging (Windows (64-bit)): WindowsPlatform.get_Compiler: WARNING: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: Compiling scripts.
MainFrameActions: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop\AVPS_Rooftop.uproject
MainFrameActions: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe AVPS_Rooftop Win64 Development -Project=“F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop\AVPS_Rooftop.uproject” “F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop\AVPS_Roof
top.uproject” -remoteini=“F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop” -noxge -generatemanifest -NoHotReloadFromIDE
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1.820904s to run UnrealBuildTool.exe, ExitCode=0
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe AVPS_Rooftop Win64 Development -Project=“F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop\AVPS_Rooftop.uproject” “F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop\AVPS_Roof
top.uproject” -remoteini=“F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop” -noxge -NoHotReloadFromIDE -ignorejunk
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for AVPS_Rooftop (no existing makefile)
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: Windows SDK v8.1 must be installed in order to build this target.
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 4.2296948s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe AVPS_Rooftop Win64 Development -Project=“F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop
AVPS_Rooftop.uproject” “F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop\AVPS_Rooftop.uproject” -remoteini=“F:\BA Games Art\Year 2\Abington Vale Primary School\UE4\AVPS_Rooftop” -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.05.27-16.30.18.txt’
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars)
MainFrameActions: 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 EnvV ars) MainFrameActions: 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) MainFrameActions: Packaging (Windows (64-bit)): a MainFrameActions: Packaging (Windows (64-bit)): t Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) MainFrameActions: Packaging (Windows (64-bit)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.BuildCommand.Execute() MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.MainProc(Object Param) MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)): at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files…
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

Hello,

Looking at the log, I see this error message: Windows SDK v8.1 must be installed in order to build this target.

Please ensure that you have the correct SDK installed. Doing so should allow you to build your project barring any other errors appearing. In the event that other errors do appearing after installing 8.1, please post your new output log so we can see the new errors.

Have a great day

Okay I’ve unstalled the Windows SDK v8.1 and this is the new output log:

The new error message is stating that Visual C++ 2015 Toolchain is not installed correctly. When you install Visual Studio 2015, be sure to select the C++ content from the installer, as it does not come with the program by default.

This page will explain how to install the C++ content: Visual C++ in Visual Studio 2015 | Microsoft Docs

Thank you very much! This fixed my problem :smiley:

hey you just need to fix some particle or some plugin and its work


Can Anybody help me with this issue. I am fed up by this error😟

rename file d8.jar and d8.bat to dx.jar and dx.bat


can i get some help with this please.