firebase-unity-sdk: Crashed: com.apple.main-thread EXC_BAD_INSTRUCTION 0x00000000feedfacf

[REQUIRED] Please fill in the following fields:

  • Unity editor version: 2021.3.30f1
  • Firebase Unity SDK version: 10.6.0
  • Source you installed the SDK: unitypackage
  • Problematic Firebase Component:Firebase CallBack
  • Other Firebase Components in use: _____ (Auth, Database, etc.)
  • Additional SDKs you are using: _____ (Facebook, AdMob, etc.)
  • Platform you are using the Unity editor on: Mac
  • Platform you are targeting: iOS
  • Scripting Runtime: IL2CPP
  • Pre-built SDK from the website](https://firebase.google.com/download/unity)

[REQUIRED] Please describe the issue here:

iphone6s, iphone6, ipad air Os Version: 12.5.7

Crashed: com.apple.main-thread 0 UnityFramework 0x102000000 selector_thread(void*) (.cold.1) + 656 (threadpool-ms-io.cpp:656) 1 UnityFramework 0xfaabb4 firebase::callback::CallbackString::Run() + 196 2 UnityFramework 0xfcaeb4 firebase::callback::CallbackEntry::Execute() + 144 3 UnityFramework 0xfc8694 firebase::callback::CallbackDispatcher::DispatchCallbacks() + 116 4 UnityFramework 0xfc85dc firebase::callback::PollCallbacks() + 68 5 UnityFramework 0x1085318 Firebase_App_CSharp_PollCallbacks + 12 6 UnityFramework 0x12fecd8 selector_thread(void*) (.cold.1) + 656 (threadpool-ms-io.cpp:656) 7 UnityFramework 0x1312458 selector_thread(void*) (.cold.1) + 656 (threadpool-ms-io.cpp:656) 8 UnityFramework 0xf58a48 il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) + 580 (Runtime.cpp:580) 9 UnityFramework 0xf588a8 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 574 (Runtime.cpp:574) 10 UnityFramework 0x569ab4 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool) + 292 (ScriptingApi_Il2Cpp.cpp:292) 11 UnityFramework 0x57529c ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 298 (ScriptingInvocation.cpp:298) 12 UnityFramework 0x583a68 MonoBehaviour::CallUpdateMethod(int) + 543 (MonoBehaviour.cpp:543) 13 UnityFramework 0x3f227c void BaseBehaviourManager::CommonUpdate<BehaviourManager>() + 178 (Behaviour.cpp:178) 14 UnityFramework 0x4974c8 ExecutePlayerLoop(NativePlayerLoopSystem*) + 383 (PlayerLoop.cpp:383) 15 UnityFramework 0x497508 ExecutePlayerLoop(NativePlayerLoopSystem*) + 407 (PlayerLoop.cpp:407) 16 UnityFramework 0x497764 PlayerLoop() + 514 (PlayerLoop.cpp:514) 17 UnityFramework 0x9dda58 UnityPlayerLoopImpl(bool) + 342 (LibEntryPoint.mm:342) 18 UnityFramework 0x17ee4 -[UnityAppController(Rendering) repaint] + 238 (UnityAppController+Rendering.mm:238) 19 UnityFramework 0x17e74 -[UnityAppController(Rendering) repaintDisplayLink] + 72 (UnityAppController+Rendering.mm:72) 20 QuartzCore 0x11ff0 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 636 21 IOKit 0x54b0 IODispatchCalloutFromCFMessage + 488 22 CoreFoundation 0x84990 __CFMachPortPerform + 188 23 CoreFoundation 0xab594 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56 24 CoreFoundation 0xaace0 __CFRunLoopDoSource1 + 440 25 CoreFoundation 0xa5b04 __CFRunLoopRun + 2096 26 CoreFoundation 0xa4fb4 CFRunLoopRunSpecific + 436 27 GraphicsServices 0xa79c GSEventRunModal + 104 28 UIKitCore 0x8bcc38 UIApplicationMain + 212 29 UnityFramework 0x17a18 -[UnityFramework runUIApplicationMainWithArgc:argv:] + 96 (main.mm:96) 30 TRTBilBakalm 0x412c main + 28 (main.mm:28) 31 libdyld.dylib 0x18e0 start + 4

Steps to reproduce:

Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? What’s the issue repro rate? (eg 100%, 1/5 etc)

What happened? How can we make the problem occur? This could be a description, log/console output, etc.

If you have a downloadable sample project that reproduces the bug you’re reporting, you will likely receive a faster response on your issue.

Relevant Code:

// TODO(you): code here to reproduce the problem

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Comments: 18 (2 by maintainers)

Most upvoted comments

@baba-s Thanks, it seems to fix the issue.