# How can I prevent chunks from being included in Android .obb in order to remotely fetch them via the ChunkDownloader Plugin?

**URL:** <https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 12, 2021, 8:41am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263 "2021-05-12T08:41:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Esukarotsupu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Esukarotsupu](https://forums.unrealengine.com/u/Esukarotsupu)\
**Post date:** [May 12, 2021, 8:41am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/1 "2021-05-12T08:41:28Z")

</div>

Hello,

I’m currently working on an app that needs to download and mount optional chunks at runtime. To simplify, let’s say It’s a modelviewer where you select a model and its chunk is downloaded from a server and mounted at runtime, then displayed. I’ve been using ChunkDownloader for this purpose and have managed to deploy a succesful test project on Windows.

The issue is that when I try to adapt this to Android and package my project from File/Package Project/Android, I end up with an .apk and an .obb. The underlying problem here is that the .obb contains the .pak files that I wand to host remotely and fetch at runtime, but in this state the .obb is required in order for the app to work properly, which goes against my initial intent of these being “optional” content.

So, my question is :

Is there a way to either prevent my optional chunks to be included in the .obb or to exclude these chunks from the packaging and package them separetly ?

---

<div class="post-metadata">

**Author:** ![Esukarotsupu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Esukarotsupu](https://forums.unrealengine.com/u/Esukarotsupu)\
**Post date:** [July 1, 2021, 10:21am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/2 "2021-07-01T10:21:07Z")

</div>

Here is the answer I got from Michael Prinke, which allowed me to solve this issue :

> I got your Email regarding the chunks/OBBs. In DefaultEngine.ini, you need to add a series of OBB filters, like so:

> [/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]  
> +ObbFilters=“-_pakchunk1_”
> 
> +ObbFilters=“-_pakchunk2_”
> 
> +ObbFilters=“-_pakchunk3_”
> 
> +ObbFilters=“-_pakchunk4_”
> 
> +ObbFilters=“-_pakchunk5_”
> 
> +ObbFilters=“-_pakchunk6_”
> 
> +ObbFilters=“-_pakchunk7_”
> 
> +ObbFilters=“-_pakchunk8_”
> 
> +ObbFilters=“-_pakchunk9_”

> This will exclude pak files from your OBBs that include any part of the provided strings in their names. I’ve added this \> to the GooglePAD docs, as it affects that solution too, but I’ll find a home for this in the general patching docs as well \> so it doesn’t get overlooked.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56109b68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56109b68](https://forums.unrealengine.com/u/anonymous_user_56109b68)\
**Post date:** [October 6, 2022, 6:00am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/3 "2022-10-06T06:00:08Z")

</div>

So I’m facing the same issue right now. The .pak files are being generated but they’re also being packaged into the obb file increasing it’s size to gbs.

I tried the obbfilters thing that you added in the previous post but it did not help.  
Is there any other step that you had to do?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56109b68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56109b68](https://forums.unrealengine.com/u/anonymous_user_56109b68)\
**Post date:** [October 6, 2022, 11:21am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/4 "2022-10-06T11:21:14Z")

</div>

For anyone else facing the same issue. This is the syntax:

```auto
[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
+ObbFilters="-*pakchunk1*"
+ObbFilters="-*pakchunk2*"
+ObbFilters="-*pakchunk3*"
+ObbFilters="-*pakchunk4*"
+ObbFilters="-*pakchunk5*"
+ObbFilters="-*pakchunk6*"
+ObbFilters="-*pakchunk7*"
+ObbFilters="-*pakchunk8*"
+ObbFilters="-*pakchunk9*"

```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_56109b68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_56109b68](https://forums.unrealengine.com/u/anonymous_user_56109b68)\
**Post date:** [October 24, 2022, 5:55am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/5 "2022-10-24T05:55:00Z")

</div>

So I’m facing the same issue on iOS. All paks are packaged inside the .ipa file when making builds.  
How to stop this from happening on iOS?

---

<div class="post-metadata">

**Author:** ![Fedosov\_A](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fedosov\_A](https://forums.unrealengine.com/u/Fedosov_A)\
**Post date:** [December 10, 2023, 1:49pm UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/6 "2023-12-10T13:49:37Z")

</div>

> **[UE热更新：拆分基础包](https://imzlp.com/posts/13765/)**
>
> 在之前的几篇文章中，分别介绍了UE热更新的实现机制，以及热更的自动化流程，近期打算继续写几篇文章介绍下UE里热更新中资源包管理的流程和规则。 当然，不同类型的项目会有不同的打包策略，资源管理也没有通用的最佳策略。本篇文章主要介绍热更新流程中基础包的拆分的工程实践，涉及修改引擎实现Android/IOS通用拆分方式的方法，希望对不同业务的项目能提供一些有用的思路。 在实际的工程实践中，我们抛弃了U

---

<div class="post-metadata">

**Author:** ![Readhunterbd1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Readhunterbd1](https://forums.unrealengine.com/u/Readhunterbd1)\
**Post date:** [May 18, 2025, 5:35am UTC](https://forums.unrealengine.com/t/how-can-i-prevent-chunks-from-being-included-in-android-obb-in-order-to-remotely-fetch-them-via-the-chunkdownloader-plugin/483263/7 "2025-05-18T05:35:40Z")

</div>

so i have aquick question. in windows we can swap the pakchunk manually in the content folder and it works but for android if i want to place the pakchunk manually where should i put it
