Ue5 Build issue

Hey guys.
Trying to build… but getting this issue:

LogUObjectHash: Compacting FUObjectHashTables data took 1.00ms
LogTurnkeySupport: Project requires temp target (Landmass plugin is enabled)
LogLauncherProfile: Unable to use promoted target - …/…/…/…/Environments/Environments/Binaries/Win64/UnrealGame-Win64-Shipping.target does not exist.
LogMonitoredProcess: Running Serialized UAT: [ cmd.exe /c ““A:/Epic Games/UE_5.1/Engine/Build/BatchFiles/RunUAT.bat” -ScriptsForProject=“A:/Epic Games/Environments/Environments/Environments.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=63604 -project=“A:/Epic Games/Environments/Environments/Environments.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“A:/Epic Games/Environments/Environments/Environments.uproject” -unrealexe=“A:\Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win
64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory=“A:/Epic Games/Environments/BUILDS/test1” -nodebuginfo” -nocompile -nocompileuat ]
UATHelper: Packaging (Windows): Running AutomationTool…
UATHelper: Packaging (Windows): Using bundled DotNet SDK version: 6.0.302
UATHelper: Packaging (Windows): Starting AutomationTool…
UATHelper: Packaging (Windows): Parsing command line: -ScriptsForProject=“A:/Epic Games/Environments/Environments/Environments.uproject” Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=63604 -project=“A:/Epic Games/Environments/Environments/Environments.uproject” BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“A:/Epic Games/Environments/Environments/Environments.uproject” -unrealexe=“A:\Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compre
ssed -prereqs -archivedirectory=“A:/Epic Games/Environments/BUILDS/test1” -nodebuginfo -nocompile -nocompileuat
UATHelper: Packaging (Windows): Initializing script modules…
UATHelper: Packaging (Windows): Total script module initialization time: 0.16 s.
UATHelper: Packaging (Windows): Executing commands…
UATHelper: Packaging (Windows): Installed Sdk validity:
UATHelper: Packaging (Windows): Win64: (Status=Valid, MinAllowed_Sdk=10.0.00000.0, MaxAllowed_Sdk=10.9.99999.0, Current_Sdk=10.0.19041.0, Allowed_AutoSdk=10.0.18362.0, Current_AutoSdk=, Flags=“InstalledSdk_ValidVersionExists”)
UATHelper: Packaging (Windows): Scanning for envvar changes…
UATHelper: Packaging (Windows): … done!
UATHelper: Packaging (Windows): Cleaning Temp Paths…
UATHelper: Packaging (Windows): BUILD SUCCESSFUL
UATHelper: Packaging (Windows): Setting up ProjectParams for A:\Epic Games\Environments\Environments\Environments.uproject
UATHelper: Packaging (Windows): Environments.uproject requires a temporary target.cs to be generated (Landmass plugin is enabled)
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows): Running: A:\Epic Games\UE_5.1\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “A:\Epic Games\UE_5.1\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” Environments Win64 Development -Project=“A:\Epic Games\Environments\Environments\Environments.uproject” “A:\Epic Games\Environments\Environments\Environments.uproject” -NoUBTMakefiles -remoteini=“A:\Epic Games\Environments\Environments” -skipdeploy -Manifest=“A:\Epic Games\Environments\Environments\Intermediate\Build\Manifest.xml” -NoHotReload -log="C:\Users**AppData\Roaming\Unreal Engin
e\AutomationTool\Logs\A+Epic+Games+UE_5.1\UBT-Environments-Win64-Development.txt"
UATHelper: Packaging (Windows): Log file: C:\Users*
\AppData\Roaming\Unreal Engine\AutomationTool\Logs\A+Epic+Games+UE_5.1\UBT-Environments-Win64-Development.txt
UATHelper: Packaging (Windows): Visual Studio 2019 is installed, but is missing the C++ toolchain. Please verify that the “MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest)” component is selected in the Visual Studio 2019 installation options.
UATHelper: Packaging (Windows): UnrealBuildTool requires at minimum the MSVC 14.29.30133 toolchain. Please install a later toolchain such as 14.33.31629 from the Visual Studio installer.
UATHelper: Packaging (Windows): Took 0.5915733s to run dotnet.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\AAV\AppData\Roaming\Unreal Engine\AutomationTool\Logs\A+Epic+Games+UE_5.1\UBT-Environments-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 2s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error

Hey @VigdArt! Welcome back!

Looks like you need to update your Microsoft visual studio! :slight_smile:

1 Like