# Error with Programmer Sound and Asset Bundles

**URL:** <https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386>\
**Category:** Unity\
**Created:** [July 5, 2023, 12:16pm UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386 "2023-07-05T12:16:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![canocoder](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@canocoder](https://qa.fmod.com/u/canocoder)\
**Post date:** [July 5, 2023, 12:16pm UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/1 "2023-07-05T12:16:36Z")

</div>

Hello! We are doing a mobile port of a game from several years ago with FMOD version 1.10.

Currently we cannot update the version because it causes us a lot of errors in the project and we want to do this as a last resort since it would consume us a lot of time. If by chance you confirm that it is a version problem, then we will start with the update. But without knowing for sure we can’t put that much effort into it. The Unity version we are using for the port is 2021.3.12.

I will detail the problem. We have configured the sound banks by asset bundles and for now the loading and playback of events does it without problem.

The problem is with the programmer sounds. When we use them we get this error:  
[FMOD] CodecFSB5::canPointInternal : Cannot FMOD\_OPENMEMORY\_POINT non-PCM data.  
Programmer sound: Can’t create sound, key IntroBrotherhood\_0 ERR:ERR\_MEMORY\_CANTPOINT

If we use banks such as StreamingAssets there is no problem, it is only when selecting the AssetBundles option.

---

<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:** [July 10, 2023, 6:33am UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/2 "2023-07-10T06:33:50Z")

</div>

I was able to get it running locally, using AssetBundles and FMOD 1.10.20, are you able to provide more information:

- Exact FMOD Version.
- Platform/s tested.
- How are you loading the AssetBundles?

---

<div class="post-metadata">

**Author:** ![canocoder](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@canocoder](https://qa.fmod.com/u/canocoder)\
**Post date:** [July 10, 2023, 9:08am UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/3 "2023-07-10T09:08:03Z")

</div>

Where can I see the exact version of the FMOD plugin installed?

---

<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:** [July 10, 2023, 10:59pm UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/4 "2023-07-10T22:59:19Z")

</div>

In the menu bar, ‘FMOD \> About Integration’.  
[https://fmod.com/docs/2.02/unity/troubleshooting.html#checking-the-plugin-version](https://fmod.com/docs/2.02/unity/troubleshooting.html#checking-the-plugin-version)

---

<div class="post-metadata">

**Author:** ![canocoder](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@canocoder](https://qa.fmod.com/u/canocoder)\
**Post date:** [July 13, 2023, 2:29pm UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/5 "2023-07-13T14:29:42Z")

</div>

Hello Cameron, here is all the info:  
FMOD Plugin: 1.10.13  
Platform: Android

Now I have more info. When I build the banks with Encoding Format FADPCM or Vorbis, I have this error. But when I build the banks with PCM format, works perfect.  
The problem is that format is a very big size bank and I can’t use in Asset Bundles for the AAB.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/a/a25e4bfe68573620d983fb79af71f46856fefcbe.jpeg)

---

<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:** [July 18, 2023, 6:07am UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/6 "2023-07-18T06:07:11Z")

</div>

Thanks for that info.

You may want to check your programmer sound creation code, in particular the `FMOD.MODE`.

> This is from [Studio::System::getSoundInfo](https://fmod.com/docs/2.02/api/studio-api-system.html#studio_system_getsoundinfo)
> 
> “When the banks have been loaded via [Studio::System::loadBankMemory](https://fmod.com/docs/2.02/api/studio-api-system.html#studio_system_loadbankmemory), the mode will be returned as [FMOD\_OPENMEMORY\_POINT](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_openmemory_point). This won’t work with the default [FMOD\_CREATESAMPLE](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_createsample) mode. For memory banks, you should add in the [FMOD\_CREATECOMPRESSEDSAMPLE](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_createcompressedsample) or [FMOD\_CREATESTREAM](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_createstream) flag, or remove [FMOD\_OPENMEMORY\_POINT](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_openmemory_point) and add [FMOD\_OPENMEMORY](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_openmemory) to decompress the sample into a new allocation.”

---

<div class="post-metadata">

**Author:** ![canocoder](https://avatars.discourse-cdn.com/v4/letter/c/f6c823/32.png) [@canocoder](https://qa.fmod.com/u/canocoder)\
**Post date:** [July 28, 2023, 10:00am UTC](https://qa.fmod.com/t/error-with-programmer-sound-and-asset-bundles/20386/7 "2023-07-28T10:00:26Z")

</div>

Perfect, with this works.  
Thank you!
