Re: Using RewardedAd.Load() in a Unity instant app causes a crash -since last week

475 views
Skip to first unread message
Message has been deleted

ksvslk

unread,
Nov 8, 2024, 11:27:56 AM11/8/24
to Google Mobile Ads SDK Developers
Same crash happening - very huge amout of users. Only instant app - seems to be the wrong context which cannot get the KeyguardManager. Started happening from the second half of October. I guess Google Play Games changed the sandbox the instant app is running on or something and KeyguardManager is always null.
On Monday, November 4, 2024 at 11:05:14 PM UTC+2 Clovser Games wrote:
I have a game that's been running stable but since last week, it started to crash. There was no change from my side.

-It is an instant game in Unity.
-Fatal crash happens every time RewardedAd.Load() is called.
-Tried updating the ads, play games, instant Unity packages to the latest published. Problem persists between my initial setup and the updated sdks & Unity version.

The logcat is as follows:

 FATAL EXCEPTION: main
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.app.KeyguardManager.isDeviceLocked()' on a null object reference
at com.google.android.gms.ads.omid.library.walking.e.run(:com.google.android.gms.policy_ads_fdr_dynamite@243799214@243799204017.685849251.685849251:615)

Mobile Ads SDK Forum Advisor

unread,
Nov 8, 2024, 1:15:17 PM11/8/24
to ind...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support Team.

I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.

This message is in relation to case "ref:!00D1U01174p.!5004Q02vGisd:ref" (ADR-00274862)

Thanks,
 
Google Logo Mobile Ads SDK Team


Mobile Ads SDK Forum Advisor

unread,
May 5, 2025, 5:19:27 AMMay 5
to google-adm...@googlegroups.com, ind...@gmail.com

Hi,

Please note that the issue has been resolved. Kindly check with latest SDK.

Please get back to us, if you need any other assistance.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-05 09:18:26Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vGisd:ref" (ADR-00274862)



Reply all
Reply to author
Forward
0 new messages