-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No such proxy method: GoogleMobileAds.Ump.Android.OnConsentFormDismissedListener.onConsentFormDismissed(null) #2826
Comments
I did not replicate the issue, please double check my steps to make sure I did not miss anything.
|
It happens even with the Sample project, I am on Unity version: 2022.3.5.f1 and use GoogleAds Unity plugin version: 8.4.1. Happens all the time at my end. I made my own plugin now to use the UMP Android and it works fine using my own plugin, the error happens only in Google Ads UMP Unity and only when running on an Android device. in Editor works fine. The steps:
If still unable to produce , I can upload the sample project here. |
It might have been patched with the following commit: |
@majidkh No, I think this issue is separate from the commit linked. I am still unable to replicate this. I switched to Unity 2022 and did a direct from editor install this time. As part of the above changes, I have an updated UMP controller. Please try it out, if this fails, please send me an APK and/or project. |
I'm seeing this error showing on my last google play's build Exception: No such proxy method: GoogleMobileAds.Ump.Android.OnConsentFormDismissedListener.onConsentFormDismissed(null) |
can you please share your plugin? I'm getting a lot of this error on a production build |
This may be caused by a missing android dependency. Please make sure that the external dependency manager is pulling in |
Hi @NVentimiglia thanks for your reply... I've just install Unity 2022.3.7f1 LTS, Google Mobile Ads Unity Plugin v8.5.1 and I've implemented the new form method ConsentForm.LoadAndShowConsentFormIfRequired. The form is displayed, but when I choose the CONSENT option, then a error is displayed on the logcat: Error Unity Exception: No such proxy method: GoogleMobileAds.Ump.Android.OnConsentFormDismissedListener.onConsentFormDismissed(null) I'm attaching a screen shot for the Android plugins folder and my GDPR message setup |
@NVentimiglia Facing the same issue with v8.5.1. It seems that is has nothing to do with a missing android dependency, similar to #2866, but with a lot of things missing in the latest wrapper. |
@NVentimiglia Here is the build .apk file with sample project together. Its using the Test App Id from here: https://developers.google.com/admob/android/quick-start ( The issue happens in this scene: GoogleMobileAdsScene ) Unity Version: 2022.3.7f1 ( Silicon) Hope this helps! |
@NVentimiglia Mi A2 Lite with Android 10. Minimum target API level 22, target API level 32. |
That project I attached was the latest version. |
@NVentimiglia No.
|
Hi, I'm getting the same exception since I switched from Unity 2022.3.4f1 LTS to 2022.3.5f1 LTS. When switching back to 2022.3.4f1 LTS the exception does not happen. Device: Xiaomi Redmi Note 10 Pro, Android 13. |
It looks like this is a Unity bug. https://forum.unity.com/threads/exceptions-after-uum-30243-fix.1465151/ |
I can confirm that. I've test AdMob Consent Screen on Unity 2022.3.4f1 (before the "FIX") it works fine, but it shows the error on Unity 2022.4.7f1 I suspect this may be the same problem I'm facing with Unity's In-App purchasing module on Google Play, since I'm getting a lot of not found methods errors with private methods from the purchasing module.
|
Thank you! |
Is there any update on this? |
The fix is scheduled for release this week. |
Step 0: Are you in the right place?
For general technical questions, or help with project-specific issues like setting up ads in
your app, reach out to our support team on the
Developer Forum.
For assistance with your AdMob account, reach out to
AdMob Support.
For feedback on our documentation,
send your feedback by pressing the Send Feedback button at the top right of the
documentation page you are on.
For issues related to the code in this repository, continue filing this GitHub issue.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
After user dismissed the consent form, following error appears:
2023/07/19 11:04:25.078 345 345 Error Unity Exception: No such proxy method: GoogleMobileAds.Ump.Android.OnConsentFormDismissedListener.onConsentFormDismissed(null)
Steps to reproduce:
What happened? How can we make the problem occur?
Delete the game and reinstall it, After loading the consent form and showing it, close it and the above error happens.
Please share a downloadable sample project that reproduces the bug, if
available. This greatly helps us to diagnose and fix the issue faster.
Relevant Code:
The text was updated successfully, but these errors were encountered: