Unity Firebase Analytics在场景加载时显示lldb错误

时间:2018-12-19 08:46:09

标签: firebase unity3d lldb firebase-analytics

我已将Firebase添加到我的统一项目中。当我打开应用程序时,一切正常。它将数据成功发送到Firebase仪表板。但是,有时我会转到另一个场景。应用崩溃。当我使用Xcode进行调试时,使用此stacktrace会产生lldb错误:

* thread #4, queue = 'APMAnalyticsQueue', stop reason = EXC_BAD_ACCESS (code=1, address=0x7e19bbec8)

*帧#0:0x000000018159c1a0 libobjc.A.dylib objc_retain + 16 frame #1: 0x0000000104cedfe8 basicmath2 __ CLSFIRAEventParametersAsPrimitiveDictionary_block_invoke + 32     框架#2:0x00000001822953a0 CoreFoundation -[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:] + 232 frame #3: 0x0000000104cedfa0 basicmath2 CLSFIRAEventParametersAsPrimitiveDictionary + 152     框架#4:0x0000000104cee0cc basicmath2 CLSFIRAEventToDictionary + 132 frame #5: 0x0000000104cf1284 basicmath2 __ 61- [CLSCrashReportingController registerAnalyticsEventListener] _block_invoke + 28     框架6:0x0000000104d7de84 basicmath2 +[APMAnalytics notifyEventListenersOnSerialQueue:] + 196 frame #7: 0x0000000104d7aeac basicmath2 + [APMAnalytics logEventsOnWorkerQueue:notifyEventListeners:] + 252     框架#8:0x0000000104d7bb28 basicmath2 +[APMAnalytics logEventOnSerialQueueWithOrigin:isPublicEvent:name:parameters:timestamp:ignoreEnabled:ignoreInterceptor:addedScreenParameters:] + 1104 frame #9: 0x0000000104d7b408 basicmath2 __ 65+ [APMAnalytics logEventWithOrigin:isPublicEvent:name:parameters:] _ block_invoke_3 + 60     框架#10:0x0000000181cb8aa0 libdispatch.dylib _dispatch_call_block_and_release + 24 frame #11: 0x0000000181cb8a60 libdispatch.dylib _ dispatch_client_callout + 16     框架#12:0x0000000181cc29b4 libdispatch.dylib _dispatch_queue_serial_drain$VARIANT$mp + 608 frame #13: 0x0000000181cc32fc libdispatch.dylib _ dispatch_queue_invoke $ VARIANT $ mp + 336     框架#14:0x0000000181cc3cc8 libdispatch.dylib _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340 frame #15: 0x0000000181ccc098 libdispatch.dylib _ dispatch_workloop_worker_thread $ VARIANT $ mp + 668     第16帧:0x0000000181febe70 libsystem_pthread.dylib _pthread_wqthread + 860 frame #17: 0x0000000181febb08 libsystem_pthread.dylib start_wqthread + 4

错误屏幕截图:

LLDB error

0 个答案:

没有答案