Open EricBatlle opened 3 years ago
Hi Eric,
Thanks for reporting this issue.
I haven't seen this crash before. Do you know which Unity call is causing the crash? i.e. Is it crashing when you call new AppUpdateManager()
or sometime later?
hi @jamcohen , seems like the crash was provoqued due to call new AppUpdateManager
outside Start
, like a normal global variable, when I placed the call inside the error was fixed, you can check it on this repo: https://github.com/EricBatlle/InAppUpdate_Google/network
Ah, interesting. Well, I'm glad you were able to work around it. That should be enough info for us to reproduce the issue on our end.
Thanks!
Using Unity 2019.3.13f1 Targeting Android Compiling with IL2CPP
Empty project, It compiles. Now if I add the package com.google.play.appupdate-1.4.0 cause I'm following this doc about In-App-Update for Unity: -I can compile -But the app crashes when trying to open.
If I check the logcats, the following is remarkable: A/ppUpdate_Googl: indirect_reference_table.cc:68] JNI ERROR (app bug): accessed stale Local 0x29 (index 2 in a table of size 0)
I'm doing something wrong? Any suggestion?
Thanks!
EDIT: I've pasted the whole logcat on to a gist: https://gist.github.com/EricBatlle/39e1de27386223614ecbd0d9cd81a01e And the backtrace on another gist: https://gist.github.com/EricBatlle/007e6ebd8126eae450a03dff405c9e9c