googleads / googleads-mobile-unity

Official Unity Plugin for the Google Mobile Ads SDK
https://developers.google.com/admob/unity
Apache License 2.0
1.37k stars 1.08k forks source link

With normal internal logic, after watching the motivational advertisement, the game itself loses all sound #3031

Closed mingxtInGitHub closed 6 months ago

mingxtInGitHub commented 10 months ago

[REQUIRED] Step 1: Describe your environment

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

Our game only incorporates motivational advertisements, and after watching the advertisements, the entire sound of the game disappears. This problem does not necessarily occur, it has randomness.

We are certain that this is not related to our internal logic. This issue has been ongoing for a long time, not only in this version of AdMobSDK, but also in previous versions. Moreover, the device and IOS or Android versions where this issue occurs are not specific, making it difficult to find the pattern of this issue occurring.

In a recent IOS test, we encountered this issue again without changing the advertising logic, and every time we watched an advertisement, it would inevitably cause the entire game to lose sound. However, the advertisement itself had sound, and this issue was only resolved after we tried restarting the phone, and it was strange that this issue never occurred again.

Its specific triggering time is when after watching the advertisement and clicking the close advertisement button in the upper right corner, we also caught an error on XCode:

Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>

0x130084480 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess NearSuspended Assertion' for process with PID=63,772, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}

It's not just iOS that has this issue, we've also encountered it on Android and other iOS devices before, but because it can't surface, we find it difficult to catch its errors.

NVentimiglia commented 10 months ago

@mingxtInGitHub

We have had other publishers raise sound related issues. These issues are pretty hard to nail down and I would love to solve this.

  1. Do you have a charles log which can identify the bad creative ?
  2. Can you replicate this issue with regularity (and modify the sample to demonstrate this?) ?

If you can, please make a bug submission and I can take a look.