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. Dismiss Notice

Ads not initialized in Xiaomi Redmi Go

Discussion in 'Unity Ads & User Acquisition' started by DeuS, May 13, 2021.

  1. DeuS

    DeuS

    Joined:
    Feb 8, 2013
    Posts:
    24
    "Device Model": "Xiaomi Redmi Go"
    "Operating System": "Android OS 8.1.0 / API-27"
    "Unity Version": "2020.2.5f1"
    Ads version 3.7.1.
    Using test mode.
    Advertisement.isSupported is true.
    Advertisement.isInitialized is always false. We can wait indefinitely and no initialization occurs.
    Only in this device, other devices like Xiaomi Redmi 7, or any Samsung works.
     
  2. himynameisnicks

    himynameisnicks

    Unity Technologies

    Joined:
    Apr 12, 2018
    Posts:
    11
    Hi DeuS! Would you mind sending us in a Support ticket with a bit more details? Specifically, are you using isReady()? Secondly, what type of ad are you calling for? Please include a device log if you have one, as there should be helpful information here. We look forward to hearing from you!
     
  3. DeuS

    DeuS

    Joined:
    Feb 8, 2013
    Posts:
    24
    All Ad types Playable, Video.
    I created a ticket = 1045821.
    Code to wait initialization:
    Code (CSharp):
    1. if (!Advertisement.isInitialized)
    2. {
    3.     await UniTask.WhenAny(UniTask.WaitUntil(() => Advertisement.isInitialized || Advertisement.IsReady()),
    4.         UniTask.Delay(TimeSpan.FromSeconds(4.0f), true));
    5. }