# Community Tutorial: Disable UbaSessionServer (UBA)

**URL:** <https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998>\
**Category:** Tutorial & Course Discussions\
**Tags:** unreal-engine\
**Created:** [November 20, 2024, 4:27pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998 "2024-11-20T16:27:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![RootTool](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roottool/32/998888_2.png) [@RootTool](https://forums.unrealengine.com/u/RootTool)\
**Post date:** [November 20, 2024, 4:27pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/1 "2024-11-20T16:27:28Z")

</div>

How to disable UbaSessionServer (UBA) / Как отключить UbaSessionServer (UBA)  
  
[https://dev.epicgames.com/community/learning/tutorials/9dv9/unreal-engine-disable-ubasessionserver-uba](https://dev.epicgames.com/community/learning/tutorials/9dv9/unreal-engine-disable-ubasessionserver-uba)

---

<div class="post-metadata">

**Author:** ![DadaGung](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DadaGung](https://forums.unrealengine.com/u/DadaGung)\
**Post date:** [December 4, 2024, 10:19am UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/2 "2024-12-04T10:19:01Z")

</div>

@RootTool Hello, would you please tell me the benefit of disabling UBA? Recently i updated my engine version to 5.5. Then i found that the console panel suddenly outputs much more log when i build my project. As the 5.5 release document says, UBA helps to build C++ project. So im confusing wheather enable UBA or not. Are there some obvious bugs with UBA? Or it in fact will slow the speed of building? Thank a lot 🥳

---

<div class="post-metadata">

**Author:** ![RootTool](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roottool/32/998888_2.png) [@RootTool](https://forums.unrealengine.com/u/RootTool)\
**Post date:** [December 30, 2024, 8:13pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/3 "2024-12-30T20:13:43Z")

</div>

Hello! When switching from 5.4 to 5.5, I noticed that when compiling code via “Hot Reload”, spam starts in the console with a message like “Bro, I need more RAM for compilation!” (And this spam continued forever, and I have **8 GB of RAM** …)

Therefore, I had to adjust the configuration to return the code compilation in Unreal Engine like 5.4 😃

---

<div class="post-metadata">

**Author:** ![ontnevertries](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ontnevertries](https://forums.unrealengine.com/u/ontnevertries)\
**Post date:** [January 22, 2025, 10:10pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/4 "2025-01-22T22:10:08Z")

</div>

Thank you so much for this! This solved an issue for me where I couldn’t compile any c++ code on 5.5.1. I posted about it [over here](https://forums.unrealengine.com/t/solution-for-ue-5-5-1-new-c-project-compilation-issues-attempted-to-read-or-write-protected-memory/2298265)

---

<div class="post-metadata">

**Author:** ![Dexcoworkspace](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dexcoworkspace](https://forums.unrealengine.com/u/Dexcoworkspace)\
**Post date:** [January 23, 2025, 11:07am UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/5 "2025-01-23T11:07:14Z")

</div>

The Community Tutorial: Disable UbaSessionServer (UBA) provides step-by-step guidance on disabling the UBA Session Server for specific system configurations. This process is essential for optimizing system performance or addressing troubleshooting needs. The tutorial ensures clarity, offering detailed instructions to help users safely modify settings without affecting core functionalities. It highlights best practices to prevent errors and maintain system stability. If you’re managing UBA services and require customization, this tutorial is a valuable resource for effective configuration and management.

---

<div class="post-metadata">

**Author:** ![JeanChene666](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JeanChene666](https://forums.unrealengine.com/u/JeanChene666)\
**Post date:** [January 24, 2025, 4:51pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/6 "2025-01-24T16:51:27Z")

</div>

The Storage capacity can be adjusted.

```auto
/// <summary>
		/// The amount of gigabytes UBA is allowed to use to store workset and cached data. It is a good idea to have this >10gb
		/// </summary>
		[XmlConfigFile(Category = "UnrealBuildAccelerator")]
		[CommandLine("-UBAStoreCapacityGb")]
		public int StoreCapacityGb { get; set; } = 40;

```

So go to your BuildConfigurationXML and add this under the root:

```auto
<UnrealBuildAccelerator>
		<StoreCapacityGb>64</StoreCapacityGb>
	</UnrealBuildAccelerator>

```

---

<div class="post-metadata">

**Author:** ![Bent\_Vector](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bent_vector/32/1217513_2.png) [@Bent\_Vector](https://forums.unrealengine.com/u/Bent_Vector)\
**Post date:** [April 27, 2025, 1:06pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/7 "2025-04-27T13:06:40Z")

</div>

I started getting some strange behavior building for Linux with the Windows cross-compiler yesterday using Unreal Engine 5.5.4 - both source build and binary from Epic Launcher had the same problem: UbaSessionServer - ASSERT: Unhandled Exception (Code: 0xc0000005). I was able to fix it for my project using the tutorial to disable UBA and build just fine on both engines. For smaller projects, this is likely just fine?

---

<div class="post-metadata">

**Author:** ![KEV6172](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KEV6172](https://forums.unrealengine.com/u/KEV6172)\
**Post date:** [December 10, 2025, 10:03pm UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/8 "2025-12-10T22:03:55Z")

</div>

Another feature that nobody asked for, nobody uses, and whose only purpose is to make the average dev’s life miserable.  
Piece of crap engine.

---

<div class="post-metadata">

**Author:** ![Devostater](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Devostater](https://forums.unrealengine.com/u/Devostater)\
**Post date:** [May 5, 2026, 5:16am UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/9 "2026-05-05T05:16:32Z")

</div>

Works for me. Thank you.

---

<div class="post-metadata">

**Author:** ![siqso\_99](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siqso\_99](https://forums.unrealengine.com/u/siqso_99)\
**Post date:** [June 12, 2026, 9:57am UTC](https://forums.unrealengine.com/t/community-tutorial-disable-ubasessionserver-uba/2137998/10 "2026-06-12T09:57:04Z")

</div>

Had the same issue on 5.7.4. Build would “stall” at “listeting to uba server…” for 30 minutes until i added these to my per project settings:

ProjectName/Saved/UnrealBuildTool/BuildConfiguration.xml

```auto
<BuildConfiguration>
	<bAllowUBAExecutor>false</bAllowUBAExecutor>
	<bAllowUBALocalExecutor>true</bAllowUBALocalExecutor>
</BuildConfiguration>

```

Uba executor on false, Uba local executor to true, it would not even compile without Local executor to true im guessing because uba is so tightly integrated now or idk.
