Visual Studio Version

Hello, For a few days I have not been able to compile my project. I am on UE5.4. I think it comes from the VS version. Also, when I try to open my UE5.4 project to UE 5.5, I also get a message about VS. If this is the problem, I don’t know how to find and install the right version (I’ve looked for solutions but the one I’ve tested doesn’t work). Thank you for your help. Here are the last lines during compilation:

UATHelper: Packaging (Windows): Warning: Visual Studio 2022 compiler is not a preferred version
UATHelper: Packaging (Windows): [Upgrade]
UATHelper: Packaging (Windows): [Upgrade] Using backward-compatible include order. The latest version of UE has changed the order of includes, which may require code changes. The current setting is:
UATHelper: Packaging (Windows): [Upgrade] IncludeOrderVersion = EngineIncludeOrderVersion.Oldest
UATHelper: Packaging (Windows): [Upgrade] Suppress this message by setting ‘IncludeOrderVersion = EngineIncludeOrderVersion.Latest;’ in Vauban.Target.cs.
UATHelper: Packaging (Windows): [Upgrade] Alternatively you can set this to ‘EngineIncludeOrderVersion.Latest’ to always use the latest include order. This will potentially cause compile errors when integrating new versions of the engine.
UATHelper: Packaging (Windows): [Upgrade]
PackagingResults: Warning: Visual Studio 2022 compiler is not a preferred version
UATHelper: Packaging (Windows): Determining max actions to execute in parallel (8 physical cores, 16 logical cores)
UATHelper: Packaging (Windows): Executing up to 8 processes, one per physical core
UATHelper: Packaging (Windows): Requested 1.5 GB memory per action, 10.86 GB available: limiting max parallel actions to 7
UATHelper: Packaging (Windows): Using Parallel executor to run 8 action(s)
UATHelper: Packaging (Windows): ------ Building 8 action(s) started ------
UATHelper: Packaging (Windows): [1/8] Resource Default.rc2
UATHelper: Packaging (Windows): [2/8] Compile [x64] SharedPCH.Engine.Project.ValApi.Cpp20.InclOrderOldest.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’ non d�fini(e) comme pr�processeur ou macro, remplacement par ‘0’ pour ‘#if/#elif
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE_5.4\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(31): error C4067: jetons inattendus apr�s la directive du pr�processeur - saut de ligne attendu
UATHelper: Packaging (Windows): Total time in Parallel executor: 26.14 seconds
UATHelper: Packaging (Windows): Total execution time: 29.38 seconds
UATHelper: Packaging (Windows): Took 29,49s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\rv_FX\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.4\UBA-Vauban-Win64-Shipping_2.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 32s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

From my experience, it seems like the latest VS version (17.12) has NuGet related issues when used with UE 5.4. The officially recommended VS 2022 version for UE 5.4 is 17.8.

Hello Vis, thank you ! So I installed VS enterprise and was able to compile again.
In fact, there are 3 types of VS: Community, Enterprise, and Professional. And in Community I noticed that there’s no “Universal Windows platform Development” option. Anyway

I don’t think that would be a problem. Though keep in mind that the non-community versions of VS cannot be used commercially even if there are less than 5 people using VS for your project.

(If you don’t have a subscription, that is)

I don’t use VS, I only need it (for the moment) to compile my game. Do you mean I’m not allowed to?
The problem is that I can’t install VS community in version 17.8. I have 2 choices only Enterprise or Professional. If I’m not mistaken!

You must have a subscription to release your project commercially while using non-community VS versions.

That’s correct. You can’t downgrade VS in the community version.


I’ve already sent you a private message before your last reply. You can check it for more info.

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