Unity 2020 (alpha) - Abort message: JNI FatalError called: com/google/androidgamesdk/ChoreographerCallback
Trying to build Android game, which works in Editor, without exceptions, but crashes on launch when built.
How can I understand from it what should I fix in the editor? How do you guys read those errors. Im not even sure if it's c# script or settings, or something else.
My project uses UnityIAP, which for some reason caused me build problems on different Unity versions.
11-11 01:01:36.801 9770 9770 F DEBUG : Build fingerprint: 'samsung/dreamltexx/dreamlte:9/PPR1.180610.011/G950FXXS5DSI1:user/release-keys'
11-11 01:01:36.801 9770 9770 F DEBUG : Revision: '10'
11-11 01:01:36.801 9770 9770 F DEBUG : ABI: 'arm64'
11-11 01:01:36.801 9770 9770 F DEBUG : pid: 9726, tid: 9726, name: tanksworldarena >>> com.pbg.tanksworldarena <<<
11-11 01:01:36.801 9770 9770 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
11-11 01:01:36.801 9770 9770 F DEBUG : Abort message: 'jni_internal.cc:616] JNI FatalError called: com/google/androidgamesdk/ChoreographerCallback'
11-11 01:01:36.801 9770 9770 F DEBUG : x0 0000000000000000 x1 00000000000025fe x2 0000000000000006 x3 0000000000000008
11-11 01:01:36.801 9770 9770 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000080
11-11 01:01:36.801 9770 9770 F DEBUG : x8 0000000000000083 x9 0000007222ebb828 x10 fffffff87ffffbdf x11 0000000000000001
11-11 01:01:36.801 9770 9770 F DEBUG : x12 0000007ffce079c8 x13 0000000000000038 x14 ffffffffffffffff x15 000035f0249ce426
11-11 01:01:36.801 9770 9770 F DEBUG : x16 0000007222ef2290 x17 0000007222e318e0 x18 0000007ffce0719a x19 00000000000025fe
11-11 01:01:36.801 9770 9770 F DEBUG : x20 00000000000025fe x21 0000000000000083 x22 000000719e814c00 x23 000000719e83ead0
11-11 01:01:36.801 9770 9770 F DEBUG : x24 0000000000000058 x25 0000000000000012 x26 0000000000000005 x27 000000719e711013
11-11 01:01:36.801 9770 9770 F DEBUG : x28 000000719e710ec7 x29 0000007ffce07f20
11-11 01:01:36.801 9770 9770 F DEBUG : sp 0000007ffce07ee0 lr 0000007222e24d28 pc 0000007222e24d54
11-11 01:01:36.896 9770 9770 F DEBUG :
11-11 01:01:36.896 9770 9770 F DEBUG : backtrace:
11-11 01:01:36.897 9770 9770 F DEBUG : #00 pc 0000000000021d54 /system/lib64/libc.so (abort+124)
11-11 01:01:36.897 9770 9770 F DEBUG : #01 pc 000000000046fcc0 /system/lib64/libart.so (art::Runtime::Abort(char const*)+1320)
11-11 01:01:36.897 9770 9770 F DEBUG : #02 pc 0000000000008d2c /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
11-11 01:01:36.897 9770 9770 F DEBUG : #03 pc 000000000033539c /system/lib64/libart.so (art::JNI::FatalError(_JNIEnv*, char const*)+196)
11-11 01:01:36.897 9770 9770 F DEBUG : #04 pc 000000000034be90 /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/lib/arm64/libunity.so (JNI_OnLoad+68)
11-11 01:01:36.897 9770 9770 F DEBUG : #05 pc 0000000000000c34 /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/lib/arm64/libmain.so
11-11 01:01:36.897 9770 9770 F DEBUG : #06 pc 0000000000000a44 /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/lib/arm64/libmain.so
11-11 01:01:36.897 9770 9770 F DEBUG : #07 pc 000000000000355c /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/oat/arm64/base.odex (offset 0x3000) (com.unity3d.player.NativeLoader.load+172)
11-11 01:01:36.897 9770 9770 F DEBUG : #08 pc 000000000056224c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
11-11 01:01:36.897 9770 9770 F DEBUG : #09 pc 00000000000d0160 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
11-11 01:01:36.897 9770 9770 F DEBUG : #10 pc 00000000002865e8 /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
11-11 01:01:36.897 9770 9770 F DEBUG : #11 pc 00000000002805a4 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+948)
11-11 01:01:36.897 9770 9770 F DEBUG : #12 pc 000000000053273c /system/lib64/libart.so (MterpInvokeStatic+204)
11-11 01:01:36.897 9770 9770 F DEBUG : #13 pc 0000000000554794 /system/lib64/libart.so (ExecuteMterpImpl+14612)
11-11 01:01:36.897 9770 9770 F DEBUG : #14 pc 0000000000015e88 /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer.loadNative+4)
11-11 01:01:36.897 9770 9770 F DEBUG : #15 pc 000000000025a0a0 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.783209430+496)
11-11 01:01:36.897 9770 9770 F DEBUG : #16 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
11-11 01:01:36.897 9770 9770 F DEBUG : #17 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
11-11 01:01:36.897 9770 9770 F DEBUG : #18 pc 000000000053273c /system/lib64/libart.so (MterpInvokeStatic+204)
11-11 01:01:36.897 9770 9770 F DEBUG : #19 pc 0000000000554794 /system/lib64/libart.so (ExecuteMterpImpl+14612)
11-11 01:01:36.897 9770 9770 F DEBUG : #20 pc 00000000000157c8 /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer.<init>+304)
11-11 01:01:36.897 9770 9770 F DEBUG : #21 pc 000000000025a0a0 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.783209430+496)
11-11 01:01:36.897 9770 9770 F DEBUG : #22 pc 000000000025fc20 /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
11-11 01:01:36.897 9770 9770 F DEBUG : #23 pc 0000000000280588 /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+920)
11-11 01:01:36.897 9770 9770 F DEBUG : #24 pc 0000000000532578 /system/lib64/libart.so (MterpInvokeDirect+296)
11-11 01:01:36.897 9770 9770 F DEBUG : #25 pc 0000000000554714 /system/lib64/libart.so (ExecuteMterpImpl+14484)
11-11 01:01:36.897 9770 9770 F DEBUG : #26 pc 0000000000014b2c /data/app/com.pbg.tanksworldarena-YdqpWCYthz7UzqEwvhgVzg==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayerActivity.onCreate+60)
11-11 01:01:36.897 9770 9770 F DEBUG : #27 pc 000000000025a0a0 /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.783209430+496)
11-11 01:01:36.897 9770 9770 F DEBUG : #28 pc 0000000000521978 /system/lib64/libart.so (artQuickToInterpreterBridge+1032)
11-11 01:01:36.897 9770 9770 F DEBUG : #29 pc 000000000056b0fc /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
11-11 01:01:36.897 9770 9770 F DEBUG : #30 pc 0000000000ad76fc /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.Activity.performCreate+172)
11-11 01:01:36.897 9770 9770 F DEBUG : #31 pc 00000000007f3ad0 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.Instrumentation.callActivityOnCreate+80)
11-11 01:01:36.897 9770 9770 F DEBUG : #32 pc 0000000000902e1c /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.ActivityThread.performLaunchActivity+2636)
11-11 01:01:36.897 9770 9770 F DEBUG : #33 pc 00000000009087c8 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.ActivityThread.handleLaunchActivity+424)
11-11 01:01:36.897 9770 9770 F DEBUG : #34 pc 0000000000ae1464 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.servertransaction.LaunchActivityItem.execute+372)
11-11 01:01:36.897 9770 9770 F DEBUG : #35 pc 00000000008122e4 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.servertransaction.TransactionExecutor.executeCallbacks+708)
11-11 01:01:36.897 9770 9770 F DEBUG : #36 pc 0000000000811fa8 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.servertransaction.TransactionExecutor.execute+280)
11-11 01:01:36.897 9770 9770 F DEBUG : #37 pc 00000000008f4ac8 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.ActivityThread$H.handleMessage+1112)
11-11 01:01:36.897 9770 9770 F DEBUG : #38 pc 0000000000b25054 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.os.Handler.dispatchMessage+180)
11-11 01:01:36.897 9770 9770 F DEBUG : #39 pc 0000000000b28150 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.os.Looper.loop+1264)
11-11 01:01:36.897 9770 9770 F DEBUG : #40 pc 0000000000901968 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (android.app.ActivityThread.main+680)
11-11 01:01:36.897 9770 9770 F DEBUG : #41 pc 000000000056224c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
11-11 01:01:36.897 9770 9770 F DEBUG : #42 pc 00000000000d0160 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
11-11 01:01:36.897 9770 9770 F DEBUG : #43 pc 00000000004682d8 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
11-11 01:01:36.897 9770 9770 F DEBUG : #44 pc 0000000000469d30 /system/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1440)
11-11 01:01:36.897 9770 9770 F DEBUG : #45 pc 00000000003f87b0 /system/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+48)
11-11 01:01:36.897 9770 9770 F DEBUG : #46 pc 000000000011e7e4 /system/framework/arm64/boot.oat (offset 0x114000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+180)
11-11 01:01:36.898 9770 9770 F DEBUG : #47 pc 0000000000e0fd48 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+136)
11-11 01:01:36.898 9770 9770 F DEBUG : #48 pc 0000000000e168f0 /system/framework/arm64/boot-framework.oat (offset 0x41f000) (com.android.internal.os.ZygoteInit.main+2208)
11-11 01:01:36.898 9770 9770 F DEBUG : #49 pc 000000000056224c /system/lib64/libart.so (art_quick_invoke_static_stub+604)
11-11 01:01:36.898 9770 9770 F DEBUG : #50 pc 00000000000d0160 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
11-11 01:01:36.898 9770 9770 F DEBUG : #51 pc 00000000004682d8 /system/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
11-11 01:01:36.898 9770 9770 F DEBUG : #52 pc 0000000000467f30 /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+416)
11-11 01:01:36.898 9770 9770 F DEBUG : #53 pc 000000000036ab1c /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+644)
11-11 01:01:36.898 9770 9770 F DEBUG : #54 pc 00000000000b9d08 /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120)
11-11 01:01:36.898 9770 9770 F DEBUG : #55 pc 00000000000bc8cc /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+780)
11-11 01:01:36.898 9770 9770 F DEBUG : #56 pc 0000000000004990 /system/bin/app_process64 (main+1200)
11-11 01:01:36.898 9770 9770 F DEBUG : #57 pc 00000000000b0510 /system/lib64/libc.so (__libc_init+88)
Answer by Johannski · Dec 06, 2019 at 08:21 AM
I got the same (or similar) error with 2019.3.0f1. In my case I solved the problem by disabling proguard in Player Settings->Publishing Settings->Minify. I guess there is a bug for that feature in newer releases?!
I have same issue but not solve for me, still keep crush Android $$anonymous$$in API level = 19 Unity3d : 2019.3.9f1
Answer by SevenKoton · Dec 23, 2019 at 08:29 AM
Instead of disabling Minify you can just add this line:
-keep class com.google.androidgamesdk.* { *; }
to your proguard-unity.txt
. Checked in Unity 2019.3.0f4.
Answer by Binouze · Jan 16, 2020 at 07:59 AM
@SevenKoton thanks so much, my builds works now. Checked in Unity 2019.3.0f5. Apparently a fix is near ready to deploy : https://issuetracker.unity3d.com/issues/android-application-crashes-on-start-when-minify-is-set-to-proguard-in-the-player-settings
Your answer

Follow this Question
Related Questions
Game crashing in windows standalone (0xC0000005) 0 Answers
building a 2d game help please 0 Answers
Unity just started crashing. 0 Answers
BoTD crashes on standalone but not in editor... 0 Answers
My game always crashes when building a standalone release, it fails at "OnPreprocessShaderVariants" 2 Answers