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

Question AdState remains "showing" even after completion and closing

Discussion in 'Unity Mediation' started by mrm83, Aug 31, 2022.

  1. mrm83

    mrm83

    Joined:
    Nov 29, 2014
    Posts:
    345
    Is the AdState suppose to reset after closing the ad?

    seems to be stuck in showing after it is shown and remains showing after closing.
     
    StarArcher likes this.
  2. DeclanMcPartlin

    DeclanMcPartlin

    Unity Technologies

    Joined:
    Nov 19, 2020
    Posts:
    146
    Hi @mrm83

    Could you provide us with:
    - Platform you are using (iOS/Android)
    - Unity Editor version
    - Ad type in question
    - Steps to reproduce

    Thanks!
     
  3. mrm83

    mrm83

    Joined:
    Nov 29, 2014
    Posts:
    345
    Android, I am testing in Editor.
    - 2021.3.7f1
    - Reward/Interstitial

    Steps -
    - load ad, log state before loading, correct state
    - log state after loading, correct state
    - show ad, log state after showing, state is showing
    - log state after showing close / complete, state is showing
    - load ad, log state before loading, state invalid, state is still showing

    I was trying to load the ad only if the state is not loading or showing.. i ditched this and just used the auto load feature.
     
    DeclanMcPartlin likes this.