Additional information in the comments.

Potential work around if VS has a prompt suggesting installing addition components is to install:

  • MSVC v143 - VS 2022 C++ Arm64 Build Tools(v14.33-17.3)
  • MSVC v143 - VS 2022 C++x64/x86 Build Tools(v14.33-17.3)
Steps to Reproduce
  1. Compile Unreal Editor with Visual Studio 2022

Expected Results:
Unreal Editor compiles without issue.

Actual Results:
Compilation fails with an Error. UBT will default to specific compilers if it can find them.

Line 2349: ubt> Error executing C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\cl.exe (tool returned code: STATUS_ACCESS_VIOLATION)

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-174280 in the post.

Login to Vote

ComponentUE - Foundation - Cpp Tools - UnrealBuildTool
Affects Versions5.1
Target Fix5.2
Fix Commit23825003
Main Commit23825003
CreatedJan 17, 2023
ResolvedJan 24, 2023
UpdatedFeb 14, 2023