Delete Engine Content for packaged Mobile game?

Hi.

I am editing this post because i have been reading a lot.
Even though i have not come to an answer yet.

If we do not use C++ is there any way to control what is included in the packaged content?
For example

(shrink your executable a little bit
by switching to C++, and disabling
unnecessary plugins and libraries at
compile time (via EnabledPlugins and
the Project.Build.cs and
Project.Target.cs files)

Questions
Is it possible to remove the Sky materials from the engine content in a packaged game?
Is it possible to remove all the slate textures and icons from the engine content in a packaged game?

My IOS build is 52mb atm. My ETC1 android build is 72mb.
Why?
Does ETC1 compress less?

OK.

So. Ignore all else.
What is safe to delete.

The following folders are big that is under the engine content of the packaged mobile game.

Slate - 15mb ( inside there are tons of pictures i have never seen in my game so i am assuming these aren’t used)

Localization - 11mb It contains dictionary files etc. Considering my game does now allow you to enter any text anywhere… do i really need these things?)

Please guys.
I am so close to being below the limit and sending my game through to apple for approval.

Your help would be much appreciated.

Sad to find this question unanswered. I consider this a very important concern for every mobile developer.

I can’t find also any good info. Answers always say: “Are using shipping config? Are you including starter conent?” … and nothing new.

After a few days researching and testing the lower I could get is 37mb using UMG and Paper2D in 4.6.1.

Follor these answer instructions: Why are android file sizes so big? - Mobile - Unreal Engine Forums

Also check your level references: Right Click over your map asset → Reference Viewer. And try to find any referenced resources that you don’t really need. I deleted PostProcessingVolume cube that save me around 2mb because of referenced big size texture.

Thank you. I will have a look at deleting content from the engine folder before building.

Wow good job! I read somewhere that Unreal always has at least 100 MB on Android because it has to include a bunch of libraries for converting C++ to Java, but it looks like that’s not the case.

Try now after updates. You won’t be able to get your project down to 50mb. If you extract your apk the lib folder will itself will be 164mb which probably compressed to minimum 42-43mb.
Can’t go below that irrespective of your game content is!
That lib probably includes all the things from Engine C++ classes as well during packaging. And there is no way to remove it
Good luck using unreal for basic puzzle game.

My definitive solution was to avoid UE4 use any other lightweight game engine for mobile games :slight_smile: like Defold with ~5mb apk size.
I think, since google appstore increased the the max app size from 50mb to 100mb is no longer a priority (and maybe never have being) for UE devs to try to keep small apk sizes.
Then UE for PC and console games.