Description
Unity 2018.2.18f1
It works with .net 3.* plugin but not with .net 4.*.
Scenario
- I get a short link from the Firebase to Unity.
- I send the received link to my share module.
- Crash happens.
Idea
I think dynamic link thread is not dispatched to main thread after receiving a short link.
Configs
-
plugin v5.4.3
-
.net 4.* = mono
-
Stripping level = disabled
--------- beginning of crash
2018-12-19 18:18:35.369 14744-14419/? A/google-breakpad: Microdump skipped (uninteresting)
2018-12-19 18:18:35.388 11069-14419/? W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
2018-12-19 18:18:35.388 11069-14419/? W/google-breakpad: Chrome build fingerprint:
2018-12-19 18:18:35.388 11069-14419/? W/google-breakpad: 71.0.3578.98
2018-12-19 18:18:35.388 11069-14419/? W/google-breakpad: 357809852
2018-12-19 18:18:35.388 11069-14419/? W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: signal 6 (SIGABRT), code -6 (?), fault addr --------
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: Build fingerprint: 'nubia/NX563J/NX563J:7.1.1/NMF26X/eng.nubia.20171019.101529:user/release-keys'
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: Revision: '0'
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: pid: 11069, tid: 14419, name: Thread-106 >>> com.playstack.letta <<<
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: r0 00000000 r1 00003853 r2 00000006 r3 00000008
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: r4 a2079978 r5 00000006 r6 a2079920 r7 0000010c
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: r8 e7ea0ed0 r9 00000000 sl 00000000 fp a2078cd8
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: ip 0000000b sp a2078a98 lr e90644e3 pc e9066dd8 cpsr a2078728
2018-12-19 18:18:35.388 11069-14419/? E/CRASH: backtrace:
2018-12-19 18:18:35.554 11069-14419/? E/CRASH: #00 pc 0004add8 /system/lib/libc.so (tgkill+12)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Readmes pointing to wrong location for the SDK #1 pc 000484df /system/lib/libc.so (pthread_kill+34)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase initialisation problem #2 pc 0001d849 /system/lib/libc.so (raise+10)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Sing in Anonymously AggregateException #3 pc 00019255 /system/lib/libc.so (__libc_android_abort+34)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: 403 forbidden on sdk links #4 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: System.AggregateException is thrown when sending invite #5 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Win32Exception: ApplicationName='python', #6 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Can i change topic from the UI button?? #7 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: All firebase plugins in one project #8 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Where do I find the gradle file? #9 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: And how to change the icon? - А как изменить иконку? #10 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Dynamic Link crashes app #11 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: iOS code signing team profile setting is overridden after rebuild #12 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: iOS Sample apps failing during linking process #13 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: I can't get data after login. #14 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase Storage #15 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: SignInAnonymouslyAsync don't work after user been created. #16 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: problem when using both FirebaseAuth and FirebaseDatabase #17 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase crash when resume app from background in Android #18 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Failed to handle openURL #19 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase Messaging sdk deletes my icon on Unity 5.5.0f3 Android #20 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: go into AppDeps and MessagingDeps and change from "9.8+" to "LATEST" #21 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Unity app with Facebook integration failed to build on iOS #22 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase Cloud Messaging - игра выключается при повторном запуске с ярлыка, после сворачивания игры. #23 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase timestamp in Unity #24 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Don't receive fcm notification when I exit the unity app,only user open the unity app the mobile notifiction list can show the fcm push notification. #25 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Unable to auth unless built to target #26 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: StackOverflowException on Mac #27 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase.Storage.StorageException: An unknown error occurred #28 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: How to unregist token? #29 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: iOS App using SDK 1.1.0 and "IMPL_APP_CONTROLLER_SUBCLASS" will not launch. #30 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Converting Shortlinks back #31 pc 000172b8 /system/lib/libc.so (abort+4)
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Problem with Facebook SDK and Invites SDK #32 il 0000003f at (wrapper managed-to-native) UnityEngine.AndroidJNI.CallStaticObjectMethod (intptr,intptr,UnityEngine.jvalue[]) <0x0003f>
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase Messaging Game Stuck on iOS #33 il 00000027 at UnityEngine.AndroidJNISafe.CallStaticObjectMethod (intptr,intptr,UnityEngine.jvalue[]) [0x00002] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Unity firebase messaging crashes #34 il 0000011f at UnityEngine.AndroidReflection.GetMethodMember (intptr,string,string,bool) [0x00051] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Real Time database cannot reconnect #35 il 00000057 at UnityEngine._AndroidJNIHelper.GetMethodID (intptr,string,string,bool) [0x00008] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: "FirebaseApp not found" and crash #36 il 0000002b at UnityEngine.AndroidJNIHelper.GetMethodID (intptr,string,string,bool) [0x00001] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Is it possible to integrate Firebase Messaging in a project with Facebook SDK? #37 il 00000043 at UnityEngine._AndroidJNIHelper.GetMethodID<UnityEngine.AndroidJavaObject> (intptr,string,object[],bool) [0x00009] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Messaging example don't respond after allow notification on iOS. #38 il 0000003b at UnityEngine.AndroidJNIHelper.GetMethodID<UnityEngine.AndroidJavaObject> (intptr,string,object[],bool) [0x00001] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Data Message can't receive #39 il 00000077 at UnityEngine.AndroidJavaObject._CallStatic<UnityEngine.AndroidJavaObject> (string,object[]) [0x0001a] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: The database only works when I sign out or when i'm without auth. #40 il 00000033 at UnityEngine.AndroidJavaObject.CallStatic<UnityEngine.AndroidJavaObject> (string,object[]) [0x00001] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase Auth + Database setup in unity editor failure #41 il 0000007b at UnityEngine.AndroidJavaObject.FindClass (string) [0x0001d] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: firebase_unity_sdk_1.1.1 require Xcode 8 or higher? #42 il 0000003f at UnityEngine.AndroidJavaClass._AndroidJavaClass (string) [0x00012] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: iOS app does not load after adding messaging lib #43 il 00000023 at UnityEngine.AndroidJavaClass..ctor (string) [0x00007] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Authentication: "One or more Firebase dependencies are not present" #44 il 00000027 at UnityEngine.AndroidJavaProxy..ctor (string) [0x00000] in <04a532a61307450d9ec033b0032423e0>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: I am using FireBase database for unity3d , database is working well on unityEditor but no in any type of build #45 il 0000001b at UnityShare.UnityShare/AndroidCallback..ctor () [0x00000] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Impossible build messaging app #46 il 0000003b at UnityShare.UnityShare.ShareTextOnAndroid (string,string,UnityShare.UnityShareAction1<UnityShare.UnityShareState>) [0x0000d] in <b6d0ee6a759b4b1da7bf15530d18a04e>:0 2018-12-19 18:18:35.555 11069-14419/? E/CRASH: #47 il 000000a3 at UnityShare.UnityShare.ShareText (string,string,UnityShare.UnityShareAction
1<UnityShare.UnityShareState>) [0x00021] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Can you improve documentation of sdk? #48 il 00000177 at FriendsMenu/c__AnonStorey2.<>m__0 (DynamicLinkResult) [0x0007e] in <2b963831095b40d583c0b95cc342a613>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Build in Android Studio (Gradle multidex) #49 il 0000007b at FirebaseDynamicLinksManager/c__AnonStorey1.<>m__0 (System.Uri) [0x0003a] in <2b963831095b40d583c0b95cc342a613>:0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: iOS alert notifications not working #50 il 00000233 at FirebaseDynamicLinksManager/c__AnonStorey0.<>m__0 (System.Threading.Tasks.Task1<Firebase.DynamicLinks.ShortDynamicLink>) [0x000ce] in <2b963831095b40d583c0b95cc342a613>:0 2018-12-19 18:18:35.555 11069-14419/? E/CRASH: #51 il 0000006f at System.Threading.Tasks.ContinuationTaskFromResultTask
1<Firebase.DynamicLinks.ShortDynamicLink>.InnerInvoke () [0x00024] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Compatibility of database SDK with older Android version #52 il 0000004f at System.Threading.Tasks.Task.Execute () [0x00010] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: ApplicationException: Java class com/google/android/gms/common/GoogleApiAvailability not found. #53 il 00000047 at System.Threading.Tasks.Task.ExecutionContextCallback (object) [0x00000] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Gfx device initialization failed #54 il 0000019f at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Firebase.Messaging.FirebaseMessaging.Unsubscribe() #55 il 0000002b at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Authentication crashes if a database connection has been opened #56 il 0000012b at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) [0x00050] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: (iOS) How to determine if remote notification (while app in background) was tapped #57 il 000000ef at System.Threading.Tasks.Task.ExecuteEntry (bool) [0x00058] in :0
2018-12-19 18:18:35.555 11069-14419/? E/CRASH: Current dependency status: UnavailableOther #58 il 00000017 at System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in :0
2018-12-19 18:18:35.556 11069-14419/? E/CRASH: ERROR: ret == 0 || ret == 22 #59 il 00000217 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in :0
2018-12-19 18:18:35.556 11069-14419/? E/CRASH: Please make an example without iOS or Android please. #60 il 00000037 at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in :0
2018-12-19 18:18:35.556 11069-14419/? E/CRASH: Firebase unity sdk 1.1.2 OK #61 il 0000006f at (wrapper runtime-invoke) .runtime_invoke_bool (object,intptr,intptr,intptr) <0x0006f>