UE4 Crashes due to FMODAmbient hot reload

Hello guys, recently I encountered a really weird problem that I dont know how to fix it :frowning:
I’m using UE 4.17.2 and the latest FMOD Integration for it. Everything works fine, event is played, I have packaged the games a couple of times and no problems found. But then just lately, I usually get engine crashes after compiling the game codes for a couple of times. After the crash, restarting the engine and this is the error :
Assertion failed: GIsHotReload [File:D:\Build++UE4+Release-4.17+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectBase.cpp] [Line: 608] Trying to recreate class ‘AFMODAmbientSound’ outside of hot reload!

UE4Editor_CoreUObject!UObject::ConditionalBeginDestroy() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:878]
UE4Editor_CoreUObject!StaticExit() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\coreuobject\private\uobject\obj.cpp:4194]
UE4Editor_CoreUObject!TBaseStaticDelegateInstance<void __cdecl(void)>::ExecuteIfSafe() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:1027]
UE4Editor!TBaseMulticastDelegate::Broadcast() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\core\public\delegates\delegatesignatureimpl.inl:937]
UE4Editor!FEngineLoop::AppPreExit() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3858]
UE4Editor!FEngineLoop::Exit() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launchengineloop.cpp:2808]
UE4Editor!GuardedMain() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\launch.cpp:177]
UE4Editor!GuardedMainWrapper() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build++ue4+release-4.17+compile\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:253]
Before this message pops up, it said that my game module cannot be loaded. This error is fixed by recompiling the game code. Also I dont use any FMODAmbientSound in the game. Please help me :frowning: I’m really desperate right now. Thank you guys

I’m not sure what would cause this to happen, but it sounds like the crash left the game in a bad state.

Do you know the cause of the crash?
Did the crash logs mention anything about FMOD?

This page can tell you where to find them:

Yes it did. It said AFMODAmbientSound cannot be created outside hot reload even though I dont even use fmodambiensound

Are you able to send us the crash log?
You can email it if you would like: support@fmod.com

I just uploaded to 4.19.2 and this problem seems to be gone. I believe this issue belongs to the engine hot reload itself rather than fmod. But I still sometimes receive the error that the UE4Editor-FMODStudio.dll hasnt been built and I need to rebuild it in order to open the engine

This usually occurs when the plugin source code is modified, because the UE4-FMOD libs are now out of date.
Are you using source control at all?

This is happening to me in UE 4.26 with FMod 2.01.09 and I am using GIt for my project

Are you able to share your output log file at all?