Search Unity

Bug OnUnityAdsShowComplete call multiple times

Discussion in 'Unity Ads & User Acquisition' started by helloroy, Feb 21, 2022.

  1. helloroy

    helloroy

    Joined:
    Jun 23, 2016
    Posts:
    42
    Hi,

    I using Advertisement 4.0.0 and follow the official guide https://docs.unity.com/ads/InitializingTheUnitySDK.html, and I just add Debug.Log() to OnUnityAdsShowComplete for testing.

    When scene first load it's fine, but when I load the same scene, the OnUnityAdsShowComplete will call twice,
    if load scene again, OnUnityAdsShowComplete will call 3 times as so on.

    But this issue seems only happen on Editor, every thing is fine when I test it on mobile.
     
  2. LIU_Hanyang96

    LIU_Hanyang96

    Unity Technologies

    Joined:
    Jul 12, 2021
    Posts:
    113
    Hi,

    Our development team already knows this issue. It only happens in the Editor. It will normally work on the real device. Our development team is fixing this issue now, and it should be fixed in the next version.
     
    TwentyOneGamesStudio likes this.
  3. LifeHacker008

    LifeHacker008

    Joined:
    Mar 30, 2020
    Posts:
    1
    Hi, The issue is still there.
     
  4. TrainerFOX

    TrainerFOX

    Joined:
    Jul 9, 2017
    Posts:
    1
    Hello,

    Facing this issue here also.

    Any update on a fix?
     
  5. Yasuyuki

    Yasuyuki

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    153
  6. skipculture

    skipculture

    Joined:
    Apr 9, 2023
    Posts:
    8
    This issue still exists in Advertisement package v4.4.2.

    OnUnityAdsShowComplete gets called with incremental duplicates, every time it's called.

    Using Unity editor version 2021.3.24f1.
     
    Verenvast likes this.
  7. Emreekurtt

    Emreekurtt

    Joined:
    Mar 21, 2022
    Posts:
    2
    Same with version 2020.3.37f1
     
  8. popok1

    popok1

    Joined:
    Mar 25, 2020
    Posts:
    1
    This issue still exists in Advertisement package v4.4, with verson 2021.3.33f1