Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unity Ads resultCallback and isReady missing on 4.01

Discussion in 'Unity Ads & User Acquisition' started by Xagu, Aug 23, 2022.

  1. Xagu

    Xagu

    Joined:
    Oct 4, 2016
    Posts:
    17
    Hi!

    We are being asked by Google Play to upgrade UnityAds plugin to 4.0.1 at least. Once done, resultCallback and isReady seem to be missing. Has been resultCallback in ShowOptions replaced by any other callback?

    Thanks in advance
     
  2. PeachyPixels

    PeachyPixels

    Joined:
    Feb 17, 2018
    Posts:
    703
    Xagu likes this.
  3. Xagu

    Xagu

    Joined:
    Oct 4, 2016
    Posts:
    17
    Thanks for your reply.

    It seems that we will have to disable Unity Ads for the moment... Too many changes to make in a script already pretty messed up and also we could mess up the functionality of the other ad sdks...

    Thanks!
     
    PeachyPixels likes this.
  4. TobyKaos

    TobyKaos

    Joined:
    Mar 4, 2015
    Posts:
    214
    In a nutshell. With v4.x you must call LoadAd(adunit) before call ShowAd(adUnit). And you must implement listener to get OnLoaded OnShow callback ...
    Take a look at the doc, it is a day of work to migrate from 3.X
     
    Xagu likes this.
  5. Xagu

    Xagu

    Joined:
    Oct 4, 2016
    Posts:
    17
    Thanks TobyKaos.
    Unfortunatelly we have quite strict deadlines and we can not spend on that migration at the moment, mostly because we would have to do exhaustive testing again on all the advertisement system. Will check this again when we have a bit more time.
    Thank you very much for your reply!