I’m a new developer who spent the last 10 months building my first full game and it failed to build. Please help. I have been going through similar posts but nothing is working.
This is the Error.
Using Visual Studio 2022 14.42.34435 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.42.34433) and Windows 10.0.26100.0 SDK (C:\Program Files (x86)\Windows Kits\10).
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): [Upgrade] Using backward-compatible build settings. The latest version of UE sets the following values by default, which may require code changes:
UATHelper: Packaging (Windows): [Upgrade] CppStandard = CppStandardVersion.Default => Updates C++ Standard to C++20 (Previously: CppStandardVersion.Cpp17).
UATHelper: Packaging (Windows): [Upgrade] WindowsPlatform.bStrictConformanceMode = true => Updates MSVC strict conformance mode to true (Previously: false).
UATHelper: Packaging (Windows): [Upgrade] Suppress this message by setting ‘DefaultBuildSettings = BuildSettingsVersion.V4;’ in Lost_Treasure.Target.cs, and explicitly overriding settings that differ from the new defaults.
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (14 physical cores, 20 logical cores)
UATHelper: Packaging (Windows): Executing up to 14 processes, one per physical core
UATHelper: Packaging (Windows): ------ Building 5 action(s) started ------
UATHelper: Packaging (Windows): [1/5] Resource Default.rc2
UATHelper: Packaging (Windows): [2/5] Compile [x64] SharedPCH.Core.Cpp17.cpp
UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h
UATHelper: Packaging (Windows): D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: ‘__has_feature’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’
UATHelper: Packaging (Windows): D:\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens following preprocessor directive - expected a newline
UATHelper: Packaging (Windows): Total time in Parallel executor: 2.09 seconds
UATHelper: Packaging (Windows): Total execution time: 3.30 seconds
UATHelper: Packaging (Windows): Took 3.37s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\creat\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Epic+Games+UE_5.3\UBT-Lost_Treasure-Win64-Development_2.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 5s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error