googleads / googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
https://developers.google.com/admob/unity
Apache License 2.0
1.34k stars 1.09k forks source link

GMA 8.7.0 - RewardedAd Show event - callback not working on device #3125

Closed juaxma closed 5 months ago

juaxma commented 5 months ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

var adUnitId = "ca-app-pub-3940256099942544/5224354917"; // Test RewardedAd ID

public void ShowRewardedAd() 
{
    if (_rewardedAd != null && _rewardedAd.CanShowAd())
    {
        _rewardedAd.Show((Reward reward) =>
        {
            Debug.Log("Reward user");
            OnVideoRewardedFinish?.Invoke(true);
        });
    }
}

The ad appears but the "Show" callback does not fire when the ad is closed. It works as expected on Unity Editor, ad appears and the callback is fired.