# I tried to package my Game and it failed.  

**URL:** <https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine\
**Created:** [February 3, 2025, 3:48pm UTC](https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123 "2025-02-03T15:48:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thressnoriynne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thressnoriynne](https://forums.unrealengine.com/u/Thressnoriynne)\
**Post date:** [February 3, 2025, 3:48pm UTC](https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123/1 "2025-02-03T15:48:35Z")

</div>

Hello! I tried to package my game, and it always gets about 7 seconds in, and then says packaging failed. This is what the output log says.

UATHelper: Packaging (Windows): Log file: C:\Users\jtw26\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4\UBA-Fight\_game-Win64-Shipping.txt  
UATHelper: Packaging (Windows): Cleaning Fight\_game binaries…  
UATHelper: Packaging (Windows): Available x64 toolchains (1):  
UATHelper: Packaging (Windows): \* C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433  
UATHelper: Packaging (Windows): (Family=14.42.34433, FamilyRank=5, Version=14.42.34436, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)  
UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.42.34436 is not a preferred version. Please use the latest preferred version 14.38.33130  
UATHelper: Packaging (Windows): Took 2.81s to run dotnet.exe, ExitCode=0  
UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE\_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE\_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Fight\_game Win64 Shipping -Project=C:\Unreal\Projects\Toon\_dash\Fight\_game.uproject -Manifest=C:\Unreal\Projects\Toon\_dash\Intermediate\Build\Manifest.xml -remoteini=“C:\Unreal\Projects\Toon\_dash” -skipdeploy -log=“C:\Users\jtw26\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4\UBA-Fight\_game-Win64-Shipping\_2.txt”  
UATHelper: Packaging (Windows): Log file: C:\Users\jtw26\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4\UBA-Fight\_game-Win64-Shipping\_2.txt  
UATHelper: Packaging (Windows): Creating makefile for Fight\_game (no existing makefile)  
UATHelper: Packaging (Windows): Available x64 toolchains (1):

Also! I modeled all the assets by myself. Is that problem for packaging?

UATHelper: Packaging (Windows): \* C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433  
UATHelper: Packaging (Windows): (Family=14.42.34433, FamilyRank=5, Version=14.42.34436, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)  
UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.42.34436 is not a preferred version. Please use the latest preferred version 14.38.33130  
UATHelper: Packaging (Windows): Available x64 toolchains (1):  
UATHelper: Packaging (Windows): \* C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433  
UATHelper: Packaging (Windows): (Family=14.42.34433, FamilyRank=5, Version=14.42.34436, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64)  
UATHelper: Packaging (Windows): Visual Studio 2022 compiler version 14.42.34436 is not a preferred version. Please use the latest preferred version 14.38.33130  
UATHelper: Packaging (Windows): Parsing headers for Fight\_game  
UATHelper: Packaging (Windows): Running Internal UnrealHeaderTool C:\Unreal\Projects\Toon\_dash\Fight\_game.uproject C:\Unreal\Projects\Toon\_dash\Intermediate\Build\Win64\Fight\_game\Shipping\Fight\_game.uhtmanifest -WarningsAsErrors -installed  
UATHelper: Packaging (Windows): Total of 0 written  
UATHelper: Packaging (Windows): Reflection code generated for Fight\_game in 1.0823404 seconds  
UATHelper: Packaging (Windows): Writing manifest to C:\Unreal\Projects\Toon\_dash\Intermediate\Build\Manifest.xml  
UATHelper: Packaging (Windows): Building Fight\_game…  
UATHelper: Packaging (Windows): Using Visual Studio 2022 14.42.34436 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.42.34433) and Windows 10.0.26100.0 SDK (C:\Program Files (x86)\Windows Kits\10).  
UATHelper: Packaging (Windows): Warning: Visual Studio 2022 compiler is not a preferred version  
UATHelper: Packaging (Windows): [Adaptive Build] Excluded from Fight\_game unity file: Fight\_game.cpp  
PackagingResults: Warning: Visual Studio 2022 compiler is not a preferred version  
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): Requested 1.5 GB memory per action, 1.43 GB available: limiting max parallel actions to 1  
UATHelper: Packaging (Windows): Using Parallel executor to run 13 action(s)  
UATHelper: Packaging (Windows): ------ Building 13 action(s) started ------  
UATHelper: Packaging (Windows): [1/13] Compile [x64] SharedPCH.Core.Project.ValApi.Cpp20.cpp  
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE\_5.4\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.4\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens following preprocessor directive - expected a newline  
UATHelper: Packaging (Windows): [2/13] Resource Default.rc2  
UATHelper: Packaging (Windows): [3/13] Copy D3D12Core.dll  
UATHelper: Packaging (Windows): [4/13] Copy d3d12SDKLayers.dll  
UATHelper: Packaging (Windows): [5/13] Copy OpenImageDenoise.dll  
UATHelper: Packaging (Windows): [6/13] Copy tbb.dll  
UATHelper: Packaging (Windows): [7/13] Copy tbb.pdb  
UATHelper: Packaging (Windows): [8/13] Copy tbb12.dll  
UATHelper: Packaging (Windows): [9/13] Copy tbbmalloc.dll  
UATHelper: Packaging (Windows): [10/13] Copy tbbmalloc.pdb  
UATHelper: Packaging (Windows): Total time in Parallel executor: 5.19 seconds  
UATHelper: Packaging (Windows): Total execution time: 10.11 seconds  
UATHelper: Packaging (Windows): Took 10.37s to run dotnet.exe, ExitCode=6  
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\jtw26\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4\UBA-Fight\_game-Win64-Shipping\_2.txt)  
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 16s  
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (Windows): BUILD FAILED  
PackagingResults: Error: Unknown Error

I also modeled all the assets by myself. Will that impact on how it packages?

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [February 3, 2025, 5:44pm UTC](https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123/2 "2025-02-03T17:44:33Z")

</div>

Hello, Welcome to the Forums,

I did a google search for “unreal engine ConcurrentLinearAllocator.h” (a term from the ERROR part of your log) and found some forum threads that may help you solve it:

> [@UE5.3 cannot build project](https://forums.unrealengine.com/t/ue5-3-cannot-build-project/2133106):
>
> For Those who cannot build C++ project via UE5.3: For anyone who has this issue, please downgrade your VS 2022’s MSVC version. [2/6] Compile [x64] SharedPCH.Engine.Cpp20.cpp Detected compiler newer than Visual Studio 2022, please update min version checking in WindowsPlatformCompilerSetup.h D:\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4668: û???\_\_has\_feature???ΪԤ???꣬???0???#if/#elif?? D:\UE\_5.3\Engine\Source\Runtime\Core\Public\E…

> [@Can't compile 5.4 Projects anymore, I need help.](https://forums.unrealengine.com/t/cant-compile-5-4-projects-anymore-i-need-help/2138002):
>
> So a while back I started getting this message from the engine whenever I tried creating a new project in unreal engine 5.4. C:\Program Files\Epic Games\UE\_5.4\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’ C:\Program Files\Epic Games\UE\_5.4\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens followi…

---

<div class="post-metadata">

**Author:** ![Thressnoriynne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thressnoriynne](https://forums.unrealengine.com/u/Thressnoriynne)\
**Post date:** [February 3, 2025, 6:05pm UTC](https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123/3 "2025-02-03T18:05:05Z")

</div>

I checked the Compiler setup in the project, and it is set to 2022. I also don’t know how to set the compiler version in visual studio to the preferred version that the output log called for.

---

<div class="post-metadata">

**Author:** ![Thressnoriynne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thressnoriynne](https://forums.unrealengine.com/u/Thressnoriynne)\
**Post date:** [February 3, 2025, 6:18pm UTC](https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123/4 "2025-02-03T18:18:32Z")

</div>

My project is also a blueprint based project.

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [February 4, 2025, 4:01pm UTC](https://forums.unrealengine.com/t/i-tried-to-package-my-game-and-it-failed/2316123/5 "2025-02-04T16:01:50Z")

</div>

Have you ever installed any version of Visual Studio?

The log mentions Unreal Engine 5.4 - It could be worth making a copy of the project, opening it in 5.5 and seeing if the error still occurs. (Once a project is opened in 5.5, it cannot be opened in 5.4 again so be sure to do it on a copy)
