# Android OBB not loading large audio with streaming=false

**URL:** https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541
**Category:** Unity
**Created:** [April 25, 2024, 9:03am UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541 "2024-04-25T09:03:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![janjirsa](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/janjirsa/32/6411_2.png) [@janjirsa](https://qa.fmod.com/u/janjirsa)
#### Post date: [April 25, 2024, 9:03am UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541/1 "2024-04-25T09:03:20Z")

</div>

Android build with OBB file doesn’t load banks of music which aren’t streaming. In the app there are UI sounds (one shot = true) which aren’t streaming and they work.

Is it feature? If not, could I fix it somehow?

(Edit: I am waiting in coroutine until the RuntimeManager.HasBankLoaded is true … it works perfectly if the event is streaming but it throws error when the event is not streaming)

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [April 29, 2024, 1:38am UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541/2 "2024-04-29T01:38:11Z")

</div>

Hi,

What version of FMOD and Unity are you using?

Could I please get some reproduction steps?

> [@janjirsa](#):
>
> (Edit: I am waiting in coroutine until the RuntimeManager.HasBankLoaded is true … it works perfectly if the event is streaming but it throws error when the event is not streaming)

Could I please get a snippet of the code causing this error?

---

<div class="post-metadata">

### Author: ![janjirsa](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/janjirsa/32/6411_2.png) [@janjirsa](https://qa.fmod.com/u/janjirsa)
#### Post date: [April 29, 2024, 9:06am UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541/3 "2024-04-29T09:06:29Z")

</div>

it’s unity 2021.3.16f and fmod 2.02.09

the repro steps are, if I have a bank with an event where streaming is on, the sound is playing and if not, the sound is not playing

there’s no special code (and I can’t share it) … it’s

1. RuntimeManager.LoadBank
2. yield return new WaitUntil.RuntimeManager.HasBankLoaded
3. RuntimeManager.CreateInstance

when the event in the bank is not streaming the bank doesn’t load … the event is long music

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [April 30, 2024, 3:32am UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541/4 "2024-04-30T03:32:12Z")

</div>

Thank you for the information.

Unfortunately, I was not able to reproduce the issue.

Could I please get a screenshot of your FMOD Unity integration settings:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/4/4df0a3679c193266f857fa4c2ff470ad592ee936.png)

In the `Initialization` settings, please set the `Logging Level` to `Warning` and enable `API Error Logging`. Then share the logs when trying to play the event.

---

<div class="post-metadata">

### Author: ![janjirsa](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/janjirsa/32/6411_2.png) [@janjirsa](https://qa.fmod.com/u/janjirsa)
#### Post date: [June 13, 2024, 12:03pm UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541/5 "2024-06-13T12:03:49Z")

</div>

We never found out what was the problem. We tried to switch from NORMAL to NONBLOCKING which helped us to play other groups of sounds but this particular one still had the issue that it didn’t play the first time the application was started (after reinstalling).

After we switched to Addressables all issues disappeared.

So my advice to anybody with the OBB issue - instead of StreamingAssets try Asset Bundles.

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [June 14, 2024, 12:53am UTC](https://qa.fmod.com/t/android-obb-not-loading-large-audio-with-streaming-false/21541/6 "2024-06-14T00:53:32Z")

</div>

Thanks for sharing your solution.
