# Fmod crashing engine when stopping PIE session

**URL:** https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265
**Category:** Unreal Engine
**Created:** [December 18, 2018, 8:34pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265 "2018-12-18T20:34:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Th120](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@Th120](https://qa.fmod.com/u/Th120)
#### Post date: [December 18, 2018, 8:34pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/1 "2018-12-18T20:34:31Z")

</div>

Happened to me after switching to 4.21.1 using the latest fmod engine plugin.  
I just need to play an event once and the editor crashes when stopping the PIE session  
I did not have this issue on 4.20

```
LoginId:6de1ec9c4525eac1d22c41add2c0adbc
EpicAccountId:a64e1baacce2492fb4c6903b26f3022c

Access violation - code c0000005 (first/second chance not available)

fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
fmodstudioL64
UE4Editor_FMODStudio!FFMODStudioModule::DestroyStudioSystem() [f:\jk\workspace\1.10_ue4.21_win64\integrations\ue4\temp\fmodstudio\hostproject\plugins\fmodstudio\source\fmodstudio\private\fmodstudiomodule.cpp:768]
UE4Editor_FMODStudioEditor!FFMODStudioEditorModule::EndPIE() [f:\jk\workspace\1.10_ue4.21_win64\integrations\ue4\temp\fmodstudio\hostproject\plugins\fmodstudio\source\fmodstudioeditor\private\fmodstudioeditormodule.cpp:890]
UE4Editor_FMODStudioEditor!TBaseRawMethodDelegateInstance<0,FFMODStudioEditorModule,void __cdecl(bool)>::ExecuteIfSafe() [c:\data\ue4\unreal engine\4.21\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:518]
UE4Editor_UnrealEd!TBaseMulticastDelegate<void,bool const >::Broadcast() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:974]
UE4Editor_UnrealEd!UEditorEngine::EndPlayMap() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\playlevel.cpp:269]
UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1992]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build\++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3699]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283]
kernel32
ntdll
```

---

<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: [December 19, 2018, 11:13pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/2 "2018-12-19T23:13:48Z")

</div>

What version of FMOD are you using?

---

<div class="post-metadata">

### Author: ![Th120](https://avatars.discourse-cdn.com/v4/letter/t/958977/32.png) [@Th120](https://qa.fmod.com/u/Th120)
#### Post date: [December 20, 2018, 2:23pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/3 "2018-12-20T14:23:16Z")

</div>

The latest engine plugin (1.10.10).  
Also the events just get played in c++ like we used to do with the UE4 audio engine; we do not store the FFMODEventInstance which gets returned.

---

<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: [December 21, 2018, 1:26am UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/4 "2018-12-21T01:26:49Z")

</div>

I will have to investigate this further, if you are able to send us the full logs that may help.

---

<div class="post-metadata">

### Author: ![audiogalaxy](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@audiogalaxy](https://qa.fmod.com/u/audiogalaxy)
#### Post date: [May 21, 2019, 1:30pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/5 "2019-05-21T13:30:33Z")

</div>

Hi. Our code team is also experiencing the same crash, especially with breakpoints. Has there been any progress in resolving this? We’re also using v1.10.10

---

<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: [May 23, 2019, 12:52am UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/6 "2019-05-23T00:52:08Z")

</div>

It may be fixed in an update (as we are up to 1.10.13 now) although we weren’t able to reproduce the issue and we haven’t received confirmation yet.

Are you able to provide more information on the issue (eg. log files, repro steps, repro project)?

---

<div class="post-metadata">

### Author: ![audiogalaxy](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@audiogalaxy](https://qa.fmod.com/u/audiogalaxy)
#### Post date: [May 28, 2019, 4:49pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/7 "2019-05-28T16:49:56Z")

</div>

Thanks for the reply. I’ll ask our code team to sort out some details.

---

<div class="post-metadata">

### Author: ![Sargonius](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/sargonius/32/941_2.png) [@Sargonius](https://qa.fmod.com/u/Sargonius)
#### Post date: [February 2, 2020, 7:23pm UTC](https://qa.fmod.com/t/fmod-crashing-engine-when-stopping-pie-session/14265/8 "2020-02-02T19:23:24Z")

</div>

In case someone finds this theme too:  
After migrating from 4.22 to 4.24 I’ve started to receive constant FMOD crash after the Play In Editor session.  
What I did:

- Updated the fmod plugin (didn’t help)
- Updated the fmod studio (didn’t help)
- Disabled “Enable Live Update” in the Fmod settings in the UE (fixed the crash).
