# How can I make a 'release' build of Unreal Engine source for team distribution?

**URL:** <https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code\
**Created:** [December 22, 2016, 2:30am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141 "2016-12-22T02:30:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1dffe9f3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1dffe9f3](https://forums.unrealengine.com/u/anonymous_user_1dffe9f3)\
**Post date:** [December 22, 2016, 2:30am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/1 "2016-12-22T02:30:47Z")

</div>

I know that this question has been asked before, however as far as I know the methods before 4.13 are now deprecated and the information post 4.13 seems to be vague, I’m trying to build a precompiled version of the engine, like how Epic ships it.

I tried using ‘BuildGraph’ but that just returns errors no matter what changes I make to the RunUAT.bat buildgraph stuff.

(precompiled release as in the stuff you’d find in C:\Program Files (x86)\Epic Games\4.14\Engine)

Any help is appreciated,

Luminiac

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [December 27, 2016, 5:56am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/2 "2016-12-27T05:56:51Z")

</div>

1: First you need to download/clone the source from GitHub.  
2: Run Setup.bat  
3: Once Setup.bat finishes run GenerateProjectFiles.bat  
4: Open UE4.sln file and from Solution Explorer, right click on AutomationTool (under Programs) and select Build. This should build AutomationTool.exe successfully.  
5: Now copy the below script, save it as bat and run it.

```auto

"PATH TO YOUR AUTOMATION TOOL EXE" BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:HostPlatformOnly=true -set:WithDDC=false -set:SignExecutables=false -clean

```

This will create a binary version of UE4 that you can distribute to your team. You can find it in _ **UE4Folder/LocalBuilds** _.

Hope it helps. 🙂

EDIT: Check out this thread: [[TOOL] Create your own binary build for your team - Engine Source & GitHub - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?132389-TOOL-Create-your-own-binary-build-for-your-team) 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1dffe9f3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1dffe9f3](https://forums.unrealengine.com/u/anonymous_user_1dffe9f3)\
**Post date:** [January 11, 2017, 5:46am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/3 "2017-01-11T05:46:56Z")

</div>

Thanks! I tried both ways and it compiled into \Engine\Binaries\Win64\ and not sure if Im suppose to strip the source code to distribute or? Not much documentation.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1dffe9f3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1dffe9f3](https://forums.unrealengine.com/u/anonymous_user_1dffe9f3)\
**Post date:** [March 23, 2017, 7:26am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/5 "2017-03-23T07:26:35Z")

</div>

Sorry to bump, it’s been 2 months and I still haven’t found an answer.

---

<div class="post-metadata">

**Author:** ![ryanjon2040](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ryanjon2040/32/906587_2.png) [@ryanjon2040](https://forums.unrealengine.com/u/ryanjon2040)\
**Post date:** [March 24, 2017, 6:08am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/6 "2017-03-24T06:08:06Z")

</div>

> [@luminiac;649373](#):
>
> Thanks! I tried both ways and it compiled into \Engine\Binaries\Win64\ and not sure if Im suppose to strip the source code to distribute or? Not much documentation.

> [@luminiac;684639](#):
>
> Sorry to bump, it’s been 2 months and I still haven’t found an answer.

Sorry for the late reply. You can remove the source code folder if you want to. Make sure below folders exist when distributing:

Engine\*_Binaries_\*  
Engine\*_Build_\*  
Engine\*_Config_\*  
Engine\*_Content_\*  
Engine\*Documentation\* (optional I guess if you don’t want rich tooltips)  
Engine\*_Intermediate_\*  
Engine\*_Plugins_\*  
Engine\*_Programs_\*  
Engine\*\*Shaders  
\*\*  
You can even remove \*.pdb files if you want from Engine\Binaries\Win64 (comes around 5.5 GB or so) but then if a crash occurs they wont get an idea of what it is.

---

<div class="post-metadata">

**Author:** ![DamirH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/damirh/32/906591_2.png) [@DamirH](https://forums.unrealengine.com/u/DamirH)\
**Post date:** [May 30, 2017, 7:31am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/7 "2017-05-30T07:31:57Z")

</div>

Apologies for the semi-necro but I ran into issues with this as well. Namely, no LocalBuilds folder is generated anywhere and it seems to build on top of my “normal” engine installation in {Root}/Engine/Binaries, which is less than ideal. I have made a customized InstalledEngineBuild.xml and my command is:

```auto

../../Engine/Build/BatchFiles/RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script="Games/MyGame/InstalledEngineBuild.xml" -set:HostPlatformOnly=true -set:WithWin64=true -clean

```

In my InstalledEngineBuild.xml I have this:

```auto

<Property Name="LocalInstalledDir" Value="D:/LocalBuilds/Engine/Windows"/>

```

Still no dice.

---

<div class="post-metadata">

**Author:** ![duke22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duke22](https://forums.unrealengine.com/u/duke22)\
**Post date:** [July 27, 2017, 2:26am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/8 "2017-07-27T02:26:43Z")

</div>

> [@DamirH;716431](#):
>
> Apologies for the semi-necro but I ran into issues with this as well. Namely, no LocalBuilds folder is generated anywhere and it seems to build on top of my “normal” engine installation in {Root}/Engine/Binaries, which is less than ideal. I have made a customized InstalledEngineBuild.xml and my command is:
> 
> ```auto
> 
> ../../Engine/Build/BatchFiles/RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script="Games/MyGame/InstalledEngineBuild.xml" -set:HostPlatformOnly=true -set:WithWin64=true -clean
> 
> ```
> 
> In my InstalledEngineBuild.xml I have this:
> 
> ```auto
> 
> <Property Name="LocalInstalledDir" Value="D:/LocalBuilds/Engine/Windows"/>
> 
> ```
> 
> Still no dice.

I’m having the same issue.

---

<div class="post-metadata">

**Author:** ![dragon3582](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dragon3582](https://forums.unrealengine.com/u/dragon3582)\
**Post date:** [August 11, 2017, 1:20am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/9 "2017-08-11T01:20:13Z")

</div>

I’m a little confused on a couple of things when going through this thread here that maybe someone will see and can hopefully give me a little direction.

1. That pathway for the script mentioned in ryans first post, I’m supposed to replace that stuff inside the quotes with a full pathway link to the RunUAT.bat file where that file resides right? From root to location? Or just relative location like if i save the bat in the same folder as the engine folder will I only have to put Engine/… ?

2. Will running this provide me with a fully ready to zip up build of the engine? Like I can put this on my desktop and my laptop and be able to work on the same source controlled project just fine from both computers?

---

<div class="post-metadata">

**Author:** ![waterswaterAhHa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@waterswaterAhHa](https://forums.unrealengine.com/u/waterswaterAhHa)\
**Post date:** [July 2, 2024, 8:19am UTC](https://forums.unrealengine.com/t/how-can-i-make-a-release-build-of-unreal-engine-source-for-team-distribution/81141/10 "2024-07-02T08:19:41Z")

</div>

Thanks
