# 3D sound stops playing after a few updates

**URL:** https://qa.fmod.com/t/3d-sound-stops-playing-after-a-few-updates/14518
**Category:** FMOD Engine
**Created:** [April 1, 2019, 11:11pm UTC](https://qa.fmod.com/t/3d-sound-stops-playing-after-a-few-updates/14518 "2019-04-01T23:11:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![L4ZZA](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@L4ZZA](https://qa.fmod.com/u/L4ZZA)
#### Post date: [April 1, 2019, 11:11pm UTC](https://qa.fmod.com/t/3d-sound-stops-playing-after-a-few-updates/14518/1 "2019-04-01T23:11:40Z")

</div>

After doing all these steps that to me look correct, the sound playes for like 3 updates and then just stops…  
I debugged it and the channel and the sound seem to be right, fmod system gets updated correctly after I update all the 3d parameters and I also tried to set the 3d mode on the sound instead of the channel and also on both.  
I’m not playing any other sound and even though I’m creating a 2D one.  
Has anyone got any idea? Am I missing something here? (see code extracted from wrapping classes)

- Created fmod system

- Created fmod sound

- Playing the sound, so that I can retrieve the channel

- setting the volume

- setting 3D parameters

- updating them each loop

- updating system.

I noticed that the sound stops as soon as the window pops up, but I believe it’s just a coincidence or bad timing.

---

<div class="post-metadata">

### Author: ![L4ZZA](https://avatars.discourse-cdn.com/v4/letter/l/3e96dc/32.png) [@L4ZZA](https://qa.fmod.com/u/L4ZZA)
#### Post date: [April 1, 2019, 11:17pm UTC](https://qa.fmod.com/t/3d-sound-stops-playing-after-a-few-updates/14518/2 "2019-04-01T23:17:42Z")

</div>

And clearly there’s a bug in the text formatting…

---

<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: [April 5, 2019, 3:46am UTC](https://qa.fmod.com/t/3d-sound-stops-playing-after-a-few-updates/14518/3 "2019-04-05T03:46:54Z")

</div>

All the FMOD functions should return FMOD\_RESULT, checking that those are all fine would be a good place to start.

Do you get any errors or warnings?
