Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

UnityAds Crash when my project have google ar in some device

Discussion in 'Unity Ads' started by blessing512, Oct 12, 2019 at 3:10 AM.

  1. blessing512

    blessing512

    Joined:
    Oct 29, 2018
    Posts:
    4
    when my project have google ar,the UnityAds will crash on init in some device.if i remove google ar ,it work fine.but not all device happen.just some device.The same model of two mobile phones, one will appear and one will not appear.It is very Very strange。Crash Happen by our users,mine is not crash


    #00 pc 0004bb74 /system/lib/libc.so (tgkill+12) [armeabi-v7a]
    2 #01 pc 0001aa13 /system/lib/libc.so (abort+54) [armeabi-v7a]
    3 #02 pc 00f083e7 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    4 #03 pc 00f083a9 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    5 #04 pc 00f07d35 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    6 #05 pc 00f08549 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    7 #06 pc 000fd65b /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    8 #07 pc 000b98e1 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    9 #08 pc 000b306b /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    10 #09 pc 000b404f /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    11 #10 pc 000ac019 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so [armeabi-v7a]
    12 #11 pc 000ab5a1 /data/app/com.google.ar.core-_DIyuEqNopo7YPRn2eFVzA==/lib/arm/libarcore_c.so (ArSession_createImplementation+20) [armeabi-v7a]
    13 #12 pc 00002cb7 /data/app/com.noname.xiyou-zmrH50WUdIWO5V2whjn-1A==/lib/arm/libarcore_sdk_c.so (ArSession_create+66) [armeabi-v7a]
    14 #13 pc 00008d11 /data/app/com.noname.xiyou-zmrH50WUdIWO5V2whjn-1A==/lib/arm/libarcore_sdk_jni.so (Java_com_google_ar_core_Session_nativeCreateSession+16) [armeabi-v7a]
    15 #14 pc 00041729 /data/app/com.noname.xiyou-zmrH50WUdIWO5V2whjn-1A==/oat/arm/base.odex (oatexec+116521) [armeabi]
    16 java:
    17 com.google.ar.core.Session.nativeCreateSession(Native Method)
    18 com.google.ar.core.Session.<init>(Session.java:7)
    19 com.unity3d.services.ar.ARUtils.isSupported(ARUtils.java:53)
    20 com.unity3d.services.ar.configuration.ARModuleConfiguration.initModuleState(ARModuleConfiguration.java:32)
    21 com.unity3d.services.core.configuration.InitializeThread$InitializeStateInitModules.execute(InitializeThread.java:170)
    22 com.unity3d.services.core.configuration.InitializeThread.run(InitializeThread.java:35)
    23 java pending exception:
    24 [Native crash above happened with a java pending exception as following]
    25 java.lang.IllegalArgumentException: Invalid host or port: 443
    26 dpx.<init>(PG:2)
    27 dpx.a(PG:1)
    28 com.google.ar.persistence.AnchorServiceClientFactory.create(PG:8)
    29 com.google.ar.core.Session.nativeCreateSession(Native Method)
    30 com.google.ar.core.Session.<init>(Session.java:7)
    31 com.unity3d.services.ar.ARUtils.isSupported(ARUtils.java:53)
    32 com.unity3d.services.ar.configuration.ARModuleConfiguration.initModuleState(ARModuleConfiguration.java:32)
    33 com.unity3d.services.core.configuration.InitializeThread$InitializeStateInitModules.execute(InitializeThread.java:170)
    34 com.unity3d.services.core.configuration.InitializeThread.run(InitializeThread.java:35)




    more logs:


    10-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: Post-install failed
    10610-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: java.lang.IllegalArgumentException: Unknown URI content://com.google.ar.core.services.arcorecontentprovider
    10710-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at android.content.ContentResolver.call(ContentResolver.java:1711)
    10810-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.google.ar.core.aj.b(SetupContentResolver.java:12)
    10910-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.google.ar.core.aj.a(SetupContentResolver.java:1)
    11010-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.google.ar.core.h.checkAvailability(ArCoreApkImpl.java:7)
    11110-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.unity3d.services.ar.ARUtils.isSupported(ARUtils.java:40)
    11210-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.unity3d.services.ar.configuration.ARModuleConfiguration.initModuleState(ARModuleConfiguration.java:32)
    11310-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.unity3d.services.core.configuration.InitializeThread$InitializeStateInitModules.execute(InitializeThread.java:170)
    11410-11 10:30:50.608 10675 10874 I ARCore-SetupContentResolver: at com.unity3d.services.core.configuration.InitializeThread.run(InitializeThread.java:35)
    11510-11 10:30:50.612 10675 10874 I third_party/arcore/ar/core/android/sdk/session_create.cc: Entering ArSession_create
    11610-11 10:30:50.615 10675 10874 I third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: APK version code: 190826106
    11710-11 10:30:50.616 10675 10874 I third_party/arcore/ar/core/android/sdk/session_create.cc: ARCore Version: SDK build name: 1.7
    11810-11 10:30:50.635 10675 10874 I zygote : no shared libraies, dex_files: 1
    11910-11 10:30:50.671 10675 10874 I native : version_check.cc:23 ARCore Version: APK version:1.12.190826106
    12010-11 10:30:50.672 10675 10874 I native : version_check.cc:24 ARCore Version: emulated SDK version:1.7.190120000
    12110-11 10:30:50.672 10675 10874 I third_party/arcore/ar/core/android/sdk/session_create.cc: Dynamite load ok.
    12210-11 10:30:50.672 10675 10874 I third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc: Attempting to load native library arcore_c from package com.google.ar.core
    12310-11 10:30:50.730 10675 10874 I OpenCV : cpufeatures library is not avaialble for CPU detection
    12410-11 10:30:50.730 10675 10874 I OpenCV : - NEON instructions is enabled via build flags
    12510-11 10:30:50.730 10675 10874 I OpenCV : - FP16 instructions is enabled via build flags
    12610-11 10:30:50.760 10675 10874 I third_party/arcore/java/com/google/vr/dynamite/client/native/dynamite_client.cc: Dynamite::LoadNativeRemoteLibrary handle=-1744600631
    12710-11 10:30:50.762 10675 10874 I native : session_create_implementation.cc:65 Entering createImplementationWithFeaturesAndSettings. ARCore SDK version: [1.7.190120000].
    12810-11 10:30:50.766 10675 10874 E ActivityThread: Failed to find provider info for com.google.ar.core.services.arcorecontentprovider
    12910-11 10:30:50.769 10675 10874 E ActivityThread: Failed to find provider info for com.google.ar.core.services.arcorecontentprovider
    13010-11 10:30:50.769 10675 10874 W native : session_create_implementation_shared.cc:1053 Unexpected error reading Phenotype flags.
     
  2. blessing512

    blessing512

    Joined:
    Oct 29, 2018
    Posts:
    4
    maybe it is google ar bug。
     
  3. blessing512

    blessing512

    Joined:
    Oct 29, 2018
    Posts:
    4
    it is arcore version problem.the device is sansum,and the users use google play store arcore,so his device also crash
     
  4. blessing512

    blessing512

    Joined:
    Oct 29, 2018
    Posts:
    4
    can i disable ar function init.because some users maybe understand this problem.