# Fmod audio still playing after exit play-mode in Unity Editor

**URL:** https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467
**Category:** Unity
**Created:** [September 26, 2017, 11:52am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467 "2017-09-26T11:52:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![shuohigh](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@shuohigh](https://qa.fmod.com/u/shuohigh)
#### Post date: [September 26, 2017, 11:52am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/1 "2017-09-26T11:52:41Z")

</div>

Hi,

I am currently using Unity 2017.1.1f1 and FMOD 1.10.00 under Windows 10. I have a script that will start an FMOD audio instance at Start(), using the timeline callback example code and also have the stop and release code in OnDestroy(). I notice sometimes after I quit play mode in Unity Editor, FMOD audio instance will not stop playing.

Any suggestion what should I look into?

Here are what is in the FMOD log when this issue happen :

[https://drive.google.com/open?id=0B0RKyy22nEsLaGxjcEhvYmlfU3M](https://drive.google.com/open?id=0B0RKyy22nEsLaGxjcEhvYmlfU3M)

---

<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: [September 27, 2017, 5:07am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/2 "2017-09-27T05:07:44Z")

</div>

> [@](#):
>
> Hi,
> 
> I am currently using Unity 2017.1.1f1 and FMOD 1.10.00 under Windows 10. I have a script that will start an FMOD audio instance at Start(), using the timeline callback example code and also have the stop and release code in OnDestroy(). I notice sometimes after I quit play mode in Unity Editor, FMOD audio instance will not stop playing.
> 
> Any suggestion what should I look into?
> 
> Here are what is in the FMOD log when this issue happen :
> 
> [https://drive.google.com/open?id=0B0RKyy22nEsLaGxjcEhvYmlfU3M](https://drive.google.com/open?id=0B0RKyy22nEsLaGxjcEhvYmlfU3M)

Are you getting any errors or warnings in Unity?

---

<div class="post-metadata">

### Author: ![shuohigh](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@shuohigh](https://qa.fmod.com/u/shuohigh)
#### Post date: [September 27, 2017, 5:12am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/3 "2017-09-27T05:12:02Z")

</div>

Nothing related to FMOD in Unity console, should I check FMOD log for this?

---

<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: [September 27, 2017, 5:26am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/4 "2017-09-27T05:26:34Z")

</div>

It might be worth checking. Otherwise if you have a small project that reproduces the issue you would be able to share with us, we can take a look.

---

<div class="post-metadata">

### Author: ![shuohigh](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@shuohigh](https://qa.fmod.com/u/shuohigh)
#### Post date: [September 27, 2017, 5:38am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/5 "2017-09-27T05:38:22Z")

</div>

Updated a picture showing what is in FMOD’s log viewer (could not copy form there, this is the best I could do). Will try to reproduce this in an empty project.

---

<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: [September 27, 2017, 10:33pm UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/6 "2017-09-27T22:33:10Z")

</div>

Thanks, unfortunately the file is behind a secure login.

---

<div class="post-metadata">

### Author: ![shuohigh](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@shuohigh](https://qa.fmod.com/u/shuohigh)
#### Post date: [October 10, 2017, 9:54am UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/7 "2017-10-10T09:54:56Z")

</div>

Sorry about that, looks like my email marking reply notification email as harassment. And I just updated the image link. Might if you can take a look and tell me is there anything I should be looking into?

---

<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: [October 10, 2017, 11:03pm UTC](https://qa.fmod.com/t/fmod-audio-still-playing-after-exit-play-mode-in-unity-editor/13467/8 "2017-10-10T23:03:12Z")

</div>

I can’t see anything that stands out. Are you able to reliably reproduce the issue?  
Is there any other information you can provide that may help me recreate it here?
