# Stripping out some source code for Custom Builds of Unreal Engine

**URL:** <https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub, UE5-0, UE4\
**Created:** [February 23, 2022, 3:32am UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216 "2022-02-23T03:32:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haywoodspartan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haywoodspartan](https://forums.unrealengine.com/u/Haywoodspartan)\
**Post date:** [February 23, 2022, 3:32am UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/1 "2022-02-23T03:32:34Z")

</div>

Is it possible to strip out lots of code dealing with IOS/Android and TVOS without causing the Engine Source to give compile errors or are these Platform Environments Base Code so baked in that stripping down the engine would cause more problems than what it’s worth? I ask since I am writing custom netcode for Server Client on a Larger scale in order to get more functionality and resource out of the engine when it’s ran. I actually don’t plan on supporting Mobile or any that is not Windows, Mac or Linux/Unix.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4aa5607e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4aa5607e1](https://forums.unrealengine.com/u/anonymous_user_4aa5607e1)\
**Post date:** [March 10, 2022, 8:16pm UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/2 "2022-03-10T20:16:07Z")

</div>

You don’t really need to strip anything out - just add what you want for the platforms you support, I don’t think anything is forcing you to build the engine for android etc.

---

<div class="post-metadata">

**Author:** ![Haywoodspartan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haywoodspartan](https://forums.unrealengine.com/u/Haywoodspartan)\
**Post date:** [April 2, 2022, 4:08pm UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/3 "2022-04-02T16:08:54Z")

</div>

I already fixed the issue buy stripping out all the Unneeded code for Android, Oculus, HoloLens, TVOS, IOS, Google and Tencent along with Facebook.

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [April 2, 2022, 4:27pm UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/4 "2022-04-02T16:27:27Z")

</div>

While you are at it, you might want to consider removing Python foundation and all Python support, since it adds nearly 12GB extra size to engine installation.

---

<div class="post-metadata">

**Author:** ![Haywoodspartan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haywoodspartan](https://forums.unrealengine.com/u/Haywoodspartan)\
**Post date:** [April 2, 2022, 4:29pm UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/5 "2022-04-02T16:29:49Z")

</div>

Do you use python for scripting or Lua or do you think I should just go for designing my own scripting engine for quest lines

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [April 2, 2022, 4:38pm UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/6 "2022-04-02T16:38:36Z")

</div>

Python is for the Editor scripting only.  
You won’t even use it for anything executed on packaged games.

---

<div class="post-metadata">

**Author:** ![Haywoodspartan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Haywoodspartan](https://forums.unrealengine.com/u/Haywoodspartan)\
**Post date:** [April 3, 2022, 5:00pm UTC](https://forums.unrealengine.com/t/stripping-out-some-source-code-for-custom-builds-of-unreal-engine/501216/7 "2022-04-03T17:00:41Z")

</div>

Trying to make the Engine Source as super lightweight as possible for Custom Source Control since I plan on designing my own Networking Framework for the engine.
