[UE4.26,Integration 2.00.15]
upgrade to UE4.26 and integration 2.00.15,it will run well on editor,but crash on packaged game to run on android devices.
it seems that “FAssetRegistryModule::AssetCreate(NewAsset) ” in line 157 on function “FFMODAssetTable::Refresh()” will cause a assertion “Updating the AssetRegistry is only available in editor” when running on non editor.
here is the crash info:
2021-01-12 16:55:11.312 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:312][ 0]LogFMOD: FFMODStudioModule startup
2021-01-12 16:55:11.312 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:312][ 0]LogFMOD: Lib path = '../../../X9/Plugins/FMODStudio/Binaries'
2021-01-12 16:55:11.527 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:527][ 0]LogFMOD: Loading strings bank: ../../../X9/Content/FMOD/Mobile/Master_Bank.strings.bank
2021-01-12 16:55:11.536 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:536][ 0]LogFMOD: Constructing asset: /Game/FMOD/Events/Vo/A/A42_3_Duojiugong
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: Assertion failed: false [File:D:/CustomEngine/customengine/Engine/Source/Runtime/AssetRegistry/Private/AssetRegistry.cpp] [Line: 1589]
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: Updating the AssetRegistry is only available in editor
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:576][ 0]Assertion failed: false [File:D:/CustomEngine/customengine/Engine/Source/Runtime/AssetRegistry/Private/AssetRegistry.cpp] [Line: 1589]
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: Updating the AssetRegistry is only available in editor
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:576][ 0]LogAndroid: Error: === Critical error: ===
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:576][ 0]LogAndroid: Error:
2021-01-12 16:55:11.576 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:576][ 0]LogAndroid: Error: Assertion failed: false [File:D:/CustomEngine/customengine/Engine/Source/Runtime/AssetRegistry/Private/AssetRegistry.cpp] [Line: 1589]
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: Updating the AssetRegistry is only available in editor
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B4EA9154 libUE4.so(0x000000000804C154)!UAssetRegistryImpl::AssetCreated(UObject*) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2CA41C4 libUE4.so(0x0000000005E471C4)!FFMODAssetTable::CreateAsset(FFMODAssetTable::AssetCreateInfo const&) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2CA1D34 libUE4.so(0x0000000005E44D34)!FFMODAssetTable::Refresh() []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2CBD264 libUE4.so(0x0000000005E60264)!FFMODStudioModule::StartupModule() []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B40D0D98 libUE4.so(0x0000000007273D98)!FModuleManager::LoadModuleWithFailureReason(FName, EModuleLoadResult&) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B436C46C libUE4.so(0x000000000750F46C)!FModuleDescriptor::LoadModulesForPhase(ELoadingPhase::Type, TArray<FModuleDescriptor, TSizedDefaultAllocator<32> > const&, TMap<FName, EModuleLoadResult, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<FName, EModuleLoadResult, false> >&) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B43813B0 libUE4.so(0x00000000075243B0)!FPluginManager::TryLoadModulesForPlugin(FPlugin const&, ELoadingPhase::Type) const []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B4383E3C libUE4.so(0x0000000007526E3C)!FPluginManager::LoadModulesForEnabledPlugins(ELoadingPhase::Type) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2A4C208 libUE4.so(0x0000000005BEF208)!FEngineLoop::PreInitPostStartupScreen(char16_t const*) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2A28FF8 libUE4.so(0x0000000005BCBFF8)!FEngineLoop::PreInit(int, char16_t**, char16_t const*) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2A28900 libUE4.so(0x0000000005BCB900)!AndroidMain(android_app*) []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2A3E620 libUE4.so(0x0000000005BE1620)!android_main() []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000B2A71C30 libUE4.so(0x0000000005C14C30)![Unknown]() []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000ED0231B8 libc.so(0x000000000009C1B8)![Unknown]() []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error: [Callstack] 0x00000000ECFDC658 libc.so(0x0000000000055658)![Unknown]() []
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error:
2021-01-12 16:55:11.577 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:577][ 0]LogAndroid: Error:
2021-01-12 16:55:11.582 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:582][ 0]LogUnLua: Error: Lua state is not created!!!
2021-01-12 16:55:11.593 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:592][ 0]LogExit: Executing StaticShutdownAfterError
2021-01-12 16:55:11.593 31568-31657/com.YourCompany.X9_trunk D/UE4: [2021.01.12-16.55.11:593][ 0]LogAndroid: FAndroidMisc::RequestExit(1)