Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Crash Issue in Unity Game Possibly Related to Google Mobile Ads SDK

53 views
Skip to first unread message

Stanislav Sidorov

unread,
Mar 14, 2025, 12:38:01 PMMar 14
to Google Mobile Ads SDK Developers

Hello,

Our Unity game is encountering repeated Crash issues on Android devices. The stack trace suggests involvement of JNI calls potentially linked to the Google Mobile Ads SDK integration, specifically around consent handling:

Relevant stack trace snippet:

pid: 0, tid: 28883 >>> games.organizatrion.ourgame <<<
...
#38 com.unity3d.player.ReflectionHelper.-$$Nest$smnativeProxyInvoke
...
#47 com.google.android.gms.internal.consent_sdk.zzr.run
#48 android.os.Handler.dispatchMessage
#49 android.os.Looper.loopOnce

Technical Details:

  • Unity Version: 2022.3.27f1

  • Google Mobile Ads SDK Version: 9.4.0

  • Android Platform: arm64

We suspect the freeze might be associated with consent SDK interactions within Google Mobile Ads.

Has anyone experienced a similar issue? Any insights or recommendations to resolve or mitigate this crash would be highly appreciated.

Thanks!

Mobile Ads SDK Forum Advisor

unread,
Mar 14, 2025, 4:44:22 PMMar 14
to stanyga...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

Please note that It’s always advisable to use the latest version to prevent conflicts, so ensure you’ve integrated the most recent version.
I have run the Google Sample Project with the mentioned version and am unable to replicate the crash. Could you confirm, if you are able to replicate this issue in Google Sample Project
If yes, please send us the below details for further investigation:

  • Steps to reproduce the crash in Google Sample Project.
  • Sample project reproducing the issue. 
  • Screen recording

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to
https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002vH9hmQAC&entry.80707362=00294256

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-03-14 20:43:32Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH9hm:ref" (ADR-00294256)



Stanislav Sidorov

unread,
Mar 15, 2025, 7:53:15 AMMar 15
to Google Mobile Ads SDK Developers
Currently, we haven't managed to reproduce this crash on our internal devices. We're only observing it through crash reports in the Google Play Console, affecting around 14% of users, which has led to a notable increase in negative reviews. Interestingly, the previous public release already had Google Consent integrated but showed a significantly lower crash rate (~3%). We’re unsure why this issue has spiked dramatically with the latest update, as we haven't knowingly modified anything related to the Google Mobile Ads SDK integration.

Stanislav Sidorov

unread,
Mar 19, 2025, 8:13:33 AMMar 19
to Google Mobile Ads SDK Developers

We've identified that the crashes are indeed caused by the Google Mobile Ads Consent Manager. After thorough testing, we confirmed that disabling the Consent Manager entirely resolves the issue. We're currently investigating deeper into why Consent Manager triggers this crash in our latest build.

Any further insights or recommendations on safely implementing Consent Manager without causing this issue would be appreciated.

Thanks!

Mobile Ads SDK Forum Advisor

unread,
Mar 19, 2025, 2:29:38 PMMar 19
to stanyga...@gmail.com, google-adm...@googlegroups.com
Hi 

If you implement the Mobile ads SDK for unity then the issue wouldn't usually occur. As we have stated we ran the Google Sample Project with the mentioned version by enabling and disabling the consent manager and I'm unable to replicate the crash. As requested earlier could you confirm if you are able to replicate this issue in Google Sample Project. If yes, please send us the below details for further investigation:
  • Steps to reproduce the crash in Google Sample Project.
  • Sample project reproducing the issue. 
  • Screen recording
Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-03-19 18:28:38Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH9hm:ref" (ADR-00294256)



Reply all
Reply to author
Forward
0 new messages