Build.bat Code -532462766 when building Unreal Engine from source under Windows 11 and Visual Studio 2022

Hello,

I encountered a build problem when building Unreal Engine 5.5 from github.

I clone the following:

D:\Work\UnrealEngine> git clone -b 5.5 --single-branch --recurse-submodules https://github.com/EpicGames/UnrealEngine.git ./UE_5.5

I followed the README.md in the root directory for the build instructions till the actual build.

My system issue following compilation errors:

Der Befehl "..\..\Build\BatchFiles\Build.bat ZenLaunch Win64 Development -WaitMutex -FromMsBuild -architecture=x64" wurde mit dem Code -532462766 beendet.
Der Befehl "..\..\Build\BatchFiles\Build.bat EventLoopUnitTests Win64 Development -WaitMutex -FromMsBuild -architecture=x64 -Mode=Test" wurde mit dem Code -532462766 beendet.
Der Befehl "..\..\Build\BatchFiles\Build.bat ZenDashboard Win64 Development -WaitMutex -FromMsBuild -architecture=x64" wurde mit dem Code -532462766 beendet.
Der Befehl "..\..\Build\BatchFiles\Build.bat BootstrapPackagedGame Win64 Development -WaitMutex -FromMsBuild -architecture=x64" wurde mit dem Code -532462766 beendet.
Der Befehl "..\..\Build\BatchFiles\Build.bat -Target="UnrealEditor Win64 Development" -Target="ShaderCompileWorker Win64 Development -Quiet" -WaitMutex -FromMsBuild -architecture=x64" wurde mit dem Code -532462766 beendet.

There are 65 errors which are all the same. What does Code -532462766 signal for an issue?

Any help is very appreciated

Hello there @tsi6800!

Thank you for the log extract, what I can pinpoint from it, the Code -532462766 is tied to a .NET unhandled exception, or missing component.

This would be tied to your .NET SDK and/or Visual Studio install. Please follow the install guide for these features, and ensure they all are in their required versions:

After that process, I would suggest clearing the contents from DotNET and Saved folder, then re-generate project files, and run the project again.