# Different apk size in 4.3 and 4.2?

**URL:** <https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447>\
**Category:** Platform & Builds\
**Tags:** size, apk, build, unreal-engine, question\
**Created:** [August 8, 2014, 1:04pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447 "2014-08-08T13:04:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 8, 2014, 1:04pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/1 "2014-08-08T13:04:16Z")

</div>

Hello!  
Why are games packaged in UE4.3 larger than if it did in UE4.2 on 15mb?  
And if we compare the logs in 4.3 adds a lot of pngs and fonts from

Engine/Content/Slate/…

Can it be a reason of bigger size and how can I get rid of it?

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 8, 2014, 1:10pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/2 "2014-08-08T13:10:48Z")

</div>

Try packaging your build in Shipping mode (both cooking and building) using the UnrealFrontend. This usually strips a lot of unnecessary content out.

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 8, 2014, 2:28pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/3 "2014-08-08T14:28:26Z")

</div>

Thank you for quick answer. I dont know how use the UnrealFrontend, but I will try:)

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 8, 2014, 7:12pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/4 "2014-08-08T19:12:08Z")

</div>

I tried use UnrealFrontend, but it didn’t help me.

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 8, 2014, 8:16pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/5 "2014-08-08T20:16:16Z")

</div>

What is the exact size difference?

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 8, 2014, 8:28pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/6 "2014-08-08T20:28:55Z")

</div>

For example, when I build ETC1 TappyChicken in 4.2 its size 28mb, but in 4.3 its size 48mb.

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 9, 2014, 8:04am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/7 "2014-08-09T08:04:29Z")

</div>

In Shipping mode? Could you check the texture size in px within ‘DefaultEngine.ini’ and the game version of that ini (if it exists) and check the size of the texture groups?

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 9, 2014, 9:47am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/8 "2014-08-09T09:47:33Z")

</div>

Yeah in Shipping. Which textures? In game version of DefaultEngine.ini I dont see any information about textures. And where locate DefaultEngine.ini in engine?

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 9, 2014, 12:54pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/9 "2014-08-09T12:54:29Z")

</div>

So then you are using the base settings which will result in quite large sizes. Add the following to your DefaultEngine.ini and change the MaxLod size to 512 for example:

```
[SystemSettings]
TEXTUREGROUP_World=(MinLODSize=1,MaxLODSize=4096,LODBias=0,MinMagFilter=aniso,MipFilter=point)
TEXTUREGROUP_WorldNormalMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0,MinMagFilter=aniso,MipFilter=point)
TEXTUREGROUP_WorldSpecular=(MinLODSize=1,MaxLODSize=4096,LODBias=0,MinMagFilter=aniso,MipFilter=point)
...

```

Copy all from BaseEngine.ini regarding the texture groups from the engine config folder.

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 10, 2014, 9:48am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/10 "2014-08-10T09:48:38Z")

</div>

Thanks for help! But after changing it my file has the same size:)  
Actually some ugly method helps me reduce size of my build on almost 20mb. I just remove some files from engine before building and my game works fine:)))))  
Does anybody know where and what Do i have to write in ini files for excluding folders from build?

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 10, 2014, 10:11am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/11 "2014-08-10T10:11:02Z")

</div>

Could you post which files did you got rid of? Also you should try reducing the size of all texture groups (or you already did :D).

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [August 10, 2014, 10:22am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/12 "2014-08-10T10:22:15Z")

</div>

Engine\Content\Slate\Fonts

Engine\Content\Slate\Common

and delete  
+ContentDirectories=/Engine/MobileResources  
from BaseEditor in Engine\Config

Don’t forget save before remove, ue4 does not run without it:)))

It’s really bad method and it would be nice to realise how to do this in ini files in project.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2f116e5b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2f116e5b](https://forums.unrealengine.com/u/anonymous_user_2f116e5b)\
**Post date:** [August 10, 2014, 12:17pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/13 "2014-08-10T12:17:38Z")

</div>

@Accumu1ator thanks for sharing this info,helped me a lot. My project OBB size is reduced by 15mb.

Can someone from staff guide more on this. What else can we remove from engine while packaging game, to get final package in minimum size 🙂

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 10, 2014, 2:58pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/14 "2014-08-10T14:58:14Z")

</div>

It might be possible to adjust some in the platform specific ini file.  
Instead of deleting the statement from the Base one add it to yours but with a minus character (-ContentDirectories=/Engine…).

Getting rid of slate stuff will also get rid of the ability to use slate in your build.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2f116e5b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2f116e5b](https://forums.unrealengine.com/u/anonymous_user_2f116e5b)\
**Post date:** [August 11, 2014, 5:05am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/15 "2014-08-11T05:05:02Z")

</div>

where exactly do i need to add -ContentDirectories command. I tried adding this to my project’s DefaultEngine.ini under [SystemSettings] but didn’t helped me.

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [August 11, 2014, 10:24am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/16 "2014-08-11T10:24:12Z")

</div>

It should go into ‘DefaultEditor.ini’ under the [UI] group. Always check the base engine config files to assure you make the proper changes.

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [March 11, 2015, 10:50am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/17 "2015-03-11T10:50:11Z")

</div>

Do you still need assistance on the issue?

---

<div class="post-metadata">

**Author:** ![Accumu1ator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Accumu1ator](https://forums.unrealengine.com/u/Accumu1ator)\
**Post date:** [March 13, 2015, 5:38pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/18 "2015-03-13T17:38:32Z")

</div>

Hello. I tried different ways but couldn’t do it right way. I don’t work on the project now. And honestly I don’t know if there is the problem still in UE4.7. But anyway thank you!

---

<div class="post-metadata">

**Author:** ![Moss](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/moss/32/704032_2.png) [@Moss](https://forums.unrealengine.com/u/Moss)\
**Post date:** [March 13, 2015, 6:04pm UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/19 "2015-03-13T18:04:54Z")

</div>

I’ll resolve the issue. If you have any updates please let me know ^^

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6d81d6c3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6d81d6c3](https://forums.unrealengine.com/u/anonymous_user_6d81d6c3)\
**Post date:** [March 25, 2017, 8:07am UTC](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447/20 "2017-03-25T08:07:19Z")

</div>

will getting rid of the slate stuff mess with my UI? isn’t UMG built on slate?

[Next page](https://forums.unrealengine.com/t/different-apk-size-in-4-3-and-4-2/290447.md?page=2)
