# Cannot package game with common ui plugin enabled

**URL:** <https://forums.unrealengine.com/t/cannot-package-game-with-common-ui-plugin-enabled/2287247>\
**Category:** UI\
**Tags:** error, unreal-engine, bug-report, question\
**Created:** [January 19, 2025, 2:00am UTC](https://forums.unrealengine.com/t/cannot-package-game-with-common-ui-plugin-enabled/2287247 "2025-01-19T02:00:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [January 19, 2025, 1:36pm UTC](https://forums.unrealengine.com/t/cannot-package-game-with-common-ui-plugin-enabled/2287247/5 "2025-01-19T13:36:04Z")

</div>

> [@Twan\_so-kl](#):
>
> UATHelper: Packaging (Windows): C:\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:\UE\_5.3\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: unexpected tokens following preprocessor directive - expected a newline

Your errors do not mention common ui.

I’m guessing but looking at the errors and similar ones that resemble them on the forum.

I would think that rather related to your MSVC. You probably have a later version installed that is no longer compatible with 5.3 as it is too new.

This thread mirrors your error:

You can also try this first:

> [@UE5.3 cannot build project](https://forums.unrealengine.com/t/ue5-3-cannot-build-project/2133106/8):
>
> Since this is a hit on google, for anyone else looking, don’t bother with reinstalling modules and such. Go to your project.target.cs file, usually in the source folder and get the file. In it, set the DefaultBuildSettings = BuildSettingsVersion.Latest; instead of V2, V3, V4, V5, etc. I wasted over a day reinstalling VS 2022, MSVC and playing with a bunch of nonsense. This will fix it.

if it doesn’t work then try an older version of MSVC

> [@UE5.3 cannot build project](https://forums.unrealengine.com/t/ue5-3-cannot-build-project/2133106/2):
>
> For those wondering how to downgrade a Visual Studio 2022 Community installation, please find the following advice: [How to install specific version of Visual Studio 2022 - Stack Overflow](https://stackoverflow.com/a/78637995).

---

_[View the full topic](https://forums.unrealengine.com/t/cannot-package-game-with-common-ui-plugin-enabled/2287247)._
