Search Unity

IUnityAdsListener is not thread-safe? (fixed in 3.3.0)

Discussion in 'Unity Ads & User Acquisition' started by rusildo, Oct 3, 2019.

  1. rusildo

    rusildo

    Joined:
    Oct 10, 2014
    Posts:
    18
    IUnityAdsListener callbacks called outside the main thread. Why?

    Unity 2018.4.10f1
    Advertisement 3.2.0

    UPD
    3.3.0
    - Fixed an issue where callbacks would not be executed on the main thread
     
    Last edited: Oct 9, 2019
    real_mikhail likes this.
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Rusildo

    Are you having an issue with IUnityAdsListener in 3.3.0?
     
  3. SoloOutlaw

    SoloOutlaw

    Joined:
    Feb 29, 2016
    Posts:
    15
    Hi

    I am currently using 3.3.0 but when I unload a scene and reload one of my objects are classed as destroyed.

    But checking for NULL throughout it is false until it gets to the AddListener OnAD Finished Routine where it throws out a

    missing reference error. Is this a bug?
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @SoloOutlaw

    Yes, this sounds similar to a bug we found with AddListener. We hope to have this fix available very soon.