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.08k forks source link

AdBehaviour.ResumeGame() change time scale #3259

Open chef-cengiz opened 2 months ago

chef-cengiz commented 2 months ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

In my game my time scale is 2.5, when I show Interstitial or Rewarded ads the time scale is 0. this is not a problem. However, when these ads are closed, the time scale automatically becomes 1. But I want it to be 2.5. When I listen to the Close events and set it to 2.5, what I want doesn't happen. Afterwards, the ResumeGame in AdBehaviour runs. And time scale set 1. I think we can solve our problem if the timescale parameter is added to GoogleMobileAdsSettings and its default value is 1.

I use VContainer, MessagePipe, UniTask

goggleadsexternal.unitypackage.zip

NVentimiglia commented 2 months ago

I see the problem here. I will let engineering know about this issue. That said, this issue is Unity Editor only and will not affect Android or iOS playtime. b/332595856