Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes

Trying to upgrade an Unreal 4.26.2 project to UE 4.27.2 and Wwise loading of the InitBank throws the following assert and callstack. Tried rebuilding all data, recompiling from scratch etc but to no avail.

Anyone have any ideas? Looks like there was a question about this already but on clicking on the suggested link the page isn't found

Assertion failed: AsyncLoadingThread.RecursionNotAllowed.Increment() == 1 [File:D:/p4/ue/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 3992]


KERNELBASE.dll!UnknownFunction []

<game_name>.exe!ReportAssert() []

<game_name>.exe!FWindowsErrorOutputDevice::Serialize() []

<game_name>.exe!FOutputDevice::LogfImpl() []

<game_name>.exe!FDebug::AssertFailed() []

<game_name>.exe!FDebug::CheckVerifyFailedImpl() []

<game_name>.exe!FAsyncLoadingThread::ProcessAsyncLoading() []

<game_name>.exe!FAsyncLoadingThread::TickAsyncThread() []

<game_name>.exe!FAsyncLoadingThread::TickAsyncLoading() []

<game_name>.exe!FAsyncLoadingThread::FlushLoading() []

<game_name>.exe!FlushAsyncLoading() []

<game_name>.exe!LoadPackageInternal() []

<game_name>.exe!LoadPackage() []

<game_name>.exe!ResolveName() []

<game_name>.exe!StaticLoadObjectInternal() []

<game_name>.exe!StaticLoadObject() []

<game_name>.exe!FAssetData::GetAsset() [D:\UE-4.27.1\Engine\Windows\Engine\Source\Runtime\CoreUObject\Public\AssetRegistry\AssetData.h:290]

<game_name>.exe!AkEventBasedIntegrationBehavior::AkAudioDevice_LoadInitBank() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\IntegrationBehavior\AkEventBasedIntegrationBehavior.cpp:116]

<game_name>.exe!AkEventBasedIntegrationBehavior::AkAudioDevice_LoadInitialData() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\IntegrationBehavior\AkEventBasedIntegrationBehavior.cpp:223]

<game_name>.exe!FAkAudioDevice::EnsureInitialized() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\AkAudioDevice.cpp:3830]

<game_name>.exe!FAkAudioDevice::Init() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\AkAudioDevice.cpp:307]

<game_name>.exe!FAkAudioModule::StartupModule() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\AkAudioModule.cpp:57]

<game_name>.exe!FModuleManager::LoadModuleWithFailureReason() []

<game_name>.exe!FModuleManager::LoadModule() []

<game_name>.exe!FAkAudioDevice::Get() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\AkAudioDevice.cpp:3128]

<game_name>.exe!UAkGroupValue::Serialize() [D:\p4\<game_name>_2\<game_name>Real\Plugins\Wwise\Source\AkAudio\Private\AkGroupValue.cpp:37]

<game_name>.exe!FAsyncPackage::EventDrivenSerializeExport() []

<game_name>.exe!FAsyncPackage::ProcessImportsAndExports_Event() []

<game_name>.exe!<lambda_0d6f4d9da49bd67ec44790efdc283e0d>::operator()() []

<game_name>.exe!FAsyncLoadingThread::ProcessAsyncLoading() []

<game_name>.exe!FAsyncLoadingThread::TickAsyncThread() []

<game_name>.exe!FAsyncLoadingThread::TickAsyncLoading() []

<game_name>.exe!FAsyncLoadingThread::FlushLoading() []

<game_name>.exe!FlushAsyncLoading() []

<game_name>.exe!LoadPackageInternal() []

<game_name>.exe!LoadPackage() []

<game_name>.exe!ResolveName() []

<game_name>.exe!StaticLoadObjectInternal() []

<game_name>.exe!StaticLoadObject() []

<game_name>.exe!StaticLoadClass() []

<game_name>.exe!ConstructorHelpersInternal::FindOrLoadClass() []

<game_name>.exe!A<game_name>GameMode::A<game_name>GameMode() [D:\p4\<game_name>_2\<game_name>Real\Source\<game_name>\Private\Core\GameModes\<game_name>GameMode.cpp:20]

<game_name>.exe!UClass::CreateDefaultObject() []

<game_name>.exe!UClass::CreateDefaultObject() []

<game_name>.exe!UClass::CreateDefaultObject() []

<game_name>.exe!UObjectInitialized() []

<game_name>.exe!ProcessNewlyLoadedUObjects() []

<game_name>.exe!FEngineLoop::PreInitPostStartupScreen() []

<game_name>.exe!GuardedMain() []

<game_name>.exe!GuardedMainWrapper() []

<game_name>.exe!LaunchWindowsStartup() []

<game_name>.exe!WinMain() []

<game_name>.exe!__scrt_common_main_seh() [d:\a01\_work\6\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]

KERNEL32.DLL!UnknownFunction []

ntdll.dll!UnknownFunction
in General Discussion by Kieran N. (150 points)
I suggest you report this bug using the Bug Reporter (https://www.audiokinetic.com/library/edge/?source=InstallGuide&id=reporting_bugs), or if this is blocking you fill a Support Ticket (https://www.audiokinetic.com/customers/tickets/).
I too have ran into this since updating. Still happening in 2021.1.7.

Edit:
Apparently I had a race condition causing it. I had a hard coded file path which was not getting loaded in time. Removed it to be a blueprint variable fixed the problem.

1 Answer

0 votes
This issue still happens in 4.27.2 and UE Wwise integration 2021.1.8.
by Erik P. (340 points)
...