Hi There!
I had read about Open Level blueprint problems so much time in the past few days, but not a single solution worked for me still. I have a packaged .apk file wich can be installed on my Android mobile but every time I try to open a new level the app crashes. In details:
-I have a project with three maps wich are in the package list
-The project works without any problem when i try it in the editor
-Packaging the project is finished with no errors
-First level called ‘MainMenu’ loads succesfully
-It’s only controlling widgets
-First one is ‘MainMenuWDGT’ wich have a play button and loads the second widget wich is ‘LevelSelectorWDGT’ -Level selector widget has a few buttons, these are the ones wich start the selected level, but first its opening a third widget wich one have the description and title of the level you had selected
-After you tap the ‘Play’ button on the last widget its cast to the game instance and calls ‘OpenNewLevel’ Event -OpenNewLevel Event only has an OpenLevel blueprint and get the map name from an array
-The game instantly crash.
-Before i had try to fix it after 2-3 times of launching the level opened but only for one time, after ‘mission fail’ restart its not.
-Since that its not working at all
I had try to fix it by: -Make an event for open level in GameInstance (Since i had read somewhere that OpenLevel from widget may cause crash) -Reduced texture sizes and simplified materials to save RAM -Moved every map in the same directory (read somewhere)
The problem is really irritating, since it makes no sense to continue developing in this engine without knowing that the project will ever launch.
Few lines from my logs:
-MyProject (log file from the mobile) [2020.09.24-05.05.34:392][ 0]LogAndroid: Display: Low Power Mode Changed: 0 [2020.09.24-05.05.35:174][ 17]LogAndroid: Mobile HDR: no [2020.09.24-05.05.35:174][ 17]LogAndroidWindowUtils: Setting Width=1480 and Height=720 (requested scale = 1.000000) [2020.09.24-05.05.37:595][ 63]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden [2020.09.24-05.05.37:595][ 63]LogUMG: Display: Widget Class LevelSelectHUD_C - Loaded Fast Template. [2020.09.24-05.05.37:603][ 63]LogSlate: Took 0.000616 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/EngineFonts/Faces/RobotoBold.ufont’ (160K) [2020.09.24-05.05.38:047][ 72]LogUMG: Display: Widget Class LevelSelectorTile_C - Loaded Fast Template. [2020.09.24-05.05.38:704][ 88]LogUMG: Display: Widget Class LevelDescriptionWDGT_C - Loaded Fast Template. [2020.09.24-05.05.39:357][102]LogNet: Browse: /Game/ThirdPersonBP/Maps/Map_1/Map_1V [2020.09.24-05.05.39:357][102]LogLoad: LoadMap: /Game/ThirdPersonBP/Maps/Map_1/Map_1V [2020.09.24-05.05.39:358][102]LogWorld: BeginTearingDown for /Game/ThirdPersonBP/Maps/MainMenu/MainMenu [2020.09.24-05.05.39:369][102]LogWorld: UWorld::CleanupWorld for MainMenu, bSessionEnded=true, bCleanupResources=true [2020.09.24-05.05.39:369][102]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated [2020.09.24-05.05.39:405][102]LogAudioMixer: Display: Flush succeeded in the source manager command queue (1). [2020.09.24-05.05.39:405][102]LogAudio: Display: Waited 35.096886 ms for audio thread. [2020.09.24-05.05.39:411][102]LogAudioMixer: Display: Flush succeeded the source manager command queue (2). [2020.09.24-05.05.39:411][102]LogAudio: Display: Waited 40.801308 ms for audio thread. [2020.09.24-05.05.39:470][102]LogAISub: ~UAISubsystem EnvQueryManager (0x8aa46500), frame # 102 [2020.09.24-05.05.39:470][102]LogAISub: ~UAISubsystem AIPerceptionSystem (0x8cf84b00), frame # 102 [2020.09.24-05.05.39:488][102]LogUObjectHash: Compacting FUObjectHashTables data took 3.12ms [2020.09.24-05.05.39:491][102]LogStreaming: Display: Flushing async loaders. [2020.09.24-05.05.40:291][102]LogUObjectBase: Error: Virtual functions table is invalid. [2020.09.24-05.05.40:291][102]LogOutputDevice: Warning:
Script Stack (0 frames):
[2020.09.24-05.05.40:383][102]LogAndroid: Error: === Critical error: === [2020.09.24-05.05.40:383][102]LogAndroid: Error: [2020.09.24-05.05.40:383][102]LogAndroid: Error: Assertion failed: Object->IsValidLowLevelFast() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 3710] [2020.09.24-05.05.40:383][102]LogAndroid: Error: [2020.09.24-05.05.40:383][102]LogAndroid: Error: [Callstack] 0x00000000AEE854DC libUE4.so(0x00000000065B84DC)!FAsyncPackage::Event_StartPostload() [] [2020.09.24-05.05.40:383][102]LogAndroid: Error: [Callstack] 0x00000000AEE86AF4 libUE4.so(0x00000000065B9AF4)!FAsyncLoadingThread::ProcessAsyncLoading(int&, bool, bool, float, FFlushTree*) [] [2020.09.24-05.05.40:383][102]LogAndroid: Error: [Callstack] 0x00000000AEE902A8 libUE4.so(0x00000000065C32A8)!FAsyncLoadingThread::TickAsyncThread(bool, bool, float, bool&, FFlushTree*) [] [2020.09.24-05.05.40:383][102]LogAndroid: Error: [Callstack] 0x00000000AEE8F3FC libUE4.so(0x00000000065C23FC)!FAsyncLoadingThread::TickAsyncLoading(bool, bool, float, FFlushTree*) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000AEE9FCDC libUE4.so(0x00000000065D2CDC)!FAsyncLoadingThread::FlushLoading(int) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000AF1316D0 libUE4.so(0x00000000068646D0)!LoadPackageInternal(UPackage*, char16_t const*, unsigned int, FLinkerLoad*, FArchive*, FUObjectSerializeContext*) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000AF12F4A0 libUE4.so(0x00000000068624A0)!LoadPackage(UPackage*, char16_t const*, unsigned int, FArchive*, FUObjectSerializeContext*) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000B2A7DA64 libUE4.so(0x000000000A1B0A64)!UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000B2A79D58 libUE4.so(0x000000000A1ACD58)!UEngine::Browse(FWorldContext&, FURL, FString&) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000B2A7BB98 libUE4.so(0x000000000A1AEB98)!UEngine::TickWorldTravel(FWorldContext&, float) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000B200A4A0 libUE4.so(0x000000000973D4A0)!UGameEngine::Tick(float, bool) [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000ADAA9F6C libUE4.so(0x00000000051DCF6C)!FEngineLoop::Tick() [] [2020.09.24-05.05.40:384][102]LogAndroid: Error: [Callstack] 0x00000000ADAA2068 libUE4.so(0x00000000051D5068)!AndroidMain(android_app*) [] [2020.09.24-05.05.40:385][102]LogAndroid: Error: [Callstack] 0x00000000ADAB17CC libUE4.so(0x00000000051E47CC)!android_main() [] [2020.09.24-05.05.40:385][102]LogAndroid: Error: [Callstack] 0x00000000ADAE08D8 libUE4.so(0x00000000052138D8) [] [2020.09.24-05.05.40:385][102]LogAndroid: Error: [Callstack] 0x00000000E7E87148 libc.so(0x00000000000A8148) [] [2020.09.24-05.05.40:385][102]LogAndroid: Error: [Callstack] 0x00000000E7E40468 libc.so(0x0000000000061468) [] [2020.09.24-05.05.40:385][102]LogAndroid: Error: [2020.09.24-05.05.40:385][102]LogAndroid: Error: [2020.09.24-05.05.40:385][102]LogAndroid: Error: [2020.09.24-05.05.40:385][102]LogAndroid: Error:
Android Monitor USB Debugging: 9-24 06:04:54.211: D/UE4(7310): [2020.09.24-04.04.54:211][111]LogAndroid: Mobile HDR: no 09-24 06:04:54.211: D/UE4(7310): [2020.09.24-04.04.54:211][111]LogAndroidWindowUtils: Setting Width=1480 and Height=720 (requested scale = 1.000000) 09-24 06:04:54.487: D/UE4(7310): [GameActivity] Used memory: 67309 09-24 06:04:59.735: D/UE4(7310): [2020.09.24-04.04.59:735][217]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden 09-24 06:04:59.736: D/UE4(7310): [2020.09.24-04.04.59:736][217]LogUMG: Display: Widget Class LevelSelectHUD_C - Loaded Fast Template. 09-24 06:04:59.744: D/UE4(7310): [2020.09.24-04.04.59:744][217]LogSlate: Took 0.000703 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/EngineFonts/Faces/RobotoBold.ufont’ (160K) 09-24 06:05:00.192: D/UE4(7310): [2020.09.24-04.05.00:192][226]LogUMG: Display: Widget Class LevelSelectorTile_C - Loaded Fast Template. 09-24 06:05:02.558: D/UE4(7310): [2020.09.24-04.05.02:558][284]LogUMG: Display: Widget Class LevelDescriptionWDGT_C - Loaded Fast Template. 09-24 06:05:04.530: D/UE4(7310): [GameActivity] Used memory: 67309 09-24 06:05:07.119: D/UE4(7310): [2020.09.24-04.05.07:119][378]LogNet: Browse: /Game/ThirdPersonBP/Maps/Map_1/Map_1V 09-24 06:05:07.119: D/UE4(7310): [2020.09.24-04.05.07:119][378]LogLoad: LoadMap: /Game/ThirdPersonBP/Maps/Map_1/Map_1V 09-24 06:05:07.119: D/UE4(7310): [2020.09.24-04.05.07:119][378]LogWorld: BeginTearingDown for /Game/ThirdPersonBP/Maps/MainMenu/MainMenu 09-24 06:05:07.131: D/UE4(7310): XYXYXY XYXYXY Clearnupworld 0x8d6b5fd0 → 0x0 09-24 06:05:07.131: D/UE4(7310): [2020.09.24-04.05.07:131][378]LogWorld: UWorld::CleanupWorld for MainMenu, bSessionEnded=true, bCleanupResources=true 09-24 06:05:07.131: D/UE4(7310): [2020.09.24-04.05.07:131][378]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated 09-24 06:05:07.133: D/UE4(7310): [2020.09.24-04.05.07:133][378]LogAudioMixer: Display: Flush succeeded in the source manager command queue (1). 09-24 06:05:07.158: D/UE4(7310): [2020.09.24-04.05.07:157][378]LogAudioMixer: Display: Flush succeeded the source manager command queue (2). 09-24 06:05:07.245: D/UE4(7310): [2020.09.24-04.05.07:244][378]LogAISub: ~UAISubsystem EnvQueryManager (0x905bd880), frame # 378 09-24 06:05:07.245: D/UE4(7310): [2020.09.24-04.05.07:245][378]LogAISub: ~UAISubsystem AIPerceptionSystem (0x8cda1c00), frame # 378 09-24 06:05:07.253: D/UE4(7310): [2020.09.24-04.05.07:253][378]LogUObjectHash: Compacting FUObjectHashTables data took 2.52ms 09-24 06:05:07.257: D/UE4(7310): [2020.09.24-04.05.07:257][378]LogStreaming: Display: Flushing async loaders. 09-24 06:05:08.130: D/UE4(7310): [2020.09.24-04.05.08:130][378]LogUObjectBase: Error: Virtual functions table is invalid. 09-24 06:05:08.131: D/UE4(7310): [2020.09.24-04.05.08:131][378]LogOutputDevice: Warning: 09-24 06:05:08.131: D/UE4(7310): Script Stack (0 frames): 09-24 06:05:08.222: D/UE4(7310): Assertion failed: Object->IsValidLowLevelFast() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 3710] 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:222][378]Assertion failed: Object->IsValidLowLevelFast() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 3710] 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: === Critical error: === 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: Assertion failed: Object->IsValidLowLevelFast() [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 3710] 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: [Callstack] 0x00000000AEF874DC libUE4.so(0x00000000065B84DC)!FAsyncPackage::Event_StartPostload() [] 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: [Callstack] 0x00000000AEF88AF4 libUE4.so(0x00000000065B9AF4)!FAsyncLoadingThread::ProcessAsyncLoading(int&, bool, bool, float, FFlushTree*) [] 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: [Callstack] 0x00000000AEF922A8 libUE4.so(0x00000000065C32A8)!FAsyncLoadingThread::TickAsyncThread(bool, bool, float, bool&, FFlushTree*) [] 09-24 06:05:08.223: D/UE4(7310): [2020.09.24-04.05.08:223][378]LogAndroid: Error: [Callstack] 0x00000000AEF913FC libUE4.so(0x00000000065C23FC)!FAsyncLoadingThread::TickAsyncLoading(bool, bool, float, FFlushTree*) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000AEFA1CDC libUE4.so(0x00000000065D2CDC)!FAsyncLoadingThread::FlushLoading(int) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000AF2336D0 libUE4.so(0x00000000068646D0)!LoadPackageInternal(UPackage*, char16_t const*, unsigned int, FLinkerLoad*, FArchive*, FUObjectSerializeContext*) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000AF2314A0 libUE4.so(0x00000000068624A0)!LoadPackage(UPackage*, char16_t const*, unsigned int, FArchive*, FUObjectSerializeContext*) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000B2B7FA64 libUE4.so(0x000000000A1B0A64)!UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000B2B7BD58 libUE4.so(0x000000000A1ACD58)!UEngine::Browse(FWorldContext&, FURL, FString&) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000B2B7DB98 libUE4.so(0x000000000A1AEB98)!UEngine::TickWorldTravel(FWorldContext&, float) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000B210C4A0 libUE4.so(0x000000000973D4A0)!UGameEngine::Tick(float, bool) [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000ADBABF6C libUE4.so(0x00000000051DCF6C)!FEngineLoop::Tick() [] 09-24 06:05:08.224: D/UE4(7310): [2020.09.24-04.05.08:224][378]LogAndroid: Error: [Callstack] 0x00000000ADBA4068 libUE4.so(0x00000000051D5068)!AndroidMain(android_app*) [] 09-24 06:05:08.225: D/UE4(7310): [2020.09.24-04.05.08:225][378]LogAndroid: Error: [Callstack] 0x00000000ADBB37CC libUE4.so(0x00000000051E47CC)!android_main() [] 09-24 06:05:08.225: D/UE4(7310): [2020.09.24-04.05.08:225][378]LogAndroid: Error: [Callstack] 0x00000000ADBE28D8 libUE4.so(0x00000000052138D8) [] 09-24 06:05:08.225: D/UE4(7310): [2020.09.24-04.05.08:225][378]LogAndroid: Error: [Callstack] 0x00000000E7E87148 libc.so(0x00000000000A8148) [] 09-24 06:05:08.225: D/UE4(7310): [2020.09.24-04.05.08:225][378]LogAndroid: Error: [Callstack] 0x00000000E7E40468 libc.so(0x0000000000061468) [] 09-24 06:05:08.225: D/UE4(7310): [2020.09.24-04.05.08:225][378]LogAndroid: Error: 09-24 06:05:08.225: D/UE4(7310): [2020.09.24-04.05.08:225][378]LogAndroid: Error: 09-24 06:05:08.231: D/UE4(7310): [2020.09.24-04.05.08:231][378]LogAndroid: FAndroidMisc::RequestExit(1)
Thanks for the answer!