Hey everyone. I’ve just finished my game and have gone to ship the game and have an error message popup in the output log:
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” AEE Win64 Shipping -Project=“C:\Users\Mike\Documents\Unreal Projects\AEE\AEE.uproject” “C:\Users\Mike\Documents\Unreal Projects\AEE\AEE.uproject” -NoUBTMakefiles -remoteini=“C:\Users\Mike\Documents\Unreal Projects\AEE” -skipdeploy -distribution -Manifest=“C:\Users\Mike\Documents\Unreal Projects\AEE\Intermediate\Build\Manifest.xml” -NoHotReload -log=“C:\Users\Mi
ke\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-AEE-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\Mike\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-AEE-Win64-Shipping.txt
UATHelper: Packaging (Windows): Writing manifest to C:\Users\Mike\Documents\Unreal Projects\AEE\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building AEE…
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.42.34435 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
UATHelper: Packaging (Windows): [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_0
UATHelper: Packaging (Windows): [Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_2;’ in AEE.Target.cs.
UATHelper: Packaging (Windows): [Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (24 physical cores, 32 logical cores)
UATHelper: Packaging (Windows): Executing up to 24 processes, one per physical core
UATHelper: Packaging (Windows): Building 4 actions with 4 processes…
UATHelper: Packaging (Windows): [1/4] Link [x64] AEE-Win64-Shipping.exe cancelled
UATHelper: Packaging (Windows): [2/4] WriteMetadata AEE-Win64-Shipping.target cancelled
UATHelper: Packaging (Windows): [3/4] Compile [x64] SharedPCH.Core.ShadowErrors.InclOrderUnreal5_0.cpp
UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.2\Engine\Source\Runtime\Core\Public\Traits\IsContiguousContainer.h(6): fatal error C1083: Cannot open include file: ‘initializer_list’: No such file or directory
UATHelper: Packaging (Windows): [4/4] Compile [x64] AEE.cpp cancelled
UATHelper: Packaging (Windows): Took 1.2825043s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Mike\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-AEE-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 2s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
I originally had a different error before this, that was relating to the SDK version. I installed Visual Studio and had most things installed with it. I have no idea how to resolve this, and some posts I’ve found suggest copying files deep in the directory of the game engine itself.
Is there some easy solution to this, that doesn’t have me messing around with files that could break the program?
Thank you!