# FADPCM format causes crashes (1.06.04)

**URL:** <https://qa.fmod.com/t/fadpcm-format-causes-crashes-1-06-04/11962>\
**Category:** Unity\
**Created:** [June 22, 2015, 12:53pm UTC](https://qa.fmod.com/t/fadpcm-format-causes-crashes-1-06-04/11962 "2015-06-22T12:53:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)\
**Post date:** [June 22, 2015, 12:53pm UTC](https://qa.fmod.com/t/fadpcm-format-causes-crashes-1-06-04/11962/1 "2015-06-22T12:53:22Z")

</div>

I have random crashes on device (iPhone 6, iOS 8.2) with latest Unity 4 (4.6.6f2) with FMOD unity integration 1.06.04 when using FADPCM format. See image attached.

The problem is caused by simple Streaming sound (music) playing in the background. It plays fine for a while but random crash can occur at any time even when I don’t call any FMOD function from unity.

This does not happen when using PCM format.

**UPDATE: Testing with device, this crash is only caused by events with STREAM flag set in FMOD studio and using FADPCM.**

Image of xcode debug:  
[![](https://dl.dropboxusercontent.com/s/bfh4it80y6hyaig/fmod_bug.png?dl=0) ](https://dl.dropboxusercontent.com/s/bfh4it80y6hyaig/fmod_bug.png?dl=0)

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [June 29, 2015, 12:30am UTC](https://qa.fmod.com/t/fadpcm-format-causes-crashes-1-06-04/11962/2 "2015-06-29T00:30:10Z")

</div>

> [@](#):
>
> I have random crashes on device (iPhone 6, iOS 8.2) with latest Unity 4 (4.6.6f2) with FMOD unity integration 1.06.04 when using FADPCM format. See image attached.
> 
> The problem is caused by simple Streaming sound (music) playing in the background. It plays fine for a while but random crash can occur at any time even when I don’t call any FMOD function from unity.
> 
> This does not happen when using PCM format.
> 
> **UPDATE: Testing with device, this crash is only caused by events with STREAM flag set in FMOD studio and using FADPCM.**
> 
> Image of xcode debug:  
> [Dropbox - fmod\_bug.png - Simplify your life](https://www.dropbox.com/s/bfh4it80y6hyaig/fmod_bug.png?dl=0)

Could you provide a simple example that reproduces this crash to [support@fmod.org](mailto:support@fmod.org)?

---

<div class="post-metadata">

**Author:** ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)\
**Post date:** [July 21, 2015, 5:55am UTC](https://qa.fmod.com/t/fadpcm-format-causes-crashes-1-06-04/11962/3 "2015-07-21T05:55:28Z")

</div>

This crash has been fixed for our next release (1.06.07).
