# FMOD Integration (UE 4.26) Causes Project to crash on Editor startup

**URL:** <https://qa.fmod.com/t/fmod-integration-ue-4-26-causes-project-to-crash-on-editor-startup/16991>\
**Category:** Unreal Engine\
**Tags:** ue4, cpp\
**Created:** [April 6, 2021, 10:39am UTC](https://qa.fmod.com/t/fmod-integration-ue-4-26-causes-project-to-crash-on-editor-startup/16991 "2021-04-06T10:39:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tofutimbre](https://avatars.discourse-cdn.com/v4/letter/t/43a26b/32.png) [@tofutimbre](https://qa.fmod.com/u/tofutimbre)\
**Post date:** [April 6, 2021, 10:39am UTC](https://qa.fmod.com/t/fmod-integration-ue-4-26-causes-project-to-crash-on-editor-startup/16991/1 "2021-04-06T10:39:09Z")

</div>

Hi,

We’ve migrated our project to UE4.26 and with it switched to the latest FMOD integration, but unfortunatley we’re getting a crash on start up, caused by FMOD.

Here’s the call stack:

> FWindowsErrorOutputDevice::Serialize(const wchar\_t \*,Type,const FName &) WindowsErrorOutputDevice.cpp:34  
> FOutputDevice::LogfImpl(Type,const wchar\_t \*,…) OutputDevice.cpp:56  
> UPackage::Save(UPackage \*,UObject \*,EObjectFlags,const wchar\_t \*,FOutputDevice \*,FLinkerNull \*,bool,bool,unsigned int,const ITargetPlatform \*,const FDateTime &,bool,FArchiveDiffMap \*,FSavePackageContext \*) SavePackage.cpp:3341  
> UPackage::SavePackage(UPackage \*,UObject \*,EObjectFlags,const wchar\_t \*,FOutputDevice \*,FLinkerNull \*,bool,bool,unsigned int,const ITargetPlatform \*,const FDateTime &,bool) SavePackage.cpp:4818  
> FFMODAssetBuilder::BuildAssetLookup(const FString &,const FString &) FMODAssetBuilder.cpp:287  
> FFMODAssetBuilder::ProcessBanks() FMODAssetBuilder.cpp:43  
> FFMODStudioEditorModule::OnPostEngineInit() FMODStudioEditorModule.cpp:364  
> TBaseRawMethodDelegateInstance\<0,FFMODStudioEditorModule,void **cdecl(void),FDefaultDelegateUserPolicy\>::ExecuteIfSafe() DelegateInstancesImpl.h:467  
> TMulticastDelegate\<void cdecl(void),FDefaultDelegateUserPolicy\>::Broadcast() DelegateSignatureImpl.inl:955  
> FEngineLoop::Init() LaunchEngineLoop.cpp:3956  
> EditorInit(IEngineLoop &) UnrealEdGlobals.cpp:93  
> GuardedMain(const wchar\_t \*) Launch.cpp:148  
> WinMain(HINSTANCE \*,HINSTANCE** \*,char \*,int) LaunchWindows.cpp:257  
> \_\_scrt\_common\_main\_seh() 0x00007ff6d0e2801a  
> BaseThreadInitThunk 0x00007ff88dd47034  
> RtlUserThreadStart 0x00007ff88efc2651

We’re running Windows 10, UE 4.26 with the latest FMOD integration. The integration is in our Engines Plugin folder. We’re using perforce as VC - (I’m mentioning this because I’ve stumbled across some post that mention errors with the new integration caused by FMOD assets being read-only) I’ve tryed checking out all FMOD assets with no succes.

Any help is hugely appreciated.

---

<div class="post-metadata">

**Author:** ![Derek\_Burnheim](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/derek_burnheim/32/261_2.png) [@Derek\_Burnheim](https://qa.fmod.com/u/Derek_Burnheim)\
**Post date:** [April 7, 2021, 12:58am UTC](https://qa.fmod.com/t/fmod-integration-ue-4-26-causes-project-to-crash-on-editor-startup/16991/2 "2021-04-07T00:58:16Z")

</div>

That does look a lot like the other issues we’d seen with source control integration / read-only files causing crashes, but having all of the FMOD assets (i.e. all `.uasset` files under `Content/FMOD`) checked out at startup should prevent the crash.

If you’re comfortable grabbing the latest source from [GitHub](https://github.com/fmod/ue4integration/tree/2.01-UE4.26) then you can already get the fixes for the issues with source control, it would be worth doing to rule that out as the problem.

If you’re not able to use the plugin source from GitHub, or if you do and the crashes persist, could you share the UE4 logs? There might be some clues in there to any other problem.

---

<div class="post-metadata">

**Author:** ![scholzi](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/scholzi/32/2042_2.png) [@scholzi](https://qa.fmod.com/u/scholzi)\
**Post date:** [May 3, 2021, 8:41pm UTC](https://qa.fmod.com/t/fmod-integration-ue-4-26-causes-project-to-crash-on-editor-startup/16991/3 "2021-05-03T20:41:36Z")

</div>

I have tried using the 2.01.09 build and the GitHub build and both cause a crash when building the project.

I can’t upload the log file here.

Any suggestions would be appreciated because UE crashing every time I build is annoying.

---

<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 5, 2021, 1:56am UTC](https://qa.fmod.com/t/fmod-integration-ue-4-26-causes-project-to-crash-on-editor-startup/16991/4 "2021-05-05T01:56:46Z")

</div>

You can upload files to your [FMOD Profile](https://fmod.com/profile#uploads) and we will be able to access them from there.
