UE5.3 cannot build project

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\Experimental\ConcurrentLinearAllocator.h(31): error C4067: Ԥ???ָ???- Ӧ???
D:\UE_5.3\Engine\Source\Runtime\Engine\Classes\Engine\SkeletalMesh.h(799): warning C4996: ‘FBoneMirrorInfo’: FBoneMirrorInfo is deprecated. Please use UMirrorDataTable for mirroring support. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

After Visual Studio 2022 is updated to 17.12.x, the MSVC version 19.42.3443 will encounter this issue.
Please install the VS 2022 v 17.11.x and below, the recommended version is 17.8.

Only downgrade the MSVC’s version to 19.41.x does not solve this problem

2 Likes

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.

3 Likes

This worked for me. I ran into the build error only while trying a C++ project and not a blueprint project. Day 1 of unreal engine learning for me. So, without this help, I would have struggled quite a bit. Thanks!

Worked for me for UE 5.3.2
I also did this: Unable to generate C++ project after upgrading to Visual Studio 17.12 [blocking] - #8 by TrueFranco

Brilliant, thanks, quick easy fix.