# Setting up Horde with build machines

**URL:** <https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [June 26, 2025, 1:26am UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598 "2025-06-26T01:26:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 26, 2025, 1:26am UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/1 "2025-06-26T01:26:00Z")

</div>

When triggering a build from Visual Studios (2022), UBA starts up and its clear the build is distributed.

When triggering a build from Jenkins - the build is \_not\_ distributed even thought he agents are registered to the server and are using the same Build..xml.

Horde is at least partly set up correctly…but something is clearly not right since it should distribute builds from any build agent, no?

thanks in advance!

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [June 26, 2025, 1:26am UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/2 "2025-06-26T01:26:04Z")

</div>

**Steps to Reproduce**  
3 build machines.

VM1 = worker build machine controlled by Jenkins - Agent is installed as well as unreal build tool -- registered to server on PC3

VM2 = worker build machine controlled by Jenkins - Agent is installed as well as unreal build tool -- registered to server on PC3

PC3 = workstation machine - - Agent is installed as well as unreal build tool -- Horde server installed -- registered to server on PC3

Trigger a build using Visual Studio on PC3 - UBA starts up - you see all 3 machines working to complete the build.

Trigger a build using Jenkins - which picks either VM1 or VM2 - Horde does \_NOT\_ distribute those builds.

---

<div class="post-metadata">

**Author:** ![cgbystrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cgbystrom](https://forums.unrealengine.com/u/cgbystrom)\
**Post date:** [June 27, 2025, 9:38am UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/3 "2025-06-27T09:38:54Z")

</div>

Hi Marawn,

When you say “triggering a build from Visual Studio”, you are executing from a developer workstation and UBA works as intended?

What authentication are you using with Horde? Built-in accounts, or OpenID Connect?

To properly see what’s going on, try inspecting the Unreal Build Tool logs as they it’s executed by Jenkins. For example, there might be issues with authentication. If possible, post them here.

There’s also a [debugging guide for UBA which may be helpful](https://dev.epicgames.com/community/learning/knowledge-base/jB32/unreal-engine-practical-debugging-tips-for-unreal-build-accelerator).

Epic is closing for a two-week summer break, starting next week. Apologies for any delays in response.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [July 4, 2025, 7:19am UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/4 "2025-07-04T07:19:17Z")

</div>

Hi Carl, sorry for the delay.

I realize you guys are on break but here are my answers for when you get back.

“When you say “triggering a build from Visual Studio”, you are executing from a developer workstation and UBA works as intended?”

Yes, if i hit F7 from VS2022 - i see the UBAVisualizer and i see my build machines running.

“What authentication are you using with Horde? Built-in accounts, or OpenID Connect?”

I havent set up any authentication. IIRC, the docs say not to bother till its all working, right?

I’ll run another test and see if i can pull the logs.

---

<div class="post-metadata">

**Author:** ![cgbystrom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cgbystrom](https://forums.unrealengine.com/u/cgbystrom)\
**Post date:** [August 12, 2025, 3:10pm UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/5 "2025-08-12T15:10:01Z")

</div>

Were you able to inspect the UBT logs when running in Jenkins?

---

<div class="post-metadata">

**Author:** ![Amilcar\_Kippes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Amilcar\_Kippes](https://forums.unrealengine.com/u/Amilcar_Kippes)\
**Post date:** [September 16, 2025, 9:10pm UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/6 "2025-09-16T21:10:26Z")

</div>

Hi all! First time writing here

We came across this post because we are having the same issue with our current Horde setup using AWS.

We have 5 UBA Linux Agents that are able to receive compute tasks when we compile on our local machines, but our Windows Incremental Build on an EC2 Windows Agent is not able to even see the Horde UBA Pool of agents.

```auto
[Uba.Provider.Horde.TSB]
ServerUrl = "HORDE SERVER URL"
Cluster = linux-uba
Enabled = True

[UbaController]
+Providers = Uba.Provider.Horde.TSB

```

We have that configured in our Project DefaultEngine.ini  
On our workspaces we see these on the Build Log

```auto
Using Unreal Build Accelerator executor to run 2996 action(s)
Horde URL: HORDE-SERVER-URL, Pool: linux-uba-agents, Cluster: linux-uba, Condition: (none), Connection: (none), HordeEncryption: (none)

```

But on the Windows Agent we see this

```auto
Horde URL: HORDE-SERVER-URL, Pool: (none), Cluster: (none), Condition: (none), Connection: (none), HordeEncryption: (none)

```

Also the UBAVisualizer on the Windows Agent is not showing any ongoing compilation while its building.

Right now the Horde Agent was installed as a Service.  
Trying to understand what’s going on, but so far we are out of luck

EDIT: We have found the cause, the Build Machine is not reading the configuration from Project/Config/DefaultEngine.ini.  
By using the -dumpiniloads argument on the job we managed to see which .ini were loaded, after that we just setup the UbaController info on a proper path and it started to work.  
Also the [UbaController] entry needs to use +BuildMachineProviders instead on the Build Machines

```auto
[UbaController]
+BuildMachineProviders = Uba.Provider.Horde.TSB

```

We are still trying to figure it out why the UbaVisualizer on the Build Machine is not showing anything, it could be related to the .uba logs not being generated aswell.

---

<div class="post-metadata">

**Author:** ![YukioKANEDA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YukioKANEDA](https://forums.unrealengine.com/u/YukioKANEDA)\
**Post date:** [May 14, 2026, 2:36pm UTC](https://forums.unrealengine.com/t/setting-up-horde-with-build-machines/2655598/7 "2026-05-14T14:36:49Z")

</div>

Is this issue resolved?  
After confirming that distributed builds worked without any issues in a project using HordeServer 5.7, HordeAgent 5.7, and UE 5.5.4,  
I upgraded the project to UE 5.7.4 and noticed that there were environmental differences that caused distributed builds to either succeed or fail.

In the environments without issues, distributed builds succeeded when building from Visual Studio as well as when running UnrealBuildTool or RunUAT from the command line.  
In the problematic environments, building from Visual Studio or using msbuild succeeded, but distributed builds using UnrealBuildTool or RunUAT from the command line failed.  
Since running VS’s `vsdevcmd.bat` allowed UnrealBuildTool and RunUAT to succeed from the command line, I suspected that something was different in how the toolchain was being resolved.

After trying various approaches, I found that simply adding the toolchain to the Path environment variable was enough to enable distributed builds.Here is how I am currently handling it locally.

```pwsh￼`  
$tool = switch -regex (Get-Content Config/DefaultEngine.ini) {  
‘^CompilerVersion="([0-9]+.[0-9]+.)’ {$Matches[1];break}  
}  
$Env:Path = @(  
Get-Item “$Env:VISUAL\_STUDIO\VC\Tools\MSVC\$tool\*\bin\HostX86\x86”  
$Env:Path  
) -join ‘;’  
```
