googleads / googleads-mobile-unity

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

Admob 7.3.0 crashes after loading or before watching ads #2454

Closed henry-dreamo closed 1 year ago

henry-dreamo commented 1 year ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

When receiving a callback that an interstitial or reward ad has been loaded, or when attempting an exposure, the following crash message is received.

image

This problem has been going on for more than 5 months, I would like to know if it is a memory issue, is it related to the garbage collector, or is it due to some other reason?

NVentimiglia commented 1 year ago

Hi @henry-dreamo

Can you provide any more details? Specifically something which tracks back to Admob?

I did a quick audit of our Android code where Dictionary is used. I found a number of places where we create and populate a dictionary, but found no calls to Remove().

henry-dreamo commented 1 year ago

Hi @NVentimiglia

The last log before the crash was related to AdMob. Since I couldn't see the Android native code, I thought Admob was the most likely option. If Admob can't find the corresponding call stack, it's a different issue. I'll close the issue. thank you.