# How to minimize the size of my Project for Google Play?

**URL:** <https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, question\
**Created:** [August 24, 2022, 10:01pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711 "2022-08-24T22:01:11Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 24, 2022, 10:01pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/1 "2022-08-24T22:01:12Z")

</div>

I build a test racing game with astonishing 700+mb, previously it was 1.1GB+. Ive done some optimization but it seems impossible to get below 150mb to upload it to Google Play. I have a little map with some assets and a car. At the beginng I imported many things to test out like 3rd person… Is that the reason why it is so large and could i get below 150mb with this car prefab and that street stuff?

What do I have to delete where?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 25, 2022, 1:44am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/2 "2022-08-25T01:44:34Z")

</div>

Hey there @Goodgamejuli! Are you packaging assets from the starter content/templates? That could be causing some size bloat. Unreal itself is a bit heavier than most other smaller engines, but not quite a gig. Are your textures/sounds as optimized as they could be? Are there any videos packaged?

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 25, 2022, 6:33am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/3 "2022-08-25T06:33:12Z")

</div>

Yes, I have a template car and some other stuff but not to much. Can you tell me the size of an empty project? Unity, for example, is packaging only the assets that are used. In Unreal I imported many things like particle systems too but I folllowed some instructions to minimize packaging.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 25, 2022, 8:00am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/4 "2022-08-25T08:00:02Z")

</div>

The lowest I’ve got my smallest UE4 packaged build was around 120mb, and all that was was a tiny platformer without textures and sounds. I’m willing to bet the smallest UE5 build is around the same area. I’ll package one for you in a few and let you know just how tiny I can get it.

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 25, 2022, 8:58am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/5 "2022-08-25T08:58:07Z")

</div>

Thank you. With a cool python script I was able to delete all unused assets in my project but it has still 320mb of size. I think i cant get it smaller. I want to upload it to google play which has a limit of 150mb. Is there a way with expansion files or anything to proceed?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 25, 2022, 9:09am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/6 "2022-08-25T09:09:40Z")

</div>

Absolutely! It’s actually preferred that you use this method usually! I’m not super well versed in mobile packaging, this thread has a bit of information. Hope this helps!

Disclaimer: All of these links are not affiliated with Epic Games, they are just resources that I think could help you make a decision. Thus all liability is on the end user outside of these forums.

> [@APK Expansion Files with UE4 - how?](https://forums.unrealengine.com/t/apk-expansion-files-with-ue4-how/62347):
>
> So apparently it’s possible to release games larger than 100Mb on Play Store using APK Expansion files: [APK Expansion Files &nbsp;|&nbsp; Android Developers](https://developer.android.com/google/play/expansion-files.html?utm_campaign=100MB-APKs-Play-928&utm_source=dac&utm_medium=blog) How do I make sure that when I deploy my project, UE4 will package it to comply with these requirements ? Thanks

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 25, 2022, 6:27pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/7 "2022-08-25T18:27:12Z")

</div>

thank your for Response but I cant get an apk with obb exported. I understood it like that: Export APK+obb, upload obb & APK to Google Play & done, right?

Can you tell me how I get both, obb&apk during export?

Best regards

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 25, 2022, 11:18pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/8 "2022-08-25T23:18:40Z")

</div>

From what I gather, the OBB file is only generated if package game data inside APK is unticked, though I’m unsure of where the split lies after the bake. This may require a bit more testing on what gets packaged immediately and what doesn’t.  
 ![200563-obb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/7/0f763524aa6cf356d4a3971712412747a58a1875.png)

Give that a shot and let me know!

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 26, 2022, 7:44pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/9 "2022-08-26T19:44:03Z")

</div>

Interestingly the apk is only 85mb, I assume that the remaining stuff is inside the obb?

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/c/32cd2ae1eb11736271ff413d2fbbb682a43726e3.png)

BUT Google Play allows only aab app bundles (150mb), apks arent allowed anymore… ):  
I found the following but it looks very complicated ):

> **[Google Play Asset Delivery Reference](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/Distribution/GooglePlayAssetDeliveryReference/)**
>
> API reference and implementation guidelines for the Google PAD API

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 27, 2022, 12:08am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/10 "2022-08-27T00:08:57Z")

</div>

Yep! All game content is in the obb and the base install is in the apk _usually_. I didn’t know aab was the new standard file. Gonna have to read up on it a bit since I hadn’t released a mobile game since 2020 so keeping up with android standards is not my forte. The process still largely remains the same from what I read here. Chunks just determine which files end up together. Looks like you can get 1.5 gbs in on initial install before you have to start downloading in pieces.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/c/98cd13294f821dcec526bd28eeaa51447c762687.png)  
Alright so that’s fun.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/5/9f5cb94a94bf6b34717998634b9032060efc0a4c.png)

> **[Packaging Android Projects](https://docs.unrealengine.com/5.0/en-US/packaging-android-projects-in-unreal-engine/)**
>
> Taking a look at packaging your final Android project.

I’d give it a shot and see how it goes, it seems mostly straight forward via the documentation for projects under 1.5 gb. Anything over that need to start installing via an in app download, which gets to be overkill for smaller games.

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 27, 2022, 9:40am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/11 "2022-08-27T09:40:51Z")

</div>

![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/d/6fd391e088f3c2639de553d64b1edffe0369b680.png)

I followed the instructions but: ):

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/8/f58976e00fbe736ec3cd9e8d74cf87ca2a854587.png)

now I changed the additional gradle file from:

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/a/3fa00ac7e690a88d7898afa17805a84b71b92052.png)

to:

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/6/2969c405504efd17893a7953ed3e861e3ab15aeb.png)

I also create new PAK files every build but that does not remove the dependencies from the old ones, am I right?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 29, 2022, 7:06am UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/12 "2022-08-29T07:06:54Z")

</div>

Hmmm, that’s reaching the end of my mobile packaging knowledge. I’m going to try to make a packaged build this evening and see the .aab process from start to finish to see if I can get a more knowledgeable answer for you. Hopefully a more knowledgeable mobile dev could answer that one before I finish these tests.

---

<div class="post-metadata">

**Author:** ![Ericho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ericho/32/986322_2.png) [@Ericho](https://forums.unrealengine.com/u/Ericho)\
**Post date:** [August 30, 2022, 2:51pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/13 "2022-08-30T14:51:03Z")

</div>

Currently the GooglePAD plugin doesn’t expose everything you need to setup fast-follow and on-demand packages in blueprint. You need to work with several C++ classes to mount, set mount point, connect asset registries and .bin files etc.

If you’re decently confident you can do that, parts of the process is pretty well described in a PDF document I created for my soon to be released product over at [[Plugin] Android Asset Delivery (Easy Google PAD)](https://forums.unrealengine.com/t/plugin-android-asset-delivery-easy-google-pad/634326).

The document can be found by scrolling down on that forum post!

I hope it helps you get past some of the hurdles with setting up GooglePAD for your project!

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [August 30, 2022, 9:00pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/14 "2022-08-30T21:00:15Z")

</div>

Wow that looks great! Im already in love with your Plugin. When will it be available?

---

<div class="post-metadata">

**Author:** ![Ericho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ericho/32/986322_2.png) [@Ericho](https://forums.unrealengine.com/u/Ericho)\
**Post date:** [August 30, 2022, 9:33pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/15 "2022-08-30T21:33:41Z")

</div>

I wish I could tell you! As soon as the review process is completed over at epic games.  
I will post an update on the Support forum thread once it’s released so keep track over there.

And thank you for the kind words! ☺

[Now available here!](https://www.unrealengine.com/marketplace/en-US/product/android-asset-delivery)

---

<div class="post-metadata">

**Author:** ![Goodgamejuli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Goodgamejuli](https://forums.unrealengine.com/u/Goodgamejuli)\
**Post date:** [September 12, 2022, 2:44pm UTC](https://forums.unrealengine.com/t/how-to-minimize-the-size-of-my-project-for-google-play/633711/16 "2022-09-12T14:44:13Z")

</div>

I published a little testmap on google play without all the ingame stuff to test it out but nobody can open it:

> <https://play.google.com/store/apps/details?id=ingenious.games.lab.UnrealRacing&hl=en_US&gl=US>
>
> unreal engine racing game tes...

Unreal generates some additional obb files. Are they needet to run the app?  
Do I have to disable the obb filesplit anywhere and how or do I have to put the obb inside the aab? Google play accepts only aab’s.

![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/2/f/92faa9789418c87ec83a21c65a8bf79e83967dec.png)
