# Error while packaging project for Linux 

**URL:** <https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997>\
**Category:** Platform & Builds\
**Tags:** UE-5, 64bit, build-error, Linux, linux-build, unreal-engine, UE5, bug-report, editor, build-failed, question\
**Created:** [August 5, 2025, 2:52pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997 "2025-08-05T14:52:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew\_Sor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Sor](https://forums.unrealengine.com/u/Andrew_Sor)\
**Post date:** [August 5, 2025, 2:52pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/1 "2025-08-05T14:52:23Z")

</div>

Hi! While building my project for Linux x64 I encountered this error: `The instruction at ... referenced memory at ... . Memory cannot be Read`  
But the log showed:

```auto
UbaSessionServer - ASSERT: ERROR: Access violation reading at address: 0x000002C2FE003FDC
CALLSTACK:
UbaDetours.dll: +0x4ace
ucrtbase.dll: +0x3d189
ucrtbase.dll: +0x14a0c
ucrtbase.dll: +0x1488b
ucrtbase.dll: +0x14844
ucrtbase.dll: +0x14e01
combase.dll: +0x188b0d
combase.dll: +0x188b2d
combase.dll: +0xdfa3c
combase.dll: +0xdf513
combase.dll: +0xdf05b
combase.dll: +0xde603 
combase.dll: +0x1dc7be 
combase.dll: +0x7b070 
combase.dll: +0x7ba66 
combase.dll: +0x7b45b
[2/4] Compile MyFirst_Game.cpp
[3/4] Link (lld) MyFirst_Game-Linux-Shipping
ASSERT: ERROR: Access violation reading at address: 0x000002C2FE003FDC 
CALLSTACK: 
UbaDetours.dll: +0x4ace 
ucrtbase.dll: +0x3d189 
ucrtbase.dll: +0x14a0c 
ucrtbase.dll: +0x1488b 
ucrtbase.dll: +0x14844 
ucrtbase.dll: +0x14e01 
combase.dll: +0x188b0d 
combase.dll: +0x188b2d 
combase.dll: +0xdfa3c 
combase.dll: +0xdf513 
combase.dll: +0xdf05b 
combase.dll: +0xde603 
combase.dll: +0x1dc7be 
combase.dll: +0x7b070 
combase.dll: +0x7ba66 
combase.dll: +0x7b45b
Failed to read file: 'C:\Users\soroc\Documents\Unreal Projects\MyFirst_Game\Intermediate\Build\Linux\x64\MyFirst_Game\Shipping\MyFirst_Game-Linux-Shipping.psym'
Failed to parse 'C:\Users\soroc\Documents\Unreal Projects\MyFirst_Game\Intermediate\Build\Linux\x64\MyFirst_Game\Shipping\MyFirst_Game-Linux-Shipping.psym'
[4/4] WriteMetadata MyFirst_Game-Linux-Shipping.target (UBA disabled)
Trace written to file C:/Users/soroc/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_5.6/UBA-MyFirst_Game-Linux-Shipping_2.uba with size 5.0kb
Total time in Unreal Build Accelerator local executor: 24.16 seconds
Failed to produce item: C:\Users\soroc\Documents\Unreal Projects\MyFirst_Game\Binaries\Linux\MyFirst_Game-Linux-Shipping.sym

Result: Failed (OtherCompilationError)
Total execution time: 27.51 seconds
Took 27.58s to run dotnet.exe, ExitCode=6
UnrealBuildTool failed. See log for more details. (C:\Users\soroc\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.6\UBA-MyFirst_Game-Linux-Shipping_2.txt)
AutomationTool executed for 0h 0m 29s
AutomationTool exiting with ExitCode=6 (6)
BUILD FAILED

```

Moreover, this error also occurs when trying to pack projects from the Starter Kit. What could be the problem? How can this be solved?

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [August 5, 2025, 4:01pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/2 "2025-08-05T16:01:05Z")

</div>

Hello there @Andrew_Sor!

Checking through your log, the conflict seems to be related to UBA functionality, considering the lines below:

```auto
UbaSessionServer - ASSERT: ERROR: Access violation reading at address: 0x000002C2FE003FDC
UbaDetours.dll
ucrtbase.dll
combase.dll

```

Please test packaging your project with UBA disabled, via going to Project Settings \> Platforms \> Linux \> Uncheck “Use Unreal Build Accelerator”.

After that, clear your project’s cache, by deleting folders “Intermediate” and “Binaries” from your main directory.

As an extra measue, I would make sure that platform support is enabled for this build. Please go to UE’ s Library, and ensure that Linux is checked under target platform.

---

<div class="post-metadata">

**Author:** ![Andrew\_Sor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Sor](https://forums.unrealengine.com/u/Andrew_Sor)\
**Post date:** [August 5, 2025, 4:46pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/3 "2025-08-05T16:46:53Z")

</div>

Unfortunately, I couldn’t find this checkbox…  
Linux checked in target platforms in Epic Game Launcher in UE settings. But I checked it recently, first I installed Unreal Engine without it…

---

<div class="post-metadata">

**Author:** ![mirrorclimb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mirrorclimb](https://forums.unrealengine.com/u/mirrorclimb)\
**Post date:** [August 5, 2025, 9:09pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/4 "2025-08-05T21:09:52Z")

</div>

I have the same issue in 5.5.4. I also cannot find the checkbox he is referring to. Just making a fake .sym file and putting it where the manifest expects a sym file to be seemed to allow me to package at least but it would not allow for proper debugging.

---

<div class="post-metadata">

**Author:** ![Andrew\_Sor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Sor](https://forums.unrealengine.com/u/Andrew_Sor)\
**Post date:** [August 6, 2025, 11:48am UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/5 "2025-08-06T11:48:19Z")

</div>

How did you make the fake .sym file? I tried creating an empty file with that name, but it didn’t help…

---

<div class="post-metadata">

**Author:** ![Andrew\_Sor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Sor](https://forums.unrealengine.com/u/Andrew_Sor)\
**Post date:** [August 6, 2025, 12:04pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/6 "2025-08-06T12:04:08Z")

</div>

Since I didn’t get any information on where to disable UBA, I found and followed this tutorial:

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

Now my project builds fine. But I would like to know what UBA is responsible for?

---

<div class="post-metadata">

**Author:** ![Fieol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fieol/32/1104383_2.png) [@Fieol](https://forums.unrealengine.com/u/Fieol)\
**Post date:** [August 17, 2025, 10:04pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/7 "2025-08-17T22:04:12Z")

</div>

I’m following this thread. After making changes in `BuildConfiguration.xml` . I’m building a linux based Dedicated Game Server, I’m using Engine Source Build . I cleaned the intermediates and binaries and rebuilding the project again .  
Will let here know how it worked.

---

<div class="post-metadata">

**Author:** ![Andrew\_Sor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrew\_Sor](https://forums.unrealengine.com/u/Andrew_Sor)\
**Post date:** [September 14, 2025, 12:42pm UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/8 "2025-09-14T12:42:06Z")

</div>

Ok

---

<div class="post-metadata">

**Author:** ![Fieol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fieol/32/1104383_2.png) [@Fieol](https://forums.unrealengine.com/u/Fieol)\
**Post date:** [September 18, 2025, 6:18am UTC](https://forums.unrealengine.com/t/error-while-packaging-project-for-linux/2630997/9 "2025-09-18T06:18:10Z")

</div>

It worked fine.
