Android crash, I need help!

Hello,

I’m using Unity Editor 2022.3.37f1 LTS.

There are crashes reported only through Google Play Console and Firebase Crashlytics.

It seems like the app crashes almost immediately upon launch. I’ve attached a stack trace for reference.

Has anyone experienced a similar issue? If you know a solution, I would greatly appreciate your help.

Thank you.

Strack trace:

Crashed: Thread: SIGTRAP  0x000028ac0000212f
#00 pc 0xaa378 libc.so (BuildId: 2febda0bbcffa4b71545deb95b27767d)
#01 pc 0xb18b24 libunity.so (DebugStringToFilePostprocessedStacktrace(DebugStringToFileData const&)) (BuildId: 73f7bcc8ccfcc733)
#02 pc 0x57de44 libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)) (BuildId: 73f7bcc8ccfcc733)
#03 pc 0x130ce0c libil2cpp.so (il2cpp::vm::Class::IsAssignableFrom(Il2CppClass*, Il2CppClass*)) (BuildId: b6329f2252270eb29bba7db6ea99036b8cdda1f9)
#04 pc 0x58d8b8 libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)) (BuildId: 73f7bcc8ccfcc733)
#05 pc 0x114e354 libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#06 pc 0x58fb2c libunity.so (ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*)) (BuildId: 73f7bcc8ccfcc733)
#07 pc 0x10fcf1c libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#08 pc 0x5d8f28 libunity.so (SerializableManagedRef::CallMethod(Object&, ScriptingMethodPtr)) (BuildId: 73f7bcc8ccfcc733)
#09 pc 0x515600 libunity.so (UI::RectTransform::CalculateRectInParentSpace() const) (BuildId: 73f7bcc8ccfcc733)
#10 pc 0x515578 libunity.so (UI::RectTransform::UpdatePosAndRect(bool)) (BuildId: 73f7bcc8ccfcc733)
#11 pc 0x3f730c libunity.so (std::__ndk1::__tree_iterator<DelayedCallManager::Callback, std::__ndk1::__tree_node<DelayedCallManager::Callback, void*>*, long> std::__ndk1::__tree<DelayedCallManager::Callback, std::__ndk1::less<DelayedCallManager::Callback>, memory_pool<DelayedCallManager::Callback> >::__emplace_multi<DelayedCallManager::Callback const&>(DelayedCallManager::Callback const&)) (BuildId: 73f7bcc8ccfcc733)
#12 pc 0x3f4194 libunity.so (CallDelayed(CallObjectState (*)(Object*, void*), PPtr<Object>, float, void*, float, CallObjectState (*)(void*), DelayedCallManager::DelayedCallMode)) (BuildId: 73f7bcc8ccfcc733)
#13 pc 0x2ec659c libil2cpp.so (__CortexA53843419_2C72000) (BuildId: b6329f2252270eb29bba7db6ea99036b8cdda1f9)
#14 pc 0x59cd2c libunity.so (MonoBehaviour::CallAwake()) (BuildId: 73f7bcc8ccfcc733)
#15 pc 0x59d13c libunity.so (MonoBehaviour::AddToManager()) (BuildId: 73f7bcc8ccfcc733)
#16 pc 0x5bdb10 libunity.so (void ExecuteSerializationCommands<RemapPPtrTransfer>(SerializationCommandProvider&, RemapPPtrTransfer&, GeneralMonoObject const&)) (BuildId: 73f7bcc8ccfcc733)
#17 pc 0x515124 libunity.so (UI::RectTransform::CalculateRefMinMax(Vector2f&, Vector2f&) const) (BuildId: 73f7bcc8ccfcc733)
#18 pc 0x514fa4 libunity.so (UI::RectTransform::CalculateLocalPosition2() const) (BuildId: 73f7bcc8ccfcc733)
#19 pc 0x1147ffc libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#20 pc 0x515600 libunity.so (UI::RectTransform::CalculateRectInParentSpace() const) (BuildId: 73f7bcc8ccfcc733)
#21 pc 0x515578 libunity.so (UI::RectTransform::UpdatePosAndRect(bool)) (BuildId: 73f7bcc8ccfcc733)
#22 pc 0x3d90ec libunity.so (GameObject::GetSupportedMessagesRecalculate()) (BuildId: 73f7bcc8ccfcc733)
#23 pc 0x3d8918 libunity.so (GameObject::SetSupportedMessagesDirty()) (BuildId: 73f7bcc8ccfcc733)
#24 pc 0x2ec659c libil2cpp.so (__CortexA53843419_2C72000) (BuildId: b6329f2252270eb29bba7db6ea99036b8cdda1f9)
#25 pc 0x59cc98 libunity.so (MonoBehaviour::AwakeFromLoad(AwakeFromLoadMode)) (BuildId: 73f7bcc8ccfcc733)
#26 pc 0x515600 libunity.so (UI::RectTransform::CalculateRectInParentSpace() const) (BuildId: 73f7bcc8ccfcc733)
#27 pc 0x514fa4 libunity.so (UI::RectTransform::CalculateLocalPosition2() const) (BuildId: 73f7bcc8ccfcc733)
#28 pc 0x1147ffc libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#29 pc 0x1147ffc libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#30 pc 0x515578 libunity.so (UI::RectTransform::UpdatePosAndRect(bool)) (BuildId: 73f7bcc8ccfcc733)
#31 pc 0x515600 libunity.so (UI::RectTransform::CalculateRectInParentSpace() const) (BuildId: 73f7bcc8ccfcc733)
#32 pc 0x1147ffc libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#33 pc 0x599d9c libunity.so (ExecutionOrderManager::GetScriptExecutionOrder(int, Unity::Type const*) const) (BuildId: 73f7bcc8ccfcc733)
#34 pc 0x10ca24c libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#35 pc 0x5daa48 libunity.so (AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)) (BuildId: 73f7bcc8ccfcc733)
#36 pc 0x599d9c libunity.so (ExecutionOrderManager::GetScriptExecutionOrder(int, Unity::Type const*) const) (BuildId: 73f7bcc8ccfcc733)
#37 pc 0x10ca24c libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#38 pc 0x5daa48 libunity.so (AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)) (BuildId: 73f7bcc8ccfcc733)
#39 pc 0x2ec659c libil2cpp.so (__CortexA53843419_2C72000) (BuildId: b6329f2252270eb29bba7db6ea99036b8cdda1f9)
#40 pc 0x5dab0c libunity.so (AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)) (BuildId: 73f7bcc8ccfcc733)
#41 pc 0x10fcf1c libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#42 pc 0x5da9e0 libunity.so (AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)) (BuildId: 73f7bcc8ccfcc733)
#43 pc 0x5da560 libunity.so (AwakeFromLoadQueue::Add(Object&, TypeTree const*, bool, AwakeFromLoadMode)) (BuildId: 73f7bcc8ccfcc733)
#44 pc 0x5daa04 libunity.so (AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)) (BuildId: 73f7bcc8ccfcc733)
#45 pc 0x3f59ec libunity.so (AwakeAndActivateClonedObjects(Object**, vector_map<int, int, std::__ndk1::less<int>, stl_allocator<std::__ndk1::pair<int, int>, (MemLabelIdentifier)1, 16> > const&)) (BuildId: 73f7bcc8ccfcc733)
#46 pc 0x1143aec libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)
#47 pc 0x10fcf1c libunity.so (__CortexA53843419_1050000) (BuildId: 73f7bcc8ccfcc733)

Maybe you have the log from before this happens?
Can you reproduce it locally?

I’m really sorry, but I’m not sure which log you’re talking about.

I’m sorry, but I can’t reproduce it with the cell phone I have.

I’m not sure if this is the log you’re talking about, but I’m attaching it.

# Crashlytics - Custom logs
# Application: com.theduckgames.lance
# Platform: android
# Version: 1.2.61 (233)
# Issue: bda37e2e58440f2ac630d215845e9830
# Session: 66ac4d2300380001225a53a662af6f9a_DNE_0_v2
# Date: Fri Aug 02 2024 12:06:17 GMT+0900 (한국 표준시)

0 | Fri Aug 02 2024 12:06:11 GMT+0900 (한국 표준시) | screen_view