- Edited
UE4.26 Runtime Crash in Android mobile
I use the latest spine plugin in my project, and i can't beleive it will be crashed in mobile package! :scared:
it's seems that the crash timing is when the widget start to load and some data is missing.
My game engine is Unreal 4.26.
Here is the logcat in android device.
I really really really really really need help!!
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #00 pc 0000000007f90d58 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (spine::HashMap<spine::AnimationStateData::AnimationPair, float>::find(spine::AnimationStateData::AnimationPair const&)+28) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #01 pc 0000000007f495cc /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (spine::AnimationStateData::setMix(spine::Animation*, spine::Animation*, float)+84) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #02 pc 0000000007f36eb8 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (USpineSkeletonDataAsset::SetMixes(spine::AnimationStateData*)+912) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #03 pc 0000000007f22948 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (USpineSkeletonDataAsset::GetSkeletonData(spine::Atlas*)+1036) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #04 pc 0000000007f3c88c /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (USpineWidget::CheckState()+100) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #05 pc 0000000007f3b4dc /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (USpineWidget::SynchronizeProperties()+60) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #06 pc 000000000b88051c /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UWidget::TakeWidget_Private(TFunctionRef<TSharedPtr<SObjectWidget, (ESPMode)1> (UUserWidget*, TSharedRef<SWidget, (ESPMode)1>)>)+1340) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #07 pc 000000000b8350d4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UCanvasPanelSlot::BuildSlot(TSharedRef<SConstraintCanvas, (ESPMode)1>)+264) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #08 pc 000000000b8356e4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UCanvasPanel::RebuildWidget()+720) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #09 pc 000000000b880090 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UWidget::TakeWidget_Private(TFunctionRef<TSharedPtr<SObjectWidget, (ESPMode)1> (UUserWidget*, TSharedRef<SWidget, (ESPMode)1>)>)+176) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #10 pc 000000000b8350d4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UCanvasPanelSlot::BuildSlot(TSharedRef<SConstraintCanvas, (ESPMode)1>)+264) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #11 pc 000000000b8356e4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UCanvasPanel::RebuildWidget()+720) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #12 pc 000000000b880090 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UWidget::TakeWidget_Private(TFunctionRef<TSharedPtr<SObjectWidget, (ESPMode)1> (UUserWidget*, TSharedRef<SWidget, (ESPMode)1>)>)+176) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #13 pc 000000000b8a65d8 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UUserWidget::RebuildWidget()+292) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #14 pc 000000000b880090 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UWidget::TakeWidget_Private(TFunctionRef<TSharedPtr<SObjectWidget, (ESPMode)1> (UUserWidget*, TSharedRef<SWidget, (ESPMode)1>)>)+176) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #15 pc 000000000b8350d4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UCanvasPanelSlot::BuildSlot(TSharedRef<SConstraintCanvas, (ESPMode)1>)+264) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #16 pc 000000000b8356e4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UCanvasPanel::RebuildWidget()+720) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #17 pc 000000000b880090 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UWidget::TakeWidget_Private(TFunctionRef<TSharedPtr<SObjectWidget, (ESPMode)1> (UUserWidget*, TSharedRef<SWidget, (ESPMode)1>)>)+176) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #18 pc 000000000b8a65d8 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UUserWidget::RebuildWidget()+292) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #19 pc 000000000b880090 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UWidget::TakeWidget_Private(TFunctionRef<TSharedPtr<SObjectWidget, (ESPMode)1> (UUserWidget*, TSharedRef<SWidget, (ESPMode)1>)>)+176) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #20 pc 000000000b8a7eb0 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UUserWidget::AddToScreen(ULocalPlayer*, int)+2604) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #21 pc 000000000b9731ec /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UUserWidget::execAddToViewport(UObject*, FFrame&, void*)+124) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #22 pc 00000000092afe38 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UFunction::Invoke(UObject*, FFrame&, void*)+124) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #23 pc 00000000094896b4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UObject::ProcessEvent(UFunction*, void*)+3900) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #24 pc 0000000007df2744 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (FFunctionDesc::CallUE(lua_State*, int, void*)+680) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #25 pc 0000000007df2298 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (Class_CallUFunction(lua_State*)+136) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #26 pc 000000000da17798 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #27 pc 000000000da3a61c /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #28 pc 000000000da179b0 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #29 pc 000000000da169d4 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #30 pc 000000000da18104 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #31 pc 000000000da089e8 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (lua_pcallk+256) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #32 pc 0000000008a26598 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (FLuaUtils::CallLuaOverride(UFunction*, void*, int, int)+1732) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.152 24370-24370/? A/DEBUG: #33 pc 0000000007b3b368 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (void TScriptDelegate<FWeakObjectPtr>::ProcessDelegate<UObject>(void*) const+136) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #34 pc 0000000008a21e14 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UGameAssetMgr::OnOneSoftPathAssetLoaded(FName)+980) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #35 pc 0000000008a7f5d8 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (TBaseUObjectMethodDelegateInstance<false, UGameAssetMgr, void (), FDefaultDelegateUserPolicy, FName>::ExecuteIfSafe() const+52) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #36 pc 000000000cc42a68 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (FStreamableDelegateDelayHelper::Tick(float)+552) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #37 pc 000000000ccccef0 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (FTickableGameObject::TickObjects(UWorld*, int, bool, float)+2512) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #38 pc 000000000c350650 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (UGameEngine::Tick(float, bool)+9168) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #39 pc 0000000007af2048 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (FEngineLoop::Tick()+34556) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #40 pc 0000000007ae8118 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (AndroidMain(android_app*)+4192) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #41 pc 0000000007af8c9c /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (android_main+160) (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #42 pc 0000000007b25744 /data/app/~~wCvI8k5lHjmR_nVXHmhv9Q==/MyProject==/lib/arm64/libUE4.so (BuildId: 6e04cbc103d5837f143e6475077ad16ece8332a2)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #43 pc 00000000000eb868 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: a790cdbd8e44ea8a90802da343cb82ce)
2022-07-14 14:29:03.153 24370-24370/? A/DEBUG: #44 pc 000000000008ba88 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: a790cdbd8e44ea8a90802da343cb82ce)
Spine character version is 4.0.17. Just now i used SpineViewer APP in my mobile, and this app crash too and hint error message
com.badlogic.gdx.utils.SerializationException:Error reading animation: move
is my spine animation data has some wrong? how can i fix this problem? :think:
By the way, plugin version is 4.0. According to github, it's will be ok. but... you know.....
Please post your exported asset files here or via email to contact@esotericsoftware.com.
Mario wrotePlease post your exported asset files here or via email to contact@esotericsoftware.com.
I just sent email
Thanks, I'll try to get to this this week and will reply here.
I've tried to reproduce your issue, but can not. The exported files load fine in spine-ue4, spine-cpp, spine-sfml, and spine-libgdx. Are you sure you are using the correct version of spine-ue4 and spine-cpp? Please make sure you are using spine-ue4 and spine-cpp from this branch:
https://github.com/EsotericSoftware/spine-runtimes/tree/4.0
Remember you have to copy spine-cpp to the spine-ue4 plugin as described here:
spine-ue4 Runtime Documentation
Mario wroteI've tried to reproduce your issue, but can not. The exported files load fine in spine-ue4, spine-cpp, spine-sfml, and spine-libgdx. Are you sure you are using the correct version of spine-ue4 and spine-cpp? Please make sure you are using spine-ue4 and spine-cpp from this branch:
https://github.com/EsotericSoftware/spine-runtimes/tree/4.0Remember you have to copy spine-cpp to the spine-ue4 plugin as described here:
spine-ue4 Runtime Documentation
oh..I'm sure, I download only 4.0 plugin from github. If the plugin and runtime version is different, the json files can't be load, I can run perfectly in PC too. But are you try to packaged play in anroid device? I guess something happend when package...maybe :think:
I did, and that too works as intended. My guess is that your Android build has an issue. It's hard for me to say what that issue is. Possibly some cached object files from previous compiles of an older version.
Mario wroteI did, and that too works as intended. My guess is that your Android build has an issue. It's hard for me to say what that issue is. Possibly some cached object files from previous compiles of an older version.
Well, get it. Last week, I updated my plugin and spine date to 4.1, and it's run perfecte.
I just want to know why 4.0 version can't be work perfectly. But it's unimportant. I will try 4.0 plugin next time , accurately maybe i did wrong with some step.
Thx for your work!!