Can't compile 5.4 Projects anymore, I need help.

OK - It took 2 hours and then we ran into additional issues with compiling using newer build tools.

We found a better solution:

  1. Modify Visual Studio 2022
  2. Go to Individual Components
  3. Add MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.36-17.6) (we used to have this one installed, but it got uninstalled when VS 2022 updated)
  4. Add an environment variable named VCToolsVersion with the value 14.36.32532 on the machine doing the builds

This will make the compiler use the correct tool chain.

This solution was good for us since we could specify the env variable on the Team City builds that compiled UE 5.3 and 5.2 projects.

You can check what versions of the tools you have installed by opening up the folder in Windows explorer and see what folders you have: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\

6 Likes