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
  3. Dismiss Notice

Unity Ads Android Game Crash On Advertisement.Initialize

Discussion in 'Unity Ads & User Acquisition' started by Mamoon178, Aug 26, 2021.

  1. Mamoon178

    Mamoon178

    Joined:
    Jul 26, 2017
    Posts:
    36
    Hi!
    I am using unity 2020.3.14 and unity advertisement version 3.7.5. when i initialize unity ads my game is crash. for test i create new project and only add unity advertisement plugin and test it. result same my game is crash on start.
     
    tfkukbwp likes this.
  2. dsb7

    dsb7

    Joined:
    Jan 19, 2018
    Posts:
    7
    I am seeing this as well. Anybody else seeing it? Can somebody from Unity please comment on this?

    Summary: Create a new project in 2020.3.17. Import Unity Advertisement package 3.7.5. Add a script to initialize the Ads. Build for Android. Run on Android. App quits (crashes) on Initialize().

    TL;DR;
    Also tried this with 2020.3.17 and Ads package 3.5.0, 3.7.2, 3.7.1. All have the same result - crash.
    Also tried with 2020.3.16. Same result: crash.
    Tried with 2019.4.29. It works.

    Help!

    Seems crazy to me that a problem this big slipped through and there isn't more chatter on the boards about it. That tells me that maybe it is something specific to my setup...

    Theories on what might be going on:
    1. 2020.3.16/17 has a bug. Now installing 2020.3.11 to test.
    2. My App id and placements were created a while ago, before the Unity changeover to Ad Units. They are currently working in my released version of the app based on 2019.4.x. Maybe they are they issue causing Initialize to crash. Will try to create new ones if Step 1. keeps producing crashes.
    3. Mysterio is using EDITH to mess with me
     
  3. dsb7

    dsb7

    Joined:
    Jan 19, 2018
    Posts:
    7
    Found the problem after seeing this thread:

    Crash when migrating from 2019.3.3f1 to 2020.1.4f1 due to UnityAdsSettings_Get_Custom_PropTestMode() - Unity Forum

    In summary:
    If your local Unity Project isn't linked to a "Unity Project" created on the Unity website dashboard which has Ads enabled, the Unity Ads package will crash when Initialize() is called on either the IOS or Android platforms. It did not crash when run in the Editor.

    The Unity Ads project linking did not carry over when the project upgraded from 2019 to 2020. That's why my original project crashed.

    When I created my test projects, I didn't link them to a project on the website. That's why they crashed in 2020. Apparently 2019 is more forgiving about not linking.

    To Unity Support: It would be nice if this behavior was fixed and a warning was issued to the logs if the project isn't linked up (instead of crashing).
     
    partimejobnaveed and ATate like this.
  4. LIU_Hanyang96

    LIU_Hanyang96

    Unity Technologies

    Joined:
    Jul 12, 2021
    Posts:
    113
    Hi,

    I am sorry that you meet such a problem. May you provide us your full device logs or your app links? If you would like better support, you can create a support ticket through unityads-support@unity3d.com.
     
  5. Mamoon178

    Mamoon178

    Joined:
    Jul 26, 2017
    Posts:
    36
    I found solution. If I use unity ads through id and not link in services then my game is crash. I link through service window and enable ads in service window app working fine
     
  6. MySchoolLife

    MySchoolLife

    Joined:
    Dec 21, 2013
    Posts:
    4
    Unity Version : unity 2020.3.20, 2021.1.25f1
    Uniy ADS : 3.7.5

    When i initialize unity ads ,Crash always occurs.

    This is logcat log.

    0001-01-01 00:00:00.000 -1 -1 Info --------- beginning of main
    2021-10-17 04:14:50.536 1297 1297 Error Zygote isWhitelistProcess - Process is Whitelisted
    2021-10-17 04:14:50.544 1297 1297 Error Zygote accessInfo : 1
    2021-10-17 04:14:50.551 1297 1297 Info vy.fleet.comba Late-enabling -Xcheck:jni
    2021-10-17 04:14:51.004 1297 1371 Debug vndksupport Loading /vendor/lib64/egl/libGLES_mali.so from current namespace instead of sphal namespace.
    2021-10-17 04:14:51.074 1297 1371 Debug libEGL loaded /vendor/lib64/egl/libGLES_mali.so
    2021-10-17 04:14:51.104 1297 1297 Info IL2CPP JNI_OnLoad
    2021-10-17 04:14:51.109 1297 1297 Debug OpenGLRenderer Skia GL Pipeline
    2021-10-17 04:14:51.125 1297 1297 Info DecorView createDecorCaptionView >> DecorView@639a8e4[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
    2021-10-17 04:14:51.159 1297 1297 Debug EmergencyMode [EmergencyManager] android createPackageContext successful
    2021-10-17 04:14:51.173 1297 1297 Debug InputTransport Input channel constructed: fd=56
    2021-10-17 04:14:51.175 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] setView = DecorView@639a8e4[UnityPlayerActivity] TM=true MM=false
    2021-10-17 04:14:51.181 1297 1297 Verbose InputMethodManager Not IME target window, ignoring
    2021-10-17 04:14:51.182 1297 1297 Debug SurfaceView onWindowVisibilityChanged(0) true android.view.SurfaceView{2c39b6f VFE...... .F....I. 0,0-0,0 #7f05005a app:id/unitySurfaceView} of ViewRootImpl@889de4e[UnityPlayerActivity]
    2021-10-17 04:14:51.182 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] dispatchAttachedToWindow
    2021-10-17 04:14:51.209 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] Relayout returned: old=[0,0][2960,1440] new=[0,0][2220,1080] result=0x7 surface={valid=true 500380688384} changed=true
    2021-10-17 04:14:51.218 1297 1297 Debug SurfaceView show() Surface(name=SurfaceView - kr.co.myschoollife.testapp/com.unity3d.player.UnityPlayerActivity@2c39b6f@0[1297])/@0xd7f307c android.view.SurfaceView{2c39b6f VFE...... .F....ID 0,0-2058,1080 #7f05005a app:id/unitySurfaceView}
    2021-10-17 04:14:51.223 1297 1297 Debug SurfaceView surfaceCreated 1 #8 android.view.SurfaceView{2c39b6f VFE...... .F....ID 0,0-2058,1080 #7f05005a app:id/unitySurfaceView}
    2021-10-17 04:14:51.224 1297 1297 Debug SurfaceView surfaceChanged (2058,1080) 1 #8 android.view.SurfaceView{2c39b6f VFE...... .F....ID 0,0-2058,1080 #7f05005a app:id/unitySurfaceView}
    2021-10-17 04:14:51.234 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] Relayout returned: old=[0,0][2220,1080] new=[0,0][2220,1080] result=0x3 surface={valid=true 500380688384} changed=false
    2021-10-17 04:14:51.247 1297 1297 Debug vndksupport Loading /vendor/lib64/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
    2021-10-17 04:14:51.266 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] MSG_RESIZED_REPORT: frame=Rect(0, 0 - 2220, 1080) ci=Rect(162, 0 - 0, 0) vi=Rect(162, 81 - 0, 0) or=2
    2021-10-17 04:14:51.266 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] MSG_WINDOW_FOCUS_CHANGED 1 1
    2021-10-17 04:14:51.269 1297 1297 Debug InputMethodManager prepareNavigationBarInfo() DecorView@639a8e4[UnityPlayerActivity]
    2021-10-17 04:14:51.269 1297 1297 Debug InputMethodManager getNavigationBarColor() -855310
    2021-10-17 04:14:51.295 1297 1297 Debug InputMethodManager prepareNavigationBarInfo() DecorView@639a8e4[UnityPlayerActivity]
    2021-10-17 04:14:51.295 1297 1297 Debug InputMethodManager getNavigationBarColor() -855310
    2021-10-17 04:14:51.295 1297 1297 Verbose InputMethodManager Starting input: tba=kr.co.myschoollife.testapp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
    2021-10-17 04:14:51.296 1297 1297 Debug InputMethodManager startInputInner - Id : 0
    2021-10-17 04:14:51.296 1297 1297 Info InputMethodManager startInputInner - mService.startInputOrWindowGainedFocus
    2021-10-17 04:14:51.310 1297 1392 Info Unity MemoryManager: Using 'Dynamic Heap' Allocator.
    2021-10-17 04:14:51.321 1297 1324 Debug InputTransport Input channel constructed: fd=63
    2021-10-17 04:14:51.324 1297 1392 Warn vy.fleet.comba Accessing hidden method Ljava/lang/invoke/MethodHandles$Lookup;-><init>(Ljava/lang/Class;I)V (light greylist, reflection)
    2021-10-17 04:14:51.328 1297 1297 Debug ViewRootImpl@889de4e[UnityPlayerActivity] MSG_RESIZED_REPORT: frame=Rect(0, 0 - 2220, 1080) ci=Rect(162, 0 - 0, 0) vi=Rect(162, 0 - 0, 0) or=2
    2021-10-17 04:14:51.329 1297 1297 Debug InputMethodManager prepareNavigationBarInfo() DecorView@639a8e4[UnityPlayerActivity]
    2021-10-17 04:14:51.329 1297 1297 Debug InputMethodManager getNavigationBarColor() -855310
    2021-10-17 04:14:51.329 1297 1297 Verbose InputMethodManager Starting input: tba=kr.co.myschoollife.testapp ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
     
  7. MySchoolLife

    MySchoolLife

    Joined:
    Dec 21, 2013
    Posts:
    4
    2021-10-17 04:14:51.329 1297 1297 Debug InputMethodManager startInputInner - Id : 0
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.386 1297 1392 Info vy.fleet.comba
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.398 1297 1392 Info vy.fleet.comba
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk"],nativeLibraryDirectories=[/data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/lib/arm64, /data/app/kr.co.myschoollife.testapp-hddsEVrpIhNgleKh8cGOmw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void android.os.Looper.loop() (Looper.java:214)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
    2021-10-17 04:14:51.401 1297 1392 Info vy.fleet.comba
     
  8. stardustsolutionpkemployee

    stardustsolutionpkemployee

    Joined:
    Nov 17, 2021
    Posts:
    1
    I found solution. Use advertisement 3.0.1 Version..
     
  9. ArnoldRauers_Tinytouchtales

    ArnoldRauers_Tinytouchtales

    Joined:
    Jan 25, 2015
    Posts:
    33
    This Bug was driving me crazy for days in Unity 2021.1.5f1 and Ads 3.7.5, here's what fixed it for me:

    Project Settings -> Services -> Link your project first if you haven't.
    Project Settings -> Services -> Ads -> Install latest package 4.0.1 for me here.

    Warning: You can't update this package through the regular package manage for some reason.
     
    Deleted User and shaysw like this.
  10. Aatifahmad

    Aatifahmad

    Joined:
    Mar 8, 2018
    Posts:
    3
    check app id in google ad sitting, if the app id belonged to an app that does not exist in the AdMob anymore, App will crash at initializing ads.
     
    mgamestudios29722 likes this.
  11. partimejobnaveed

    partimejobnaveed

    Joined:
    Nov 30, 2020
    Posts:
    5
    This is damn awesome. Thank you so so much dude :)
     
  12. igor_rst

    igor_rst

    Joined:
    Apr 20, 2017
    Posts:
    40
    I've the same issue. My old project works, but new crashes.
     
  13. Zubairworking

    Zubairworking

    Joined:
    Feb 8, 2022
    Posts:
    2
    Hi Hope you all are good
    is there any Possibility to run unity ads on mobile without active the services ads Panel in the unity
    If anyone knows please share his/her Knowledge Please
     
  14. Deleted User

    Deleted User

    Guest

    Yo man, it didn't worked for me.
     
  15. tfkukbwp

    tfkukbwp

    Joined:
    Nov 3, 2021
    Posts:
    1
    same here mamoon im using unity version 2020.3.32f1 in unity its working fine when testing it on a device it wont start it keep crashing it i even tried it in a simple project but same result i made unity ads by watching cococode vedio
     
  16. mgamestudios29722

    mgamestudios29722

    Joined:
    Sep 19, 2022
    Posts:
    1

    Hello Do you mean that if my Admob app id is not currect then it crash with the initializing UnityAds ...?
     
  17. flintcheeze

    flintcheeze

    Joined:
    Sep 10, 2015
    Posts:
    81
    I am presently facing that crash
     
  18. Unity-Boon

    Unity-Boon

    Unity Technologies

    Joined:
    Jan 18, 2017
    Posts:
    135
    Have you linked your project in the editor and updated it to the latest Unity ADs SDK? Please send your error logs to unityads-support@unity3d.com and the support team will do some investigation
     
  19. heltonluizsb

    heltonluizsb

    Joined:
    Dec 20, 2018
    Posts:
    23
    Hi!

    Im using GoogleMobileAds-v8.7.0 at Unity 2022.3.19f1.
    I fill the ID field in Assets -> Google Mobile Ads -> Settings (checked if has space)
    Project Settings -> Services -> Unity Project ID is configured too

    OH! Just in case... Last week it works a couple times, but now it doesnt work...

    I don't know what can I do anymore...
     
    Last edited: Feb 8, 2024
  20. BracketWars

    BracketWars

    Joined:
    Jun 30, 2018
    Posts:
    2
    for me it happens only on some devices like Vivo and Oppo