UE 5.3 Not packaging

Hello,

I have updated Visual studio and SDK but having trouble packaging any projects.

Here’s an example of what I have… Any help would be greatly appreciated.

LogDerivedDataCache: C:/Users/Nathalie/AppData/Local/UnrealEngine/Common/DerivedDataCache: Maintenance finished in +00:00:28.051 and deleted 0 files with total size 0 MiB and 1005 empty folders. Scanned 23480 files in 8660 folders with total size 9459 MiB.
LogUObjectHash: Compacting FUObjectHashTables data took   0.76ms
LogTurnkeySupport: Project requires temp target (Water plugin is enabled)
LogLauncherProfile: Unable to use promoted target - D:/Unreal Projects/PointClick_3D/P_C_Adventure/Binaries/Win64/UnrealGame.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ""C:/Program Files/Epic Games/UE_5.3/Engine/Build/BatchFiles/RunUAT.bat"  -ScriptsForProject="D:/Unreal Projects/PointClick_3D/P_C_Adventure/P_C_Adventure.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=49957  -project="D:/Unreal Projects/PointClick_3D/P_C_Adventure/P_C_Adventure.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook  -project="D:/Unreal Projects/PointClick_3D/P_C_Adventure/P_C_Adventure.uproject"  -unrealexe="C:\Program Files\Epic Games\UE_5.3\Engin
e\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -package -build -pak -iostore -prereqs -archivedirectory="D:/Unreal Projects/Builds/PointClickAdventure" -clientconfig=Development" -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="D:/Unreal Projects/PointClick_3D/P_C_Adventure/P_C_Adventure.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=49957 -project="D:/Unreal Projects/PointClick_3D/P_C_Adventure/P_C_Adventure.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="D:/Unreal Projects/PointClick_3D/P_C_Adventure/P_C_Adventure.uproject" -unrealexe="C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive
 -package -build -pak -iostore -prereqs -archivedirectory="D:/Unreal Projects/Builds/PointClickAdventure" -clientconfig=Development -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules...
UATHelper: Packaging (Windows): Total script module initialization time: 0.16 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 D:\Unreal Projects\PointClick_3D\P_C_Adventure\P_C_Adventure.uproject
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" P_C_Adventure Win64 Development -Project="D:\Unreal Projects\PointClick_3D\P_C_Adventure\P_C_Adventure.uproject" -Manifest="D:\Unreal Projects\PointClick_3D\P_C_Adventure\Intermediate\Build\Manifest.xml"  -remoteini="D:\Unreal Projects\PointClick_3D\P_C_Adventure"  -skipdeploy  -log="C:\Users\Nathalie\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+File
s+Epic+Games+UE_5.3\UBT-P_C_Adventure-Win64-Development.txt"
UATHelper: Packaging (Windows): Log file: C:\Users\Nathalie\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-P_C_Adventure-Win64-Development.txt
UATHelper: Packaging (Windows): Creating makefile for P_C_Adventure (no existing makefile)
UATHelper: Packaging (Windows): Parsing headers for P_C_Adventure
UATHelper: Packaging (Windows):   Running Internal UnrealHeaderTool "D:\Unreal Projects\PointClick_3D\P_C_Adventure\P_C_Adventure.uproject" "D:\Unreal Projects\PointClick_3D\P_C_Adventure\Intermediate\Build\Win64\P_C_Adventure\Development\P_C_Adventure.uhtmanifest" -WarningsAsErrors -installed
UATHelper: Packaging (Windows): Total of 0 written
UATHelper: Packaging (Windows): Reflection code generated for P_C_Adventure in 1.0897855 seconds
UATHelper: Packaging (Windows): Writing manifest to D:\Unreal Projects\PointClick_3D\P_C_Adventure\Intermediate\Build\Manifest.xml
UATHelper: Packaging (Windows): Building P_C_Adventure...
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.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 P_C_Adventure.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 (12 physical cores, 24 logical cores)
UATHelper: Packaging (Windows):   Executing up to 12 processes, one per physical core
UATHelper: Packaging (Windows): ------ Building 6 action(s) started ------
UATHelper: Packaging (Windows): [1/6] Copy d3d12SDKLayers.dll
UATHelper: Packaging (Windows): [2/6] Resource Default.rc2
UATHelper: Packaging (Windows): [3/6] 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): C:\Program Files\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): C:\Program Files\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.77 seconds
UATHelper: Packaging (Windows): Total execution time: 8.15 seconds
UATHelper: Packaging (Windows): Took 8.25s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Nathalie\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.3\UBT-P_C_Adventure-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 10s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

Do you have Visual studio 2022 i had 2019 and i could not pack it without 2022.

Hello Raptor, yes I have both 2019 and 2022 installed.
I use 2019 for 4.27 and I recently installed 2022.

I think the problem is that you installed a compiler version that is too new for UE 5.3

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.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).

[...]

UATHelper: Packaging (Windows): Detected compiler newer than Visual Studio 2022, please update min version checking in

5.3 was launched with these versions

Visual Studio: Visual Studio 2022 17.4 14.34.31933 toolchain and Windows 10 SDK (10.0.18362.0)

https://dev.epicgames.com/documentation/en-us/unreal-engine/unreal-engine-5.3-release-notes?application_version=5.3#platformsdkupgrades

I recommend re-running the visual studio installer, and installing the 14.34.31933 version of MSVC. The IDE version can stay in the version you are now even if it is a bit newer

Thanks @sergio.gardeazabal I will give it a shot

Unfortunately, it seems like I cant update any further than 17.4.0 Preview?


You can click on modify tab on visual studio 2022 and see what windows sdk is installed i use same build 17.13.2 and see what components are installed here are mine and it works with 5.3.
You can also type in project settings " Toolchain " and chose witch visual studio to use for compile.
This is my config for VS 2022

2 Likes

As @RaPtOr_v9600 mentioned, you need to use the modiy option.

What you need is leave the IDE version the same, but install different versions of some components.

For the compiler, In the modify window you can go to the Individual components tab, and then search for MSVC 14.34 , and install the x86 version

2 Likes

Perfect thank you all for the help.
@RaPtOr_v9600 @sergio.gardeazabal
Really appreciate it. It’s all working.

2 Likes

Glad you resolve it, happy compiling and good luck on project !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.