Can't setup UE 5.7-release from source. UBA error

Hi! I have a problem that’s killing me. I haven’t been able to install unreal from source for 4 months now. At the same time, unreal from epic launcher is installed without problems. I’ve checked all the components. The build takes an incredibly long time. About 4-5 hours and gives out these errors.

It all starts with the lnk2019 error and then everything else starts pouring in. I wish I could fix at least one.

My VS Config

{
“version”: “1.0”,
“components”: [
“Microsoft.VisualStudio.Component.CoreEditor”,
“Microsoft.VisualStudio.Workload.CoreEditor”,
“Microsoft.Net.Component.4.8.SDK”,
“Microsoft.Net.Component.4.7.2.TargetingPack”,
“Microsoft.Net.ComponentGroup.DevelopmentPrerequisites”,
“Microsoft.VisualStudio.Component.TypeScript.TSServer”,
“Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions”,
“Microsoft.VisualStudio.Component.JavaScript.TypeScript”,
“Microsoft.VisualStudio.Component.JavaScript.Diagnostics”,
“Microsoft.VisualStudio.Component.Roslyn.Compiler”,
“Microsoft.Component.MSBuild”,
“Microsoft.VisualStudio.Component.Roslyn.LanguageServices”,
“Microsoft.VisualStudio.Component.TextTemplating”,
“Microsoft.VisualStudio.Component.NuGet”,
“Microsoft.VisualStudio.Component.SQL.CLR”,
“Microsoft.Component.ClickOnce”,
“Microsoft.VisualStudio.Component.ManagedDesktop.Core”,
“Microsoft.NetCore.Component.Runtime.9.0”,
“Microsoft.NetCore.Component.Runtime.8.0”,
“Microsoft.NetCore.Component.SDK”,
“Microsoft.VisualStudio.Component.FSharp”,
“Microsoft.ComponentGroup.ClickOnce.Publish”,
“Microsoft.NetCore.Component.DevelopmentTools”,
“Microsoft.Net.Component.4.8.TargetingPack”,
“Microsoft.Net.ComponentGroup.4.8.DeveloperTools”,
“Microsoft.VisualStudio.Component.DiagnosticTools”,
“Microsoft.VisualStudio.Component.EntityFramework”,
“Microsoft.VisualStudio.Component.IntelliCode”,
“Component.VisualStudio.GitHub.Copilot”,
“ComponentGroup.Microsoft.NET.AppModernization”,
“Microsoft.Net.Component.4.6.2.TargetingPack”,
“microsoft.net.runtime.mono.tooling”,
“microsoft.net.runtime.mono.tooling.net8”,
“Microsoft.VisualStudio.Component.Debugger.JustInTime”,
“Component.Microsoft.VisualStudio.LiveShare.2022”,
“Microsoft.VisualStudio.Component.VC.CoreIde”,
“Microsoft.VisualStudio.Component.Windows10SDK”,
“Microsoft.VisualStudio.Component.VC.Tools.x86.x64”,
“Microsoft.VisualStudio.Component.Graphics.Tools”,
“Microsoft.VisualStudio.Component.VC.DiagnosticTools”,
“Microsoft.VisualStudio.Component.Windows11SDK.26100”,
“maui.core”,
“maui.blazor”,
“microsoft.net.runtime.android.net8”,
“microsoft.net.runtime.android.aot.net8”,
“microsoft.net.runtime.android”,
“microsoft.net.runtime.android.aot”,
“android”,
“Component.OpenJDK”,
“Microsoft.VisualStudio.ComponentGroup.Maui.Android”,
“runtimes.ios”,
“microsoft.net.runtime.ios”,
“ios”,
“Microsoft.VisualStudio.ComponentGroup.Maui.iOS”,
“runtimes.maccatalyst”,
“microsoft.net.runtime.maccatalyst”,
“maccatalyst”,
“Microsoft.VisualStudio.ComponentGroup.Maui.MacCatalyst”,
“maui.windows”,
“Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging”,
“Microsoft.VisualStudio.ComponentGroup.Maui.Windows”,
“Microsoft.VisualStudio.ComponentGroup.Maui.Blazor”,
“Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.TemplateEngine”,
“Microsoft.VisualStudio.ComponentGroup.Maui.Shared”,
“Microsoft.VisualStudio.ComponentGroup.Maui.All”,
“Component.Android.SDK.MAUI”,
“Microsoft.VisualStudio.Workload.NetCrossPlat”,
“Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites”,
“Microsoft.VisualStudio.Component.DotNetModelBuilder”,
“Microsoft.ComponentGroup.Blend”,
“Microsoft.VisualStudio.Workload.ManagedDesktop”,
“Microsoft.VisualStudio.Component.VC.ATL”,
“Microsoft.VisualStudio.Component.VC.Redist.14.Latest”,
“Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core”,
“Microsoft.VisualStudio.Component.Windows11Sdk.WindowsPerformanceToolkit”,
“Microsoft.VisualStudio.Component.CppBuildInsights”,
“Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake”,
“Microsoft.VisualStudio.Component.VC.CMake.Project”,
“Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest”,
“Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest”,
“Microsoft.VisualStudio.Component.VC.ASAN”,
“Microsoft.VisualStudio.Component.Vcpkg”,
“Microsoft.VisualStudio.Component.VC.Llvm.Clang”,
“Microsoft.VisualStudio.Component.Windows11SDK.22621”,
“Microsoft.VisualStudio.Component.Windows10SDK.19041”,
“Microsoft.VisualStudio.Workload.NativeDesktop”,
“Microsoft.VisualStudio.Component.HLSL”,
“Microsoft.Net.ComponentGroup.TargetingPacks.Common”,
“Microsoft.VisualStudio.Component.NuGet.BuildTools”,
“Component.Unreal.Ide”,
“Component.Unreal.Debugger”,
“Component.Unreal”,
“Microsoft.VisualStudio.Workload.NativeGame”,
“Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre”,
“Microsoft.NetCore.Component.Runtime.6.0”,
“Microsoft.NetCore.Component.Runtime.7.0”,
“Microsoft.VisualStudio.Component.VC.14.29.16.11.x86.x64”,
“Microsoft.VisualStudio.Component.VC.14.29.16.11.x86.x64.Spectre”,
“Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64”,
“Microsoft.VisualStudio.Component.VC.14.34.17.4.x86.x64.Spectre”,
“Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64”,
“Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64.Spectre”,
“Microsoft.VisualStudio.Component.VC.14.38.17.8.ATL”,
“Microsoft.VisualStudio.Component.VC.14.44.17.14.x86.x64”,
“Microsoft.VisualStudio.Component.VC.14.44.17.14.ATL”,
“Microsoft.Net.Component.4.6.2.SDK”
],
“extensions”:
}

I’m doing everything according to the instructions. Launching setup.bat from the administrator. Then, when the download is completed, I also run generateprojectfiles.bat from the admin and run ue5.sln, do the build. Please help!
I tried source versions 5.7.0, 5.7.3, 5.7-main — same errors

Hi, the build log file located at

Engine/Programs/UnrealBuildTool/Log.txt

for builds made from source, it should show if you have the incorrect compiler versions or similar problems.

The requirements can be found here Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.7 Documentation | Epic Developer Community.

Keep in mind that you might install visual Studio 2022, but a newer compiler version might be installed than the one supported. These are are requirements for UE 5.7 (from the link I posted above)

Aside from that I see in the screenshot that your build attempts appears to be building all targets in the solution, not just the editor.

I get the same build errors you do. I’m building 5.7 source using the latest 2026 visual studio. Maybe using the supported MSVC version of 14.44.35214 gets past these errors, but that version is pretty old as I’m on 19.50.35725 (the latest).

The build errors look legit to me - as in they look like actual compiler and linker errors in their source code. I fixed as many as I could but had to comment out the code that calls the Oodle… functions that don’t have definitions for the UBA build. The only problem with doing that is now the Unreal Build Tool (UBA) crashes when I build my own game project and I get popups that I have to click OK to and it then builds without the UBA. So looking into grabbing the installer programs for UBA as I don’t really need or care about the source for UBA.

I think the issue is there are 53 projects in the UE5.sln and the only one you are supposed to build (if you follow the instructions) is the UE5 project. That builds without errors.

I don’t know why Epic would put other projects into this .sln that actually have errors when building so that people like me get confused and it messes things up.