Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Problem on release version

Discussion in 'Unity Ads & User Acquisition' started by alexandernfdv, Sep 21, 2023.

  1. alexandernfdv

    alexandernfdv

    Joined:
    Apr 8, 2023
    Posts:
    2
    Release version of my app crashes when call
    UnityAds.initialize(context, unityGameID, testMode, this)
    on Android 4.4, on 7 and above work well. Debug version work on 4.4. Unity ads 4.7.1
    FATAL EXCEPTION: main
    Process: com.my.app, PID: 1872
    java.lang.VerifyError: kotlin/UByte$$ExternalSyntheticBackport0
    at kotlinx.coroutines.JobSupport.invokeOnCompletion(JobSupport.kt:464)
    at kotlinx.coroutines.Job$DefaultImpls.invokeOnCompletion$default(Job.kt:341)
    at kotlinx.coroutines.JobSupport.attachChild(JobSupport.kt:970)
    at kotlinx.coroutines.JobSupport.initParentJob(JobSupport.kt:150)
    at kotlinx.coroutines.AbstractCoroutine.<init>(AbstractCoroutine.kt:51)
    at kotlinx.coroutines.StandaloneCoroutine.<init>(Builders.common.kt:194)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:55)
    at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
    at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
    at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
    at com.unity3d.services.UnityAdsSDK.initialize(UnityAdsSDK.kt:22)
    at com.unity3d.services.UnityServices.initialize(UnityServices.kt:172)
    at com.unity3d.services.ads.UnityAdsImplementation.initialize(UnityAdsImplementation.java:62)
    at com.unity3d.ads.UnityAds.initialize(UnityAds.java:160)
    at com.alexandernfdv.fitra.UnityClient.startShowAds(UnityClient.java:60)
    at com.alexandernfdv.fitra.MainActivity.onStart(MainActivity.java:491)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
    at android.app.Activity.performStart(Activity.java:5241)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2168)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    at android.app.ActivityThread.access$800(ActivityThread.java:135)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5017)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    at dalvik.system.NativeStart.main(Native Method)