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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    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:
    324
    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:
    142
    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:
    324
    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.