Packaging Error UE4 4.15.1 Error Unknown Error

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=F:/jfgufht/jfgufht.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=F:/jfgufht/jfgufht.uproject -cook -stage -archive -archivedirectory=“C:/Users/KlebsAlmeida/Desktop/Nova pasta” -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)): BuildCookRun.SetupParams: Setting up ProjectParams for F:\jfgufht\jfgufht.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 jfgufht Win64 Development -Project=F:\jfgufht\jfgufht.uproject F:\jfgufht\jfgufht.uproject -remoteini=“F:\jfgufht” -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1,7786828s 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 jfgufht Win64 Development -Project=F:\jfgufht\jfgufht.uproject F:\jfgufht\jfgufht.uproject -remoteini=“F:\jfgufht” -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for jfgufht (no existing makefile)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: Windows SDK v8.1 must be installed in order to build this target.
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 5,2840223s 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 jfgufht Win64 Development -Project=F:\jfgufht\jfgufht.uproject F:\jfgufht\jfgufht.uproject -remo
teini=“F:\jfgufht” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.04.18-19.20.50.txt’
UATHelper: Packaging (Windows (64-bit)): em AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Windows (64-bit)): em 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)): em AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) UATHelper: Packaging (Windows (64-bit)): em 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)): em 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)): em 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)): em Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) UATHelper: Packaging (Windows (64-bit)): em BuildCookRun.DoBuildCookRun(ProjectParams Params) UATHelper: Packaging (Windows (64-bit)): em BuildCookRun.ExecuteBuild() UATHelper: Packaging (Windows (64-bit)): em AutomationTool.BuildCommand.Execute() UATHelper: Packaging (Windows (64-bit)): em AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) UATHelper: Packaging (Windows (64-bit)): em AutomationTool.Automation.Process(String[] Arguments) UATHelper: Packaging (Windows (64-bit)): em AutomationTool.Program.MainProc(Object Param) UATHelper: Packaging (Windows (64-bit)): em AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)): em 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

Check to make sure your project isn’t read only. My team experiences this quite often due to our version control software. We delegate one team member to build. That member will go to the properties of the project folder and uncheck the box that says “Read Only”, and applies it to all files and subfolders. That usually clears up the ExitCode= 5 issues.