I have made an UE4 project which is now ready for packaging. The project uses only UMG, the UGameModeBase class to create the HUD at startup, Materials, Material Functions and Material Instances, an empty level and it contains two image files. It is a blueprint-only project
I am using none of the 3D-rendering code and nothing to do with lighting. I could also remove the Material Instances if it would help with the following problem.
I am looking for a way to decrease the file size from approximately 100mb (Windows x64 build) to something much smaller, possibly by removing some 3D rendering code as the project is just an empty level with a UMG UI, although I am not sure how this would work seeing as I am using quite complex (unlit) materials. I have already disabled the setting to include engine content in the packaged build as well as disable all unused plugins.
Is there any way to decrease the file size further?
I don’t think there way to do that without heavily modifying things in UEnigne class and RHI, engine module alone contains lot of 3D stuff… i mean this is 3D enigne so what you expect? Unity can do this thanks to it’s 2D enigne roots, Unreal since it’s origin of Unreal (the game) was always 3D engine. Not to mention UMG was made for UI while Paper2D suppose to do 2D gameplay (but i didn’t hear any development on that). Read how to shrink build of UE4 in normal means there defiantly tutorials, thats your best bet
There way to make Slate only applications (UMG is powered by Slate) but considering Blueprint system sits Engine module and whole point of UMG is make Slate usable in blueprints, it makes no sense to even try that as you could as well build it normally, i also not sure about legality of to EULA, if you can distribute such application.