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?!
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.