I compiled the Installed Build Engine from source code of UE5.1 using the following command:
Engine\Build\BatchFiles\RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:WithMac=false -set:WithMacArm64=false -set:WithAndroid=false -set:WithIOS=false -set:WithTVOS=false -set:WithLinux=false -set:WithLinuxArm64=false -set:WithHTML5=false -set:WithSwitch=false -WithDDC=false -set:WithWin32=false -set:WithLumin=false -set:WithPS4=false -set:WithXboxOne=false -set:WithHoloLens=false -set:GameConfigurations=Shipping
I’ve tried different -set:GameConfigurations settings, but they all result in about 90GB, which is far more than the official 30GB:
I compared the engine files of the Epic launcher and found that there are many more large binary files:
FolderComparison.txt (423.0 KB)
This problem has been going on for a long time in different engine versions. The newer the version, the bigger the Installed Build is, which is not conducive to release.
How can I compile the Installed Build Engine with the same size as the official version?