# No sound when Android "Split apks by target architecture" is turned on

**URL:** <https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024>\
**Category:** Unity\
**Created:** [July 29, 2020, 10:49am UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024 "2020-07-29T10:49:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eclipsed](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eclipsed](https://qa.fmod.com/u/Eclipsed)\
**Post date:** [July 29, 2020, 10:49am UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/1 "2020-07-29T10:49:35Z")

</div>

Hi, as the subject says if we turn on the “Split apks by target architecture” we can’t hear any sounds.

There is no problem at all if we build and run a single apk (not split by architecture).

We’re on 2018.4.13f1 and using FMOD 2.00.09 and we’re using the streaming assets.

Any ideas anybody? I’ve been looking at this for 2 days now with no clue, the only thing I can think of is the way the banks are loaded is different for apk+obb, but before upgrading to 2.00.09 we never had this problem.

Thanks!

---

<div class="post-metadata">

**Author:** ![Eclipsed](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eclipsed](https://qa.fmod.com/u/Eclipsed)\
**Post date:** [July 30, 2020, 1:52pm UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/2 "2020-07-30T13:52:20Z")

</div>

It turned out that was caused by the fact that our banks are encrypted, after disabling the encryption everything was fixed.

Is this a known issue? We really want to keep our banks encrypted for obvious reasons.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 5, 2020, 2:05am UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/3 "2020-08-05T02:05:20Z")

</div>

We are not aware of an issue like this and I have not been able to reproduce it.  
Are you able to share the output log at all?

---

<div class="post-metadata">

**Author:** ![Eclipsed](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eclipsed](https://qa.fmod.com/u/Eclipsed)\
**Post date:** [August 5, 2020, 2:42pm UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/4 "2020-08-05T14:42:04Z")

</div>

The only one that I still have is the following piece of log from logcat through Android Studio

2020-07-30 11:40:48.428 8139-8273/com.REDACTED.redacted\> E/Unity: [FMOD] SystemI::createSoundInternal : Cannot FMOD\_OPENMEMORY\_POINT encrypted data.

Removing the encryption solved the problem.

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 10, 2020, 4:23am UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/5 "2020-08-10T04:23:04Z")

</div>

I have been able to reproduce this, but the bad news is that it’s not an easy fix and likely won’t be available until the next major release.

> [Studio::System::loadBankMemory](https://fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio_system_loadbankmemory) is not compatible with [FMOD\_STUDIO\_ADVANCEDSETTINGS::encryptionkey](https://fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#fmod_studio_advancedsettings_encryptionkey), using them together will cause an error to be returned.

[https://fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio\_system\_loadbankmemory](https://fmod.com/resources/documentation-api?version=2.1&page=studio-api-system.html#studio_system_loadbankmemory)

The Integration uses `loadBankMemory` when the banks are not located on the APK, which means encryption will not work with Banks/TextAssets outside of the APK.

---

<div class="post-metadata">

**Author:** ![Eclipsed](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Eclipsed](https://qa.fmod.com/u/Eclipsed)\
**Post date:** [August 10, 2020, 9:55am UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/6 "2020-08-10T09:55:07Z")

</div>

By major release you mean 2.1.\*\*? when can we expect that as a Unity plugin?

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [August 10, 2020, 10:23pm UTC](https://qa.fmod.com/t/no-sound-when-android-split-apks-by-target-architecture-is-turned-on/16024/7 "2020-08-10T22:23:44Z")

</div>

> [@Eclipsed](#):
>
> By major release you mean 2.1.\*\*?

Correct, at this point we are unable to give an ETA.
