Download

AutomationTool exiting with ExitCode=5 (5)

Hi there,

I didn’t know where to post this, as I didn’t see a “General Help” or “General Issues” forum. I’m trying to package my project for the first time, to get a stand-alone version of it. I installed Visual Studio and have all the distributables installed on my system (AFAIKo). So, I go to…

Package Project -> Windows -> Windows (64 bit)

…and try to make the magic happen. All seems to be going smooth, but after around 2 minutes it stops with:


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

That’s all I get. No other red indications in the log. It simply exits.

Here’s the full log:


LogPlatformFile: Not using cached read wrapper
LogInit:Display: RandInit(1575676216) SRandInit(1575676216).
LogTaskGraph: Started task graph with 5 named threads and 8 total threads with 1 sets of task threads.
LogStats: Stats thread started at 0.077719
LogInit: Using libcurl 7.47.1
LogInit:  - built for x86_64-pc-win32
LogInit:  - supports SSL with OpenSSL/1.0.2g
LogInit:  - supports HTTP deflate (compression) using libz 1.2.8
LogInit:  - other features:
LogInit:      CURL_VERSION_SSL
LogInit:      CURL_VERSION_LIBZ
LogInit:      CURL_VERSION_IPV6
LogInit:      CURL_VERSION_ASYNCHDNS
LogInit:      CURL_VERSION_LARGEFILE
LogInit:      CURL_VERSION_IDN
LogInit:  CurlRequestOptions (configurable via config and command line):
LogInit:  - bVerifyPeer = false  - Libcurl will NOT verify peer certificate
LogInit:  - bUseHttpProxy = false  - Libcurl will NOT use HTTP proxy
LogInit:  - bDontReuseConnections = false  - Libcurl will reuse connections
LogInit:  - CertBundlePath = nullptr  - Libcurl will use whatever was configured at build time.
LogInit: Build: ++UE4+Release-4.15-CL-3348071
LogInit: Engine Version: 4.15.1-3348071+++UE4+Release-4.15
LogInit: Compatible Engine Version: 4.15.0-3299760+++UE4+Release-4.15
LogInit: Net CL: 3299760
LogDevObjectVersion: Number of dev versions registered: 14
LogDevObjectVersion:   Dev-Blueprints (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2): 8
LogDevObjectVersion:   Dev-Build (E1C64328-A22C-4D53-A36C-8E866417BD8C): 0
LogDevObjectVersion:   Dev-Core (375EC13C-06E4-48FB-B500-84F0262A717E): 2
LogDevObjectVersion:   Dev-Editor (E4B068ED-F494-42E9-A231-DA0B2E46BB41): 14
LogDevObjectVersion:   Dev-Framework (CFFC743F-43B0-4480-9391-14DF171D2073): 22
LogDevObjectVersion:   Dev-Mobile (B02B49B5-BB20-44E9-A304-32B752E40360): 0
LogDevObjectVersion:   Dev-Networking (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE): 0
LogDevObjectVersion:   Dev-Online (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C): 0
LogDevObjectVersion:   Dev-Physics (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2): 0
LogDevObjectVersion:   Dev-Platform (6631380F-2D4D-43E0-8009-CF276956A95A): 0
LogDevObjectVersion:   Dev-Rendering (12F88B9F-8875-4AFC-A67C-D90C383ABD29): 12
LogDevObjectVersion:   Dev-Sequencer (7B5AE74C-D270-4C10-A958-57980B212A5A): 3
LogDevObjectVersion:   Dev-VR (D7296918-1DD6-4BDD-9DE2-64A83CC13884): 0
LogDevObjectVersion:   Dev-LoadTimes (C2A15278-BFE7-4AFE-6C17-90FF531DF755): 1
LogInit: Compiled (64-bit): Mar 15 2017 16:52:47
LogInit: Compiled with Visual C++: 19.00.23026.00
LogInit: Build Configuration: Development
LogInit: Branch Name: ++UE4+Release-4.15
LogInit: Command line: -EpicPortal 
LogInit: Base directory: C:/Program Files/Epic Games/UE_4.15/Engine/Binaries/Win64/
LogInit: Installed Engine Build: 1
LogInit: Presizing for max 8388607 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogInit: Object subsystem initialized
LogInit: Selected Device Profile: [Windows]
LogInit: Applying CVar settings loaded from the selected device profile: [Windows]
LogInit: Computer: DESKTOP-K7NACT2
LogInit: User: krusty
LogInit: CPU Page size=65536, Cores=4
LogInit: High frequency timer resolution =3.117785 MHz
LogMemory: Memory total: Physical=7.9GB (8GB approx)
LogMemory: Platform Memory Stats for Windows
LogMemory: Process Physical Memory: 262.83 MB used, 262.83 MB peak
LogMemory: Process Virtual Memory: 262.27 MB used, 262.27 MB peak
LogMemory: Physical Memory: 3185.51 MB used,  4946.28 MB free, 8131.79 MB total
LogMemory: Virtual Memory: 644.27 MB used,  4946.28 MB free, 134217728.00 MB total
LogTextLocalizationManager: No translations for ('de-DE') exist, falling back to 'en' for localization and internationalization data.
LogD3D11RHI: D3D11 adapters:
LogD3D11RHI:    0. 'NVIDIA GeForce GTX 970' (Feature Level 11_0)
LogD3D11RHI:       4059/0/4065 MB DedicatedVideo/DedicatedSystem/SharedSystem, Outputs:1, VendorId:0x10de
LogD3D11RHI:    1. 'Microsoft Basic Render Driver' (Feature Level 11_0)
LogD3D11RHI:       0/0/4065 MB DedicatedVideo/DedicatedSystem/SharedSystem, Outputs:0, VendorId:0x1414
LogD3D11RHI: Chosen D3D11 Adapter: 0
LogD3D11RHI: Creating new Direct3DDevice
LogD3D11RHI:     GPU DeviceId: 0x13c2 (for the marketing name, search the web for "GPU Device Id")
LogWindows: EnumDisplayDevices:
LogWindows:    0. 'NVIDIA GeForce GTX 970' (P:1 D:1)
LogWindows:    1. 'NVIDIA GeForce GTX 970' (P:0 D:0)
LogWindows:    2. 'NVIDIA GeForce GTX 970' (P:0 D:0)
LogWindows:    3. 'NVIDIA GeForce GTX 970' (P:0 D:0)
LogWindows: DebugString: FoundDriverCount:4 
LogD3D11RHI:     Adapter Name: NVIDIA GeForce GTX 970
LogD3D11RHI:   Driver Version: 381.65 (internal:22.21.13.8165, unified:381.65)
LogD3D11RHI:      Driver Date: 3-31-2017
LogRHI: Texture pool is 1361 MB (70% of 1945 MB)
LogD3D11RHI: Async texture creation enabled
LogD3D11RHI: GPU Timing Frequency: 1000.000000 (Debug: 2 1)
LogShaderCompilers: Guid format shader working directory is -2 characters bigger than the processId version (F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/Intermediate/Shaders/WorkingDirectory/8576/).
LogShaderCompilers: Cleaned the shader compiler working directory 'C:/Users/krusty/AppData/Local/Temp/UnrealShaderWorkingDir/91E3756C4DE3B9772EEFBAB379B87905/'.
LogShaderCompilers:Display: Using Local Shader Compiler.
LogTemp:Display: Loaded TP AllDesktopTargetPlatform
LogTemp:Display: Loaded TP MacClientTargetPlatform
LogTemp:Display: Loaded TP MacNoEditorTargetPlatform
LogTemp:Display: Loaded TP MacServerTargetPlatform
LogTemp:Display: Loaded TP MacTargetPlatform
LogTemp:Display: Loaded TP WindowsClientTargetPlatform
LogTemp:Display: Loaded TP WindowsNoEditorTargetPlatform
LogTemp:Display: Loaded TP WindowsServerTargetPlatform
LogTemp:Display: Loaded TP WindowsTargetPlatform
LogTemp:Display: Loaded TP AndroidTargetPlatform
LogTemp:Display: Loaded TP Android_ASTCTargetPlatform
LogTemp:Display: Loaded TP Android_ATCTargetPlatform
LogTemp:Display: Loaded TP Android_DXTTargetPlatform
LogTemp:Display: Loaded TP Android_ETC1TargetPlatform
LogTemp:Display: Loaded TP Android_ETC2TargetPlatform
LogTemp:Display: Loaded TP Android_MultiTargetPlatform
LogTemp:Display: Loaded TP Android_PVRTCTargetPlatform
LogTemp:Display: Loaded TP HTML5TargetPlatform
LogTemp:Display: Loaded TP IOSTargetPlatform
LogTemp:Display: Loaded TP TVOSTargetPlatform
LogTemp:Display: Loaded TP LinuxClientTargetPlatform
LogTemp:Display: Loaded TP LinuxNoEditorTargetPlatform
LogTemp:Display: Loaded TP LinuxServerTargetPlatform
LogTemp:Display: Loaded TP LinuxTargetPlatform
LogTargetPlatformManager:Display: Building Assets For Windows
LogDerivedDataCache:Display: Max Cache Size: 512 MB
LogDerivedDataCache: Loaded boot cache 0.09s 76MB C:/Users/krusty/AppData/Local/UnrealEngine/4.15/DerivedDataCache/Boot.ddc.
LogDerivedDataCache:Display: Loaded Boot cache: C:/Users/krusty/AppData/Local/UnrealEngine/4.15/DerivedDataCache/Boot.ddc
LogDerivedDataCache: FDerivedDataBackendGraph:  Pak pak cache file F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/DerivedDataCache/DDC.ddp not found, will not use a pak cache.
LogDerivedDataCache: Unable to find inner node Pak for hierarchical cache Hierarchy.
LogDerivedDataCache: FDerivedDataBackendGraph:  CompressedPak pak cache file F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/DerivedDataCache/Compressed.ddp not found, will not use a pak cache.
LogDerivedDataCache: Unable to find inner node CompressedPak for hierarchical cache Hierarchy.
LogDerivedDataCache:Display: Pak cache opened for reading ../../../Engine/DerivedDataCache/Compressed.ddp.
LogDerivedDataCache: Using Local data cache path F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/LocalDerivedDataCache: Writable
LogSlate: Using Freetype 2.6.0
LogSlate: SlateFontCache - WITH_FREETYPE: 1, WITH_HARFBUZZ: 1
LogSlate: SlateFontCache - WITH_FREETYPE: 1, WITH_HARFBUZZ: 1
LogInit: Selected Device Profile: [Windows]
LogMeshUtilities: Using QuadricMeshReduction for automatic static mesh reduction
LogSimplygon: Simplygon DLL not present - disabling.
LogMeshUtilities: Using SimplygonSwarm for distributed automatic mesh merging
LogMeshUtilities: No automatic skeletal mesh reduction module available
LogMeshUtilities: No automatic mesh merging module available
LogNetVersion: GetLocalNetworkVersion: CL: 3299760, ProjectName: TestprojectLaunch_01, ProjectVersion: , EngineNetworkVersion: 2, GameNetworkVersion: 0, NetworkChecksum: 2147605579
LogAssetRegistry: FAssetRegistry took 0.0216 seconds to start up
LogPackageLocalizationCache: Processed 3 localized package path(s) for 1 prioritized culture(s) in 0.688896 seconds
LogUObjectArray: 32493 objects as part of root set at end of initial load.
LogUObjectAllocator: 7077032 out of 0 bytes used by permanent object pool.
LogUObjectArray: CloseDisregardForGC: 0/0 objects in disregard for GC pool
LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
LogTcpMessaging: Initializing TcpMessaging bridge
LogUdpMessaging: Initializing bridge on interface 0.0.0.0:0 to multicast group 230.0.0.1:6666.
LogMaterial: Uniform references updated for custom material expression Custom.
SourceControl: Info Source control is disabled
SourceControl: Info Source control is disabled
SourceControl: Info Source control is disabled
SourceControl: Info Source control is disabled
LogAnsel: Tried to load ../../../Engine/Plugins/Runtime/Nvidia/Ansel/Binaries/ThirdParty/AnselSDK64.dll : success=1
LogEngine: Initializing Engine...
LogHMD: Failed to initialize OpenVR with code 110
LogAIModule: Creating AISystem for world Untitled
LogInit: XAudio2 using 'Lautsprecher (Realtek High Definition Audio)' : 2 channels at 48 kHz using 32 bits per sample (channel mask 0x3)
LogInit: FAudioDevice initialized.
LogDerivedDataCache: Saved boot cache 0.05s 76MB C:/Users/krusty/AppData/Local/UnrealEngine/4.15/DerivedDataCache/Boot.ddc.
LogInit: Texture streaming: Disabled
LogEngineSessionManager: EngineSessionManager initialized
LogInit: Transaction tracking system initialized
BlueprintLog: New page: Editor Load
LocalizationService: Info Localization service is disabled
LogCook:Display: Max memory allowance for cook 16384mb min free memory 0mb
LogCook:Display: Mobile HDR setting 1
LogFileCache: Scanning file cache for directory 'F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/Content/' took 0.02s
SourceControl: Info Source control is disabled
Cmd: MAP LOAD FILE="F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/Content/AI_vol3_01/Maps/TestprojectLaunch_01.umap" TEMPLATE=0 SHOWPROGRESS=1 FEATURELEVEL=3
LightingResults: New page: Lighting Build
MapCheck: New page: Map Check
LightingResults: New page: Lighting Build
LogAIModule: Creating AISystem for world TestprojectLaunch_01
LogEditorServer: Finished looking for orphan Actors (0.000 secs)
Cmd: MAP CHECKDEP NOCLEARLOG
MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 10,625.139ms to complete.
LogFileHelpers: Loading map 'TestprojectLaunch_01' took 181.323
LogCollectionManager: Loaded 0 collections in 0.001655 seconds
LogFileCache: Scanning file cache for directory 'F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/Saved/Collections/' took 0.01s
LogFileCache: Scanning file cache for directory 'F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/Content/Developers/krusty/Collections/' took 0.01s
LogFileCache: Scanning file cache for directory 'F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/Content/Collections/' took 0.01s
LogCollectionManager: Rebuilt the GUID cache for 0 collections in 0.000283 seconds
LogContentBrowser: Native class hierarchy populated in 0.0227 seconds. Added 2245 classes and 453 folders.
LogStats: UGameplayTagsManager::ConstructGameplayTagTree: Construct from data asset -  0.010 s
LogStats: UGameplayTagsManager::ConstructGameplayTagTree: GameplayTagTreeChangedEvent.Broadcast -  0.000 s
LogContentBrowser: Native class hierarchy updated for 'WidgetCarousel' in 0.0005 seconds. Added 0 classes and 0 folders.
LogContentBrowser: Native class hierarchy updated for 'AddContentDialog' in 0.0005 seconds. Added 0 classes and 0 folders.
LogContentBrowser: Native class hierarchy updated for 'SceneOutliner' in 0.0006 seconds. Added 1 classes and 2 folders.
LogCrashTracker: Crashtracker disabled due to settings.
LogUObjectGlobals:Warning: Failed to find object 'Class None.'
LogContentBrowser: Native class hierarchy updated for 'HierarchicalLODOutliner' in 0.0005 seconds. Added 1 classes and 2 folders.
LogLoad: (Engine Initialization) Total time: 217.45 seconds
LogLoad: (Engine Initialization) Total Blueprint compile time: 0.15 seconds
LogExternalProfiler: Found external profiler: VSPerf
LogExternalProfiler: Using external profiler: VSPerf
LogWindowsTextInputMethodSystem:Display: IME system now deactivated.
LogOcInput: OculusInput pre-init called
LogSlate: Took 0.033387 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf' (155K)
LogSlate: Took 0.025394 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Bold.ttf' (160K)
LogSlate: Took 0.057237 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/FontAwesome.ttf' (139K)
LogRenderer: Reallocating scene render targets to support 1616x808 NumSamples 1 (Frame:2).
LogAssetRegistry: Asset discovery search completed in 218.6430 seconds
LogCollectionManager: Rebuilt the object cache for 0 collections in 0.026142 seconds (found 0 objects)
LogCollectionManager: Fixed up redirectors for 0 collections in 0.034948 seconds (updated 0 objects)
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/TestprojectLaunch_01.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=F:/Projekte/rumble/Data/Scenes/TestprojectLaunch_01/TestprojectLaunch_01.uproject -cook -stage -archive -archivedi
rectory=C:/Users/krusty/Desktop -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -manifests -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:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\TestprojectLaunch_01.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 TestprojectLaunch_01 Win64 Development -Project=F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\TestprojectLaunch_01.uproject  F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\TestprojectLaunch_01.uproject  -remoteini="F:\Projek
te\rumble\Data\Scenes\TestprojectLaunch_01" -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 3,9803257s 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 TestprojectLaunch_01 Win64 Development -Project=F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\TestprojectLaunch_01.uproject  F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\TestprojectLaunch_01.uproject  -remoteini="F:\Projek
te\rumble\Data\Scenes\TestprojectLaunch_01" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for TestprojectLaunch_01 (no existing makefile)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
LogSlate: Took 0.081252 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf' (77K)
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 42,4371276s 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 TestprojectLaunch_01 Win64 Development -Project=F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\AI_vo
l3_scene_01.uproject  F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01\TestprojectLaunch_01.uproject  -remoteini="F:\Projekte\rumble\Data\Scenes\TestprojectLaunch_01" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.04.15-19.30.23.txt' 
UATHelper: Packaging (Windows (64-bit)):    bei 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)):    bei 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)):    bei AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    bei 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)):    bei 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)):    bei 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)):    bei Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (64-bit)):    bei BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    bei BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (64-bit)):    bei AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)):    bei AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)):    bei AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (Windows (64-bit)):    bei AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    bei AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)):    bei 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

Any help would be appreciated.


EDIT: During further investigation of this problem, I installed the Windows SDK v8.1, but the packaging process still exits as shown above.
So, the Windows SDK 8.1 does not have anything to do with the exit.

UnrealBuildTool: ERROR: Windows SDK v8.1 must be installed in order to build this target
this might be the reason from the log.

Thanks for your reply, but as I already posted above, I installed SDK v8.1 and it still doesn’t work. It simply exits without any further notice.

One might be tempted to take the final output line from the UE4 log as a joke:

But I assume it’s meant seriously.

:frowning:

The later errors are meaningless, they’re just an outer script/executable notifying of failure because something they invoked failed. The first error is always the cause.

If the output is still the same, then the 8.1 SDK has everything to do with the exit. It’s telling you that’s why it failed. If you installed it, then obviously Unreal isn’t finding it where it expected to. I don’t know why that would be or how to fix it, but that’s the issue.

This could be a problem if you have changed your project name, not in a proper method.

For solving this go to Project Folder-> Intermediate -> Source -> and Delete the .cs and.cpp files with old project name.

My problem was solved by this. I hope it helps you too.

1 Like

Yes, it helped to delete from the source, but partially, I had to kill a lot of folders, but the project started (I’m doing it on the phone).
And, tell me how to rename correctly, i.e. I have a project, on the basis of it I want to execute another, well, so as not to redo the project settings on a new one. Maybe there is a guide? Or a video?

You are literally my HERO right now. This exact issue solved it immediately for me after making many revision clones of the project. I am like someone watching their team win the Superbowl right now. You saved my game and definitely made my day after dealing with this for hours and hours. THANK YOU!!!