[Huge ANRs Spike]

644 views
Skip to first unread message

Muhammad Waqas

unread,
Mar 19, 2024, 8:35:05 PM3/19/24
to Google Mobile Ads SDK Developers
Huge anr spike after update admob unity sdk from 8.2.0 to 8.7.
I post issue on admib unity github they directed me to this group for support.
Please check admob unity github link to check anrs details.

Mobile Ads SDK Forum Advisor

unread,
Mar 19, 2024, 11:17:30 PM3/19/24
to waqasw...@gmail.com, google-adm...@googlegroups.com
Hi,

You can enable optimized SDK initialization and ad loading to improve the overall responsiveness of ads and help prevent "Application Not Responding" (ANR) errors on your app. This guide outlines the changes you need to make to enable these optimizations. Kindly refer to Optimize initialization and ad loading for more information.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02s05Cu:ref" (ADR-00227939)

Thanks,
 
Google Logo Mobile Ads SDK Team


Muhammad Waqas

unread,
Mar 20, 2024, 12:07:57 AM3/20/24
to Google Mobile Ads SDK Developers
I already enabled these two options.

Muhammad Waqas

unread,
Mar 20, 2024, 2:32:14 AM3/20/24
to Google Mobile Ads SDK Developers
ANR details
PlayConsole.jpg
Firebase_ANR_detail.jpg
issue_13a464d1d86ca2213f481fbf301a682b_ANR_session_65F1C74C03B200015BDDB2600D636631_DNE_0_v2_stacktrace.txt
ANR stacktrace.log

Mobile Ads SDK Forum Advisor

unread,
Mar 20, 2024, 6:24:14 AM3/20/24
to waqasw...@gmail.com, google-adm...@googlegroups.com
Hi,

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. 

Muhammad Waqas

unread,
Mar 21, 2024, 10:51:43 AM3/21/24
to Google Mobile Ads SDK Developers
image_2024_03_21T12_45_41_322Z-1.pngimage_2024_03_21T12_46_05_612Z-1.pngimage_2024_03_21T12_53_26_432Z.png

Muhammad Waqas

unread,
Mar 21, 2024, 10:53:43 AM3/21/24
to Google Mobile Ads SDK Developers
Crash reaches upto 9% and google play console issue me a warning about bad behavior. Now who can tell play console team its because of admob. I think i have to shift away from admob.
IMG_20240321_194928.png

Muhammad Waqas

unread,
Mar 21, 2024, 12:11:49 PM3/21/24
to Google Mobile Ads SDK Developers
ANRs*

Mobile Ads SDK Forum Advisor

unread,
Mar 21, 2024, 7:29:14 PM3/21/24
to waqasw...@gmail.com, google-adm...@googlegroups.com
Hello Muhammad,

Thanks for reaching out.

We are currently investigating with the engineering team and will get back to you as soon as there is an update.


Regards,
Joshua

ref:!00D1U01174p.!5004Q02s05Cu:ref

Muhammad Waqas

unread,
Apr 3, 2024, 2:40:43 AM4/3/24
to Google Mobile Ads SDK Developers
Still no solution provided by google team.

ANGELO KELLEY

unread,
Apr 21, 2024, 1:02:26 PM4/21/24
to Google Mobile Ads SDK Developers
Hi all,

We also met the same issue as Muhammad. ANR peaks suddenly from 10th April. It peaks with all the released versions which used to work very well with ANR. 
The rate used to be around 0.4%.  And after the below ANR occurrence rose, it is 0.8% which means bad behavior. 
The anr is com.google.android.gms.policy_ads_fdr_dynamite@240304709 @ 240304704034.602821767.602821767 - m.ajm.bc. And the stacktrace is just the same as Muhammad provied. 

Please look into it very seriously because it broke the online version which is released several weeks ago. 

Thanks 
Treaven

Neon Gaming

unread,
Apr 22, 2024, 2:09:48 AM4/22/24
to Google Mobile Ads SDK Developers
What i can confirm is that it is caused by MobileAds.Initialize(initStatus => { }); . I found it through Crashlytics custom keys.

Crashlytics.SetCustomKey("AdsManager", "Enter_InitializeAds");
MobileAds.SetRequestConfiguration(requestConfiguration);
MobileAds.Initialize((InitializationStatus initStatus) =>
{
    Crashlytics.SetCustomKey("AdsManager", "MobileAds.Initialize_Action");
});

And mentioned ANR, keys log on firebase crashlytics always ends on  Crashlytics.SetCustomKey("AdsManager", "Enter_InitializeAds");
Means this is the last key logged before anr happened at  MobileAds.Initialize.


Message has been deleted

Neon Gaming

unread,
Apr 29, 2024, 2:32:45 AM4/29/24
to Google Mobile Ads SDK Developers
For me GMA 23.0.0 ,  22.6.0 ,  22.5.0 is has this anr. Before that i was using GMA 22.0.0 (GMA Unity 8.2.0) and has no anr
Reply all
Reply to author
Forward
Message has been deleted
0 new messages