# Large build size with Unity

**URL:** https://community.nianticspatial.com/t/large-build-size-with-unity/2455
**Category:** I'm Stuck
**Created:** [August 3, 2022, 3:47pm UTC](https://community.nianticspatial.com/t/large-build-size-with-unity/2455 "2022-08-03T15:47:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Kelvin\_Yeung](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@Kelvin\_Yeung](https://community.nianticspatial.com/u/Kelvin_Yeung)
#### Post date: [August 3, 2022, 3:47pm UTC](https://community.nianticspatial.com/t/large-build-size-with-unity/2455/1 "2022-08-03T15:47:16Z")

</div>

- **Issue category** : Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS
- **Device type & OS version** : Android
- **Host machine & OS version** : Mac
- **Issue Environment** : On Device
- **ARDK version** : 1.3.0
- **Unity version** : 2021.2.16f1

Description of the issue:  
My APK/AAB build size after adding Niantic lightship to Unity is around 30MB larger than my previous build size. It brings me over the 150MB limit for Play store requirements.  
After following recommendations from reducing build size from Unity, I have already reduced my user assets down to 6MB, and can’t reduce it much further.  
I am only using Niantic Lightship for basic AR functions including Plane manager, placing objects.  
Does anyone have any recommendations on things like scripts to delete or settings to change that can help reduce the build size?

---

<div class="post-metadata">

### Author: ![Jason\_Rose1](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/jason_rose1/32/28_2.png) [@Jason\_Rose1](https://community.nianticspatial.com/u/Jason_Rose1)
#### Post date: [August 3, 2022, 9:49pm UTC](https://community.nianticspatial.com/t/large-build-size-with-unity/2455/2 "2022-08-03T21:49:39Z")

</div>

Hello Kelvin,

We have a few suggestions for you.

1. There is a massive Yeti model that you should remove first `ARDKExamples/Common/Prefabs/Yeti`.
2. There are a number of `prefabs/materials/etc` in ARDKExamples/Common that are probably safe to remove if you are not using them.
3. Apart from those any script from ARDKExamples that you are not using should also be safe to remove.

Please let us know if this helps to reduce your APK size.

---

<div class="post-metadata">

### Author: ![Dylan\_Smit](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/dylan_smit/32/562_2.png) [@Dylan\_Smit](https://community.nianticspatial.com/u/Dylan_Smit)
#### Post date: [August 4, 2022, 8:10am UTC](https://community.nianticspatial.com/t/large-build-size-with-unity/2455/3 "2022-08-04T08:10:59Z")

</div>

You can separate the apk and obb to upload to the play store with whatever size

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/system/32/13_2.png) [@system](https://community.nianticspatial.com/u/system)
#### Post date: [October 13, 2022, 9:24am UTC](https://community.nianticspatial.com/t/large-build-size-with-unity/2455/4 "2022-10-13T09:24:30Z")

</div>

This topic was automatically closed 2 hours after the last reply. New replies are no longer allowed.
