Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug App only crashes on startup with Play Asset Delivery (PAD)!!!

Discussion in 'Android' started by dick, Aug 18, 2022.

  1. dick

    dick

    Joined:
    Sep 6, 2014
    Posts:
    91
    I noticed my app crashes when PAD is in the project. When I delete it from the project, the game works fine without a crash, but i need PAD to publish to game to Google Play Store because the app size is over 150mb.

    I am using Unity 2021.3.8f1. Any help would be greatly appreciated

    Here is the crash log:
    **************************************************************************************
    2022/08/18 00:50:59.792 20363 20433 Fatal libc Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 20433 (UnityMain), pid 20363 (com.DVint.SOUP)
    2022/08/18 00:51:00.012 20498 20498 Error DEBUG failed to read /proc/uptime: Permission denied
    2022/08/18 00:51:00.767 20498 20498 Fatal DEBUG *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG Build fingerprint: 'Nokia/DrakeLite_02US/DKT:12/SP1A.210812.016/02US_1_030:user/release-keys'
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG Revision: '0'
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG ABI: 'arm64'
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG Timestamp: 2022-08-18 00:51:00.011495786-0400
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG Process uptime: 0s
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG Cmdline: com.DVint.SOUP
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG pid: 20363, tid: 20433, name: UnityMain >>> com.DVint.SOUP <<<
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG uid: 10176
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception java.lang.NoSuchMethodError: No interface method getPackStates(Ljava/util/List;)Lcom/google/android/play/core/tasks/Task; in class Lcom/google/android/play/core/assetpacks/AssetPackManager; or its super classes (declaration of 'com.google.android.play.core.assetpacks.AssetPackManager' appears in /data/app/~~valcndWBAYxhe0dD2ADigg==/com.DVint.SOUP-EJpTE9oo77lZby0G8Of94g==/base.apk)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at void com.unity3d.player.a.a(java.lang.String[], com.unity3d.player.IAssetPackManagerStatusQueryCallback) ((null):-1)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at void com.unity3d.player.PlayAssetDeliveryUnityWrapper.getAssetPackStates(java.lang.String[], com.unity3d.player.IAssetPackManagerStatusQueryCallback) ((null):-1)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at void com.unity3d.player.PlayAssetDeliveryUnityWrapper.getAssetPackState(java.lang.String, com.unity3d.player.IAssetPackManagerStatusQueryCallback) ((null):-1)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at boolean android.os.Looper.loopOnce(android.os.Looper, long, int) (Looper.java:209)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at void android.os.Looper.loop() (Looper.java:296)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG in call to NewStringUTF
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG from boolean com.unity3d.player.UnityPlayer.nativeRender()'
    2022/08/18 00:51:00.768 20498 20498 Fatal DEBUG x0 0000000000000000 x1 0000000000004fd1 x2 0000000000000006 x3 0000007c407a6f20
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x4 5151441f43445342 x5 5151441f43445342 x6 5151441f43445342 x7 7f7f7f7f7f7f7f7f
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x8 00000000000000f0 x9 0000007f753090b0 x10 ffffff00fffffbdf x11 0000000000000001
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x12 0000fffffffff3ff x13 00000000000006f3 x14 0000007c407a5d40 x15 000000004cec4ec5
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x16 0000007f753a9050 x17 0000007f75385600 x18 0000007c2f738000 x19 00000000000000ac
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x20 0000000000004f8b x21 00000000000000b2 x22 0000000000004fd1 x23 00000000ffffffff
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x24 0000007caf258fc8 x25 0000007c407a7148 x26 0000007cca87f14c x27 0000007cc7e17000
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG x28 0000007cc7e18000 x29 0000007c407a6fa0
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG lr 0000007f75336dfc sp 0000007c407a6f00 pc 0000007f75336e2c pst 0000000000000000
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG backtrace:
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG #00 pc 000000000004fe2c /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 3b922979163bf817f3b6d834e007e66c)
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG #01 pc 000000000062689c /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+704) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG #02 pc 000000000001595c /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76) (BuildId: 225cc3496ad7ce1867ed9bd3357de134)
    2022/08/18 00:51:00.769 20498 20498 Fatal DEBUG #03 pc 0000000000014f8c /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+364) (BuildId: 225cc3496ad7ce1867ed9bd3357de134)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #04 pc 00000000004501fc /apex/com.android.art/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+2516) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #05 pc 0000000000450274 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+108) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #06 pc 00000000004424bc /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+140) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #07 pc 0000000000440cc0 /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+3180) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #08 pc 000000000043f870 /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+644) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #09 pc 000000000042814c /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJNI::FindClass(_JNIEnv*, char const*) (.llvm.11195161549560735479)+656) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #10 pc 0000000000478f3c /data/app/~~valcndWBAYxhe0dD2ADigg==/com.DVint.SOUP-EJpTE9oo77lZby0G8Of94g==/lib/arm64/libunity.so (NativeRuntimeException::CatchAndRethrow()+96) (BuildId: 7e03507b08e50eb4f19d75df3ccc3b697d44ab13)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #11 pc 00000000004c753c /data/app/~~valcndWBAYxhe0dD2ADigg==/com.DVint.SOUP-EJpTE9oo77lZby0G8Of94g==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+52) (BuildId: 7e03507b08e50eb4f19d75df3ccc3b697d44ab13)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #12 pc 0000000000222244 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #13 pc 0000000000218964 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #14 pc 0000000000284208 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+188) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #15 pc 00000000003e34ac /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+400) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #16 pc 00000000003de320 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+804) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.770 20498 20498 Fatal DEBUG #17 pc 0000000000756084 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1036) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #18 pc 0000000000203914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #19 pc 000000000031f8cc [anon:dalvik-classes.dex extracted in memory from /data/app/~~valcndWBAYxhe0dD2ADigg==/com.DVint.SOUP-EJpTE9oo77lZby0G8Of94g==/base.apk] (com.unity3d.player.UnityPlayer.access$300+0)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #20 pc 0000000000758274 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2152) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #21 pc 0000000000203994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #22 pc 000000000031f256 [anon:dalvik-classes.dex extracted in memory from /data/app/~~valcndWBAYxhe0dD2ADigg==/com.DVint.SOUP-EJpTE9oo77lZby0G8Of94g==/base.apk] (com.unity3d.player.UnityPlayer$e$1.handleMessage+190)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #23 pc 00000000003d6150 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+304) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #24 pc 00000000003dd890 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+204) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #25 pc 00000000003de2fc /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+768) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #26 pc 0000000000752fc4 /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1568) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #27 pc 0000000000203a14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #28 pc 0000000000424f70 /system/framework/framework.jar (android.os.Handler.dispatchMessage+24)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #29 pc 000000000074d3e4 /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+3036) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #30 pc 0000000000203814 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #31 pc 000000000044ea22 /system/framework/framework.jar (android.os.Looper.loopOnce+510)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #32 pc 0000000000758274 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2152) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #33 pc 0000000000203994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.771 20498 20498 Fatal DEBUG #34 pc 000000000044f064 /system/framework/framework.jar (android.os.Looper.loop+152)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #35 pc 00000000003d6150 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+304) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #36 pc 000000000073b6b8 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #37 pc 0000000000222378 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #38 pc 0000000000211608 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #39 pc 000000000031f650 [anon:dalvik-classes.dex extracted in memory from /data/app/~~valcndWBAYxhe0dD2ADigg==/com.DVint.SOUP-EJpTE9oo77lZby0G8Of94g==/base.apk] (com.unity3d.player.UnityPlayer$e.run+40)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #40 pc 0000000000218964 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #41 pc 0000000000284208 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+188) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #42 pc 000000000061fb98 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #43 pc 000000000066e75c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1184) (BuildId: 94976c5316ac3f54a618411251c59f9f)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #44 pc 00000000000b3338 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: 3b922979163bf817f3b6d834e007e66c)
    2022/08/18 00:51:00.772 20498 20498 Fatal DEBUG #45 pc 00000000000516c8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 3b922979163bf817f3b6d834e007e66c)
     
    Qbit86 likes this.
  2. dick

    dick

    Joined:
    Sep 6, 2014
    Posts:
    91
    FOUND SOLUTION... sorta

    When Using Unity 2021.3.8f1, and using the latest Play Asset Delivery (PAD) (1.8.0 as of now), will result in a crash with a lot of devices. I found, the answer was to downgrade to 1.7.0 because of old implementation. Here's what i'm referring to..
     

    Attached Files:

  3. nayakshasvat

    nayakshasvat

    Joined:
    Jan 25, 2018
    Posts:
    2
    How to downgrade PAD ?
    Its not visible in package manager
    My unity version is 2022.3.10f1
     
  4. Gitenax

    Gitenax

    Joined:
    Dec 8, 2019
    Posts:
    5