question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GoogleMobileAds.Ump.Api.FormError

See original GitHub issue

[REQUIRED] Step 1: Describe your environment

  • Unity version: 2021.3.27f1
  • Google Mobile Ads Unity plugin version: 8.0.0
  • Platform: Android
  • Platform OS version: Android 10
  • Any specific devices issue occurs on: _____
  • Mediation ad networks used, and their versions: Applovin, Meta

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

When implementing UMP, the following error is thrown: GoogleMobileAds.Ump.Api.FormError

It seems AdMob is logging this error internally, so I can’t get more details on this. Here is the logcat that AdMob logs:

2023.06.20 14:16:26.504 25099 25099 Error Unity GoogleMobileAds.Ump.Api.FormError
2023.06.20 14:16:26.504 25099 25099 Error Unity  #0 0x7a15f52d04 (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #1 0x7a16303530 (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #2 0x7a15c309a4 (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #3 0x7a15c30894 (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #4 0x7a132060fc (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #5 0x7a1304eee8 (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #6 0x7a1304ed5c (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #7 0x7a1304f298 (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #8 0x7a13097c0c (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #9 0x7a13f35420 (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #10 0x7a1461c400 (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #11 0x7a146209e8 (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #12 0x7a12fb45f8 (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #13 0x7a1304ef6c (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #14 0x7a1304ed5c (libil2cpp.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #15 0x7a15e76208 (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #16 0x7a15e84ffc (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #17 0x7a15c6d6ac (libunity.so) ? 0x0
2023.06.20 14:16:26.504 25099 25099 Error Unity  #18 0x7a37eef410 (base.odex) ? 0x0

Relevant Code:

The implementation is the same as here: https://developers.google.com/admob/unity/privacy

Issue Analytics

  • State:closed
  • Created 3 months ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Nyankoocommented, Jun 21, 2023

@NVentimiglia Sadly no, as the exception appears to be thrown inside of the AdMob SDK. I wrapped all calls in try-catch blocks but nothing is propagated upwards for taking a closer look.

I’m currently waiting on the next AdMob update, which hopefully fixes issues mentioned in other issue threads, so I’m unable to test with version 8.3.0.

0reactions
NVentimigliacommented, Jun 26, 2023
Read more comments on GitHub >

github_iconTop Results From Across the Web

GoogleMobileAds.Ump.Api Namespace | Unity
Parameters sent on updating user consent info. GoogleMobileAds.Ump.Api.FormError. Error information about why a form operation failed.
Read more >
UMP ConsentForm not showing; Unity
to Google Mobile Ads SDK Developers. Hi all,. I've imported the Google Admob SDK in Unity. I'm trying to implement the UMP GDPR...
Read more >
What should be put inside onConsentFormDismissed ...
I have followed the official Android Doucumentation to implement UMP. This is the code I have: public class MainActivity extends ...
Read more >
Unity Google Mobile Ads Version 8 Released
This release supports the Android Google Mobile Ads SDK version 22.0.0 major version release. User Messaging Platform (UMP) support. The Google ...
Read more >
GDPR consent form Admod / Flutter / UMP SDK
​ I am trying to use the GDPR EU consent form / UMP SDK for Admob and Flutter docs. The form is set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found