Compiling issue. UE5.3

I’ve been bashing my head on the desk over this problem in the past 3 days but I don’t understand what’s happening. I deleted everything and installed them all over again but nothing helped! Can someone please tell me what I am missing?!


And I can’t open the project with unreal anymore as I keep getting this error
image

I know the problem is not from the project tho because I tried to make a cpp project directly from unreal and this happened

This is due to a bug in the latest version of MSVC:

Install the previous version of the toolset by opening the Visual Studio Installer then modify your install and go to Individual Components and search for

“MSVC x64 14.38”

and select the build tools to be installed and proceed to installing it.

Then modify your Unreal Build configuration to use that instead of the latest version by going to

%APPDATA%\Unreal Engine\UnrealBuildTool\

by pasting that directly into the address bar of File Explorer or using Win + R. Then open the .xml file in a text editor and have the following.

<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
    <WindowsPlatform>
       <CompilerVersion>14.38.33130</CompilerVersion>
    </WindowsPlatform>
</Configuration>

After saving the .xml Unreal should use 14.38 to compile with instead.

You can go to

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC

to see the exact toolset versions of you have installed which is needed for the above xml in case your version of 14.38 differs from mine.

6 Likes

Thank you so much. It worked perfectly. :blush:

1 Like

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

Privacy & Terms