Feature request: Disable the Debug.Log in Unity Editor

72 views
Skip to first unread message

Dominic Hamelin-Blais

unread,
Mar 23, 2023, 11:27:46 AM3/23/23
to Google Mobile Ads SDK Developers
Please disable, or add a setting to mute debug logs in the Unity Editor. These aren't useful at all.

They are all coming from GoogleMobileAds.Common.DummyClient

Screen Shot 2023-03-23 at 11.26.05 AM.png

Thank you

Mobile Ads SDK Forum Advisor

unread,
Mar 23, 2023, 4:03:49 PM3/23/23
to dham...@gmail.com, google-adm...@googlegroups.com

Hello Dominic,

Welcome to Mobile Ads SDK support team. Thank you for reaching out to us.

Can you please confirm the steps to reproduce this behavior? Asking this as it appears that this is not an SDK implementation issue but rather coming from the Unity Editor itself. However, so just we could confirm, please provide more details of your concern. A sample project implementation with screen recording of the behavior will help in better illustrating the issue.

You may send the requested details privately via "Reply to Author" button or with the below process.

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=5004Q00002k2Ko1QAE&entry.80707362=00172142

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.


Regards,

Google Logo Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2k2Ko1:ref

Dominic Hamelin-Blais

unread,
Mar 23, 2023, 4:34:52 PM3/23/23
to Google Mobile Ads SDK Developers
Hi again, I have updated the Unity SDK to the latest version (v7.4.1). The logs have changed a bit but they are still there

Screen Shot 2023-03-23 at 4.25.56 PM.png

To reproduce you just need to call these line in a C# script:

MobileAds.SetRequestConfiguration(requestConfiguration);
MobileAds.SetiOSAppPauseOnBackground(true);
MobileAds.Initialize(InitCompleted);


Looking at the call stack, it's clear that the logs are coming from the ad mob SDK (GoogleMobileAds.Unity.dll to be more precise)

Placeholder SetRequestConfiguration
UnityEngine.Debug:Log (object)
GoogleMobileAds.Unity.MobileAdsClient:SetRequestConfiguration (GoogleMobileAds.Api.RequestConfiguration)
GoogleMobileAds.Api.MobileAds:SetRequestConfiguration (GoogleMobileAds.Api.RequestConfiguration)


And if I open the assemblies (GoogleMobileAds.Unity.dll) I can see the Debug.Log from your code. Like in class MobileAdsClient from namespace GoogleMobileAds.Unity

I won't be sending a Unity project since it's pretty easy to reproduce and validate.

Regards

Mobile Ads SDK Forum Advisor

unread,
Mar 24, 2023, 2:54:23 AM3/24/23
to dham...@gmail.com, google-adm...@googlegroups.com
Hello Dominic,

Thank you for the information and input. We will now be forwarding your concerns to the wider team for a feature request. You may keep an eye on our blog for any future updates on this.
Reply all
Reply to author
Forward
0 new messages