Hi there,
I found a lot of crashes in com.unity3d.WebOperationQueue thread (reported by Fabric Crashlytics).
Here is the stack trace of crashed thread (see attached file for full stack trace)
#40. Crashed: com.unity3d.WebOperationQueue (QOS: UNSPECIFIED)
0 fungame 0x100dd8b98 UnityWebRequestProto<UnityWebRequestTransport, AtomicRefCounter, RedirectHelper, ResponseHelper, DownloadHandler, UploadHandler, CertificateHandler, HeaderHelper, AsyncOperation>::FinishDoRequest(WebError) + 593 (UnityWebRequestProto.h:593)
1 fungame 0x10008cee4 -[UnityWebRequestDelegate URLSession:task:didCompleteWithError:] + 201 (UnityWebRequest.mm:201)
2 CFNetwork 0x1b71b0420 __51-[NSURLSession delegate_task:didCompleteWithError:]_block_invoke.182 + 252
3 Foundation 0x1b7491ef8 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
4 Foundation 0x1b739e3e0 -[NSBlockOperation main] + 72
5 Foundation 0x1b739d8c8 -[__NSOperationInternal _start:] + 740
6 Foundation 0x1b7493c7c __NSOQSchedule_f + 272
7 libdispatch.dylib 0x1b646ca38 _dispatch_call_block_and_release + 24
8 libdispatch.dylib 0x1b646d7d4 _dispatch_client_callout + 16
9 libdispatch.dylib 0x1b6444c34 _dispatch_continuation_pop$VARIANT$armv81 + 404
10 libdispatch.dylib 0x1b6444314 _dispatch_async_redirect_invoke + 592
11 libdispatch.dylib 0x1b64509d4 _dispatch_root_queue_drain + 340
12 libdispatch.dylib 0x1b6451248 _dispatch_worker_thread2 + 116
13 libsystem_pthread.dylib 0x1b664d1b4 _pthread_wqthread + 464
14 libsystem_pthread.dylib 0x1b664fcd4 start_wqthread + 4
The main thread seems to be in background when the crash happens:
#0. com.apple.main-thread
0 fungame 0x1012bc5a8 il2cpp::icalls::mscorlib::System::Array::FastCopy(Il2CppArray*, int, Il2CppArray*, int, int) + 166 (Array.cpp:166)
1 fungame 0x101ee177c plcrash::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next(unsigned int*, plcrash::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 12829532
2 fungame 0x101f86350 plcrash::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next(unsigned int*, plcrash::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 13504304
3 fungame 0x1017eed68 plcrash::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next(unsigned int*, plcrash::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 5544264
4 fungame 0x1001090e0 RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017(void (*)(), MethodInfo const*, void*, void**) + 19166 (Il2CppInvokerTable.cpp:19166)
5 fungame 0x1012fddb0 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 550 (Runtime.cpp:550)
6 fungame 0x100cfad00 scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool) + 249 (ScriptingApi_Il2Cpp.cpp:249)
7 fungame 0x100d04148 ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool) + 273 (ScriptingInvocation.cpp:273)
8 fungame 0x100d05ec8 ScriptingInvocation::InvokeChecked(ScriptingExceptionPtr*) + 69 (ScriptingInvocation.h:69)
9 fungame 0x100d38d68 SerializableManagedRef::CallMethod(Object&, ScriptingMethodPtr) + 60 (ScriptingNativeTypes.h:60)
10 fungame 0x100d09cac MonoBehaviour::RemoveFromManager() + 335 (MonoBehaviour.cpp:335)
11 fungame 0x100afb488 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 190 (GameObject.cpp:190)
12 fungame 0x100afb410 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 183 (GameObject.cpp:183)
13 fungame 0x100afb410 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 183 (GameObject.cpp:183)
14 fungame 0x100afb410 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 183 (GameObject.cpp:183)
15 fungame 0x100afb410 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 183 (GameObject.cpp:183)
16 fungame 0x100afb410 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&) + 183 (GameObject.cpp:183)
17 fungame 0x100afb530 GameObject::ActivateAwakeRecursively(DeactivateOperation) + 217 (GameObject.cpp:217)
18 fungame 0x100c40bf8 DestroyObjectHighLevel_Internal(Object*, bool) + 1661 (GameObjectUtility.cpp:1661)
19 fungame 0x100c46e18 CleanupAllObjects() + 381 (SaveAndLoadHelper.cpp:381)
20 fungame 0x100c47460 CleanupEngine() + 523 (SaveAndLoadHelper.cpp:523)
21 fungame 0x100c52410 PlayerCleanup(bool) + 579 (Player.cpp:579)
22 fungame 0x100f00e40 UnityCleanup + 243 (LibEntryPoint.mm:243)
23 fungame 0x1000a0cc4 -[UnityAppController applicationWillTerminate:] + 394 (UnityAppController.mm:394)
24 UIKitCore 0x1e333ac34 -[UIApplication _terminateWithStatus:] + 220
25 UIKitCore 0x1e2bf6db4 __98-[__UICanvasLifecycleMonitor_Compatability deactivateEventsOnly:withContext:forceExit:completion:]_block_invoke.261 + 344
26 UIKitCore 0x1e333edec _runAfterCACommitDeferredBlocks + 296
27 UIKitCore 0x1e332d93c _cleanUpAfterCAFlushAndRunDeferredBlocks + 352
28 UIKitCore 0x1e335a7ac _afterCACommitHandler + 116
29 CoreFoundation 0x1b69be5f8 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
30 CoreFoundation 0x1b69b9320 __CFRunLoopDoObservers + 412
31 CoreFoundation 0x1b69b989c __CFRunLoopRun + 1228
32 CoreFoundation 0x1b69b90b0 CFRunLoopRunSpecific + 436
33 GraphicsServices 0x1b8bb979c GSEventRunModal + 104
34 UIKitCore 0x1e3333978 UIApplicationMain + 212
35 fungame 0x10008bb50 main + 41 (main.mm:41)
36 libdyld.dylib 0x1b647e8e0 start + 4
I’m using Unity 2019.1.6 Pro.
I cannot reproduce the crash.
Any help would be appreciated!
4785098–456815–crash.txt (44.3 KB)