sorry, i used firebase and got a nasty error
I tried to solve a week, google everywhere but still no results
I simply use Auth, Database and Messaging, I also use
https://github.com/playgameservices/play-games-plugin-for-unity
to Authentication, smooth things,
But sometimes it crashed, I used logcat to debug
this is an error
I/dalvikvm: JNI ERROR (app bug): accessed deleted global reference 0x1d600a6e
E/dalvikvm: VM aborting
E/CRASH: signal 6 (SIGABRT), code -6 (?), fault addr --------
E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/CRASH: Build fingerprint: 'samsung/greatqltecs/greatqltecs:4.4.2/NMF26X/381180615:user/release-keys'
E/CRASH: Revision: '0'
E/CRASH: pid: 6121, tid: 6140, name: UnityMain >>> com.supermassy.mmatest <<<
E/CRASH: eax 00000000 ebx 000017e9 ecx 000017fc edx 00000006
E/CRASH: esi 000017fc edi 00000016
E/CRASH: xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
E/CRASH: eip b77060d6 ebp b776fce0 esp 7d91cb70 flags 00200207
E/CRASH: backtrace:
E/CRASH: #00 pc 0003c0d6 /system/lib/libc.so (tgkill+22)
E/CRASH: #01 il 00000012 at (wrapper managed-to-native) Firebase.Auth.AuthUtilPINVOKE.FirebaseUser_UserId_get (System.Runtime.InteropServices.HandleRef) <0x00012>
E/CRASH: #02 il 0000002b at Firebase.Auth.FirebaseUser.get_UserId () [0x00000] in <827ba7db94e449ae870876e6db1d6750>:0
E/CRASH: #03 il 00000053 at GameNetWork.Database.LoadByUser (string[],System.Action`2<Firebase.Database.DataSnapshot, bool>,string) [0x00022] in <3ab2ad56e99042a489859eb06279f890>:0
E/CRASH: #04 il 000000bf at CoreGame.GameTime/<FirebaseNow>c__AnonStorey2.<>m__0 (bool) [0x0000b] in <3ab2ad56e99042a489859eb06279f890>:0
E/CRASH: #05 il 00000390 at GameNetWork.Database/<Save>c__async0.MoveNext () [0x001af] in <3ab2ad56e99042a489859eb06279f890>:0
E/CRASH: #06 il 00000066 at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.InvokeMoveNext (object) [0x00000] in <f826c2584fc94ec19a48a6576640bdc5>:0
E/CRASH: #07 il 00000162 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00071] in <f826c2584fc94ec19a48a6576640bdc5>:0
E/CRASH: #08 il 00000027 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in <f826c2584fc94ec19a48a6576640bdc5>:0
E/CRASH: #09 il 00000083 at System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner.Run () [0x00024] in <f826c2584fc94ec19a48a6576640bdc5>:0
E/CRASH: #10 il 00000039 at IEnumeratorAwaitExtensions.RunOnUnityScheduler (System.Action) [0x0001c] in <5402e90fae60436b9731f58d94a514bb>:0
E/CRASH: #11 il 00000037 at IEnumeratorAwaitExtensions/SimpleCoroutineAwaiter.Complete (System.Exception) [0x00027] in <5402e90fae60436b9731f58d94a514bb>:0
E/CRASH: #12 il 0000005f at IEnumeratorAwaitExtensions/InstructionWrappers/<ReturnVoid>c__Iterator0.MoveNext () [0x00041] in <5402e90fae60436b9731f58d94a514bb>:0
E/CRASH: #13 il 0000002c at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator,intptr) [0x00027] in <1a1e3e53990049ae8b8c3217d4c1a625>:0
E/CRASH: #14 il 00000060 at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object_intptr (object,intptr,intptr,intptr) <0x00060>
I tried google lot, reinstalled different versions of unity, reinstalled
java, tried different versions of firebase sdk, but still bug, error
does not occur often so i have to try again 20 times The error can
reappear.
I do not know what to do anymore :(