# Unhandled exception: Exception: UBA executor is not expected to be invoked from a recursive UBT call.

**URL:** <https://forums.unrealengine.com/t/unhandled-exception-exception-uba-executor-is-not-expected-to-be-invoked-from-a-recursive-ubt-call/2731210>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [June 24, 2026, 10:08pm UTC](https://forums.unrealengine.com/t/unhandled-exception-exception-uba-executor-is-not-expected-to-be-invoked-from-a-recursive-ubt-call/2731210 "2026-06-24T22:08:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![viperman1271](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@viperman1271](https://forums.unrealengine.com/u/viperman1271)\
**Post date:** [June 24, 2026, 10:08pm UTC](https://forums.unrealengine.com/t/unhandled-exception-exception-uba-executor-is-not-expected-to-be-invoked-from-a-recursive-ubt-call/2731210/1 "2026-06-24T22:08:37Z")

</div>

I’ve downloaded the Unreal Engine 5.8.0 source from Github, and after running Setup.bat and generating projects, I have the following error when trying to build with Visual Studio 2022 (17.14.35 June 2026)

```auto
1>Unhandled exception: Exception: UBA executor is not expected to be invoked from a recursive UBT call.
1> at UnrealBuildTool.UBAExecutor.Init(IEnumerable`1 targetDescriptors, ILogger logger) in UnrealEngine\Engine\Source\Programs\UnrealBuildTool\Executors\UnrealBuildAccelerator\UBAExecutor.cs:line 315
1> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
1>--- End of stack trace from previous location ---
1> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
1> at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
1>--- End of stack trace from previous location ---
1> at UnrealBuildTool.UBAExecutor.ExecuteActionsAsync(IEnumerable`1 inputActions, ILogger logger) in UnrealEngine\Engine\Source\Programs\UnrealBuildTool\Executors\UnrealBuildAccelerator\UBAExecutor.cs:line 617
1> at UnrealBuildTool.ActionGraph.InternalExecuteActions(ActionExecutor Executor, List`1 ActionsToExecute, ILogger Logger) in UnrealEngine\Engine\Source\Programs\UnrealBuildTool\Actions\ActionGraph.cs:line 435
1> at UnrealBuildTool.ActionGraph.ExecuteActionsAsync(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, List`1 TargetDescriptors, ILogger Logger, ActionExecutor executor) in UnrealEngine\Engine\Source\Programs\UnrealBuildTool\Actions\ActionGraph.cs:line 413

```

There is some documentation that it is possible to disable UBA Executor with BuildConfiguration.xml:

\<?xml version="1.0" encoding="utf-8" ?\> false 

However, investigating the source, it looks like in 5.8.0 this does nothing. In ExecutorFactory.cs (Engine\Source\Programs\UnrealBuildTool\Executors) the fallback is to create a UBA Executor, even if you’ve disabled it with the BuildConfiguration.xml

It’s possible I’ve missed some setup step somewhere, but generally running the Setup.bat and the building via Visual Studio has always worked for me. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Mauro\_Gentile](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mauro\_Gentile](https://forums.unrealengine.com/u/Mauro_Gentile)\
**Post date:** [July 12, 2026, 6:23am UTC](https://forums.unrealengine.com/t/unhandled-exception-exception-uba-executor-is-not-expected-to-be-invoked-from-a-recursive-ubt-call/2731210/2 "2026-07-12T06:23:46Z")

</div>

On my side I found out that the issue was a missing:

Engine/Programs/UnrealBuildTool/ **Trace.uba**

---

<div class="post-metadata">

**Author:** ![ROCKY.CHOI](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ROCKY.CHOI](https://forums.unrealengine.com/u/ROCKY.CHOI)\
**Post date:** [August 21, 2026, 8:13pm UTC](https://forums.unrealengine.com/t/unhandled-exception-exception-uba-executor-is-not-expected-to-be-invoked-from-a-recursive-ubt-call/2731210/3 "2026-08-21T20:13:08Z")

</div>

@viperman1271 Hi we are running into same issue and wondering if you somehow fixed this issue

---

<div class="post-metadata">

**Author:** ![viperman1271](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@viperman1271](https://forums.unrealengine.com/u/viperman1271)\
**Post date:** [August 24, 2026, 10:15pm UTC](https://forums.unrealengine.com/t/unhandled-exception-exception-uba-executor-is-not-expected-to-be-invoked-from-a-recursive-ubt-call/2731210/4 "2026-08-24T22:15:20Z")

</div>

@ROCKY.CHOI I have still not resolved this issue and I’ve been using the prebuilt binaries for the time being
