Third Person build with UE5.3 requires VS 2019, but cannot build with VS 2019. (log included)

Hi, I’m having a problem creating a default Third Person project right out of the launcher. I want to build with visual studio 2022, but the builder keeps forcing itself to use visual studio 2019 for some reason. I uninstalled visual studio 2019, but the issue persists.

I don’t have any plugins or anything, it should be a clean build - I can’t figure out why it won’t use visual studio 2022. Here is my log file:

Log started at 11/03/2023 10:14:54 (2023-11-03T17:14:54Z)
No config file at C:\Users\dylan\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
C:\Users\dylan\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Setting temp directory to ‘C:\Users\dylan\AppData\Local\Temp\UnrealBuildTool\4231e7da’
Registering build platform: UnrealBuildTool.AndroidPlatformFactory
Registering build platform: Android - buildable: False
Registering build platform: UnrealBuildTool.IOSPlatformFactory
IOS Installed SDK(s): MinVersion_Sdk=1100.0.0.0, MaxVersion_Sdk=8999.0, CurrentVersion_Sdk=1643.2.4.1, Version_AutoSdk=14.1, CurrentVersion_AutoSdk=
Registering build platform: IOS - buildable: True
Registering build platform: UnrealBuildTool.LinuxPlatformFactory
Registering build platform: Linux - buildable: False
Registering build platform: LinuxArm64 - buildable: False
Registering build platform: UnrealBuildTool.MacPlatformFactory
Registering build platform: UnrealBuildTool.TVOSPlatformFactory
Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2)
Found Windows 10 SDK version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22621.0 at C:\Program Files (x86)\Windows Kits\10
Win64 Installed SDK(s): MinVersion_Sdk=10.0.00000.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.22621.0, Version_AutoSdk=10.0.18362.0, CurrentVersion_AutoSdk=
Registering build platform: Win64 - buildable: True
Log file: C:\Users\dylan\AppData\Local\UnrealBuildTool\Log_GPF.txt

Resolved project argument C:/Users/dylan/Documents/Unreal Projects/ThirdPersonMP/ThirdPersonMP.uproject to C:\Users\dylan\Documents\Unreal Projects\ThirdPersonMP\ThirdPersonMP.uproject
Registering project generator UnrealBuildTool.AndroidProjectGenerator for Android
Registering project generator UnrealBuildTool.IOSProjectGenerator for IOS
Registering project generator UnrealBuildTool.LinuxProjectGenerator for Linux
Registering project generator UnrealBuildTool.LinuxProjectGenerator for LinuxArm64
Registering project generator UnrealBuildTool.MacProjectGenerator for Mac
Skipping project file generator registration for Mac due to no valid BuildPlatform.
Registering project generator UnrealBuildTool.TVOSProjectGenerator for TVOS
Skipping project file generator registration for TVOS due to no valid BuildPlatform.
Registering project generator UnrealBuildTool.WindowsProjectGenerator for Win64

— SDK INFO START —

Some Platforms were skipped due to invalid SDK setup: Android, Linux, LinuxArm64.
See the log file for detailed information

— SDK INFO END —

Generating VisualStudio2019 project files:
Discovering modules, targets and source code for project…
Found Visual Studio installation: C:\Program Files\Microsoft Visual Studio\2022\Community (Product=Microsoft.VisualStudio.Product.Community, Version=17.7.34221.43)
Visual Studio C++ 2019 installation not found - ignoring preferred project file format.
Found Visual Studio toolchain: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822 (Family=14.37.32822, FamilyRank=4, Version=14.37.32825, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error=False, Redist=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Redist\MSVC\14.36.32532)
Detected supported platforms: Win64, IOS, Android, Linux, LinuxArm64
Skipping C:\Program Files\UE_5.3\Engine\Intermediate\Build\BuildRules\UE5Rules.dll: File is installed
Skipping C:\Program Files\UE_5.3\Engine\Intermediate\Build\BuildRules\UE5ProgramRules.dll: File is installed
Visual Studio 2019 x64 must be installed in order to build this target.
BuildException: Visual Studio 2019 x64 must be installed in order to build this target.
at UnrealBuildTool.VCEnvironmentParameters…ctor(WindowsCompiler Compiler, WindowsCompiler ToolChain, UnrealTargetPlatform Platform, UnrealArch Architecture, String CompilerVersion, String ToolchainVersion, String WindowsSdkVersion, String SuppliedSdkDirectoryForVersion, Boolean bUseCPPWinRT, Boolean bAllowClangLinker, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCEnvironment.cs:line 459
at UnrealBuildTool.VCEnvironment.Create(WindowsCompiler Compiler, WindowsCompiler ToolChain, UnrealTargetPlatform Platform, UnrealArch Architecture, String CompilerVersion, String ToolchainVersion, String WindowsSdkVersion, String SuppliedSdkDirectoryForVersion, Boolean bUseCPPWinRT, Boolean bAllowClangLinker, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\VCEnvironment.cs:line 378
at UnrealBuildTool.WindowsPlatform.CreateVCEnvironment(TargetRules Target) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\UEBuildWindows.cs:line 895
at UnrealBuildTool.WindowsPlatform.ValidateTarget(TargetRules Target) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Platform\Windows\UEBuildWindows.cs:line 1006
at UnrealBuildTool.RulesAssembly.CreateTargetRulesInstance(String TypeName, TargetInfo TargetInfo, ILogger Logger, Boolean IsTestTarget, Boolean bSkipValidation) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 698
at UnrealBuildTool.RulesAssembly.CreateTargetRules(String TargetName, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, UnrealArchitectures Architectures, FileReference ProjectFile, CommandLineArguments Arguments, ILogger Logger, Boolean IsTestTarget, Boolean bSkipValidation, UnrealIntermediateEnvironment IntermediateEnvironment) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\RulesAssembly.cs:line 776
at UnrealBuildTool.ProjectFileGenerator.AddProjectsForAllTargets(PlatformProjectGeneratorCollection PlatformProjectGenerators, List1 AllGames, List1 AllTargetFiles, String Arguments, List1 EngineProjects, List1 GameProjects, Dictionary2 ProjectFileToUProjectFile, Dictionary2 ProgramProjects, Dictionary`2 RulesAssemblies, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 2719
at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(PlatformProjectGeneratorCollection PlatformProjectGenerators, String Arguments, Boolean bCacheDataForEditor, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\ProjectFiles\ProjectFileGenerator.cs:line 1023
at UnrealBuildTool.GenerateProjectFilesMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\GenerateProjectFilesMode.cs:line 65
at UnrealBuildTool.UnrealBuildTool.Main(String ArgumentsArray) in D:\build++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
WriteFileIfChanged() wrote 0 changed files of 2 requested writes.
Timeline:

[ 0.000]
0.000
[ 0.657]

1 Like

I just confirmed all proper dependencies are installed using this guide:

and I reran the Unreal Engine Prerequisite Installer. It gives me the same error

Bumping this again, I’m still getting the same issue.

1 Like