Is there a way to reduce source build size?

The engine’s size have become ridiculously big to the point where I need a whole separate hard drive for it; future proofing to be considered as well.

I use the command: git clone https://github.com/EpicGames/UnrealEngine --depth=1 --branch 5.3.2-release and after I do Setup.bat I have around 50+ GB.

It is the exact same size I get when I just do git clone https://github.com/EpicGames/UnrealEngine or download the code from the browser in a zip.

I got this idea from here: Alex :eagle: on X: “@afrayedknot1337 With the 5.2 release, I finally had a chance to look into comparing the 2. clone with --depth=1: 2.67GB clone without --depth=1: 27.6GB space gained: approx. 25GB https://t.co/LzYGkWspxF” / X (twitter.com)

So is there a way to reduce the size of UE5?
I care about Windows only.

1 Like

Nevermind, I messed up.
There’s no 5.3.2-release branch.
I had to do:
git clone https://github.com/EpicGames/UnrealEngine.git --depth=1 --branch 5.3 instead.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.