Hello everyone,
When I’m trying to build my project in UE5, I got the following error. I don’t know what the problem is, can anyone help me please?
I have installed UE5 5.3.2 , Visual Studio 2022
LogUObjectHash: Compacting FUObjectHashTables data took 1.54ms
LogTurnkeySupport: Project requires temp target (SunPosition plugin is enabled)
LogLauncherProfile: Unable to use promoted target - ../../../../../Unreal Engine projects/Cabling3D/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““R:/Epic Games/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“R:/Unreal Engine projects/Cabling3D/Cabling3D.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50894 -project=“R:/Unreal Engine projects/Cabling3D/Cabling3D.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“R:/Unreal Engine projects/Cabling3D/Cabling3D.uproject” -unrealexe=“R:\Epic Games\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage
-archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“R:/UE5 Export” -distribution -clientconfig=Shipping -nodebuginfo” -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=“R:/Unreal Engine projects/Cabling3D/Cabling3D.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=50894 -project=“R:/Unreal Engine projects/Cabling3D/Cabling3D.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“R:/Unreal Engine projects/Cabling3D/Cabling3D.uproject” -unrealexe=“R:\Epic Games\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archiv
edirectory=“R:/UE5 Export” -distribution -clientconfig=Shipping -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.15 s.
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.22621.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for R:\Unreal Engine projects\Cabling3D\Cabling3D.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: R:\Epic Games\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “R:\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Cabling3D Win64 Shipping -Project=“R:\Unreal Engine projects\Cabling3D\Cabling3D.uproject” -Manifest=“R:\Unreal Engine projects\Cabling3D\Intermediate\Build\Manifest.xml” -remoteini=“R:\Unreal Engine projects\Cabling3D” -skipdeploy -distribution -log=“C:\Users\stanyck\AppData\Roaming\Unreal Engine\AutomationTool\Logs\R+Epic+Games+UE_5.3\UBT-Cabling3D-Win64-Shipping.txt”
UATHelper: Packaging (Windows): Log file: C:\Users\stanyck\AppData\Roaming\Unreal Engine\AutomationTool\Logs\R+Epic+Games+UE_5.3\UBT-Cabling3D-Win64-Shipping.txt
UATHelper: Packaging (Windows): Creating makefile for Cabling3D (manifest ‘R:\Unreal Engine projects\Cabling3D\Intermediate\Build\Manifest.xml’ not found)
UATHelper: Packaging (Windows): Writing manifest to R:\Unreal Engine projects\Cabling3D\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building Cabling3D…
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.43.34809 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.43.34808) and Windows 10.0.22621.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 Cabling3D.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 (6 physical cores, 12 logical cores)
UATHelper: Packaging (Windows): Executing up to 6 processes, one per physical core
UATHelper: Packaging (Windows): ------ Building 4 action(s) started ------
UATHelper: Packaging (Windows): [1/4] 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): R:\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): R:\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.69 seconds
UATHelper: Packaging (Windows): Total execution time: 4.14 seconds
UATHelper: Packaging (Windows): Took 4,25s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\stanyck\AppData\Roaming\Unreal Engine\AutomationTool\Logs\R+Epic+Games+UE_5.3\UBT-Cabling3D-Win64-Shipping.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 6s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error