crash - com.unity3d.ads.adplayer.CommonWebViewBridge.execute

16 views
Skip to first unread message

Alex

unread,
Nov 24, 2025, 10:51:53 AM (4 days ago) Nov 24
to Google Mobile Ads SDK Developers
Hello,

After updating Unity Ads Unity Mediation Plugin to version 3.16.3 and 3.16.4 started to see such crashes:
Caused by java.lang.OutOfMemoryError Failed to allocate a 18898288 byte..

Stacktrace:
"Caused by java.lang.OutOfMemoryError: Failed to allocate a 18898288 byte allocation with 6737376 free bytes and 6579KB until OOM, target footprint 100663296, growth limit 100663296
       at java.util.Arrays.copyOf(Arrays.java:3257)
       at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
       at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
       at java.lang.StringBuilder.append(StringBuilder.java:137)
       at com.unity3d.ads.adplayer.CommonWebViewBridge.execute(CommonWebViewBridge.kt:38)
       at com.unity3d.ads.adplayer.CommonWebViewBridge.sendEvent(CommonWebViewBridge.kt:48)
       at com.unity3d.ads.adplayer.CommonWebViewBridge$handleInvocation$7.invokeSuspend(CommonWebViewBridge.kt:131)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:101)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:589)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:832)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:720)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:707)"

How can I resolve them?

Unity 6000.2.87, 6000.2.9 and 6000.2.10.

Mobile Ads SDK Forum Advisor

unread,
Nov 24, 2025, 4:57:02 PM (4 days ago) Nov 24
to mrsh...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting Mobile Ads SDK support team.

We have tested our Google sample application with the latest and confirmed that we were unable to reproduce the crash issue.

To help us investigate further, please clarify the following:

  • Can you reproduce the issue in our Google sample application after updating to 3.16.4?

  • Does the ANR issue occur only on the devices you mentioned or across all devices?

  • Please share your sample project where the issue is consistently reproducible.

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=500Ht00001vUMMXIA4&entry.80707362=00345844

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-11-24 21:55:57Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vUMMX:ref" (ADR-00345844)



Reply all
Reply to author
Forward
0 new messages