Unity Native Advanced crashes intermittently

162 views
Skip to first unread message

Sterntelz Ernprathin

unread,
Aug 22, 2021, 4:09:30 PM8/22/21
to Google Mobile Ads SDK Developers
Hi this happens intermittently but if I load a native ad enough times, this error can happen and crash the game.


p.s. I have turned all my native ad unity to "Image" only no video.

Error:

2021-08-22 13:22:24.747 14241-14241/? E/Ads: JS: Access to XMLHttpRequest at 'https://impression-east.liftoff.io/doubleclick/vast_xml?origin=haggler-doubleclick1014&click_url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.doubleugames.DoubleUCasino&country=CAN&vast_version=3.0&win_url=https%3A%2F%2Fimpression-east.liftoff.io%2Fdoubleclick%2Fbeacon%3Fad_group_id%3D105852%26channel_id%3D16%26creative_id%3D211371%26auction_id%3D6122a3ec000dfd4d0aeca6011b0031b9%26origin%3Dhaggler-doubleclick1014&event_tracking_param=97a24aCPy6BhIgNjEyMmEzZWMwMDBkZmQ0ZDBhZWNhNjAxMWIwMDMxYjkY4KPB-rYvIBAoq_MMMJYLOh9jb20udm5sZW50ZXJ0YWlubWVudC5tbW9wcm9qZWN0QhpjbGljay13YXRlcmZhbGwtdjItY29udHJvbEIcaWFzLXRyYWNraW5nLWR5bmFtaWMtY29udHJvbEIbdmFzdC1odG1sLWVuZHNjcmVlbi1jb250cm9sQiZhcHBsb3Zpbi1uYXRpdmUtYnJvd3Nlci1leHBlcmltZW50LWlvc0ImYWRtYXJrdXAtbWFkbGliLXJlZmFjdG9yaW5nLWV4cGVyaW1lbnRCF2FwcC1zdG9yZS1tb2RhbC1jb250cm9sSgplY2Q5ZTA5OWUxUAJaA0NBTmACaAByCXVzLWVhc3QtMYABEJIBAmVumAECoQEzMzMzMzOzP6oBAzB4MLIBDFJvbGUgUGxheWluZ7oBHVNjaG9vbCBvZiBDaGFvcyBPbmxpbmUgTU1PUlBHwgEbbmF0aXZlLTdlM2IxZDVhMTdmMzNjY2RhN2Y00gEDVDVU' from origin 'https://imasdk.googleapis.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. (https://imasdk.googleapis.com/admob/sdkloader/native_video.html:0)

Mobile Ads SDK Forum Advisor

unread,
Aug 23, 2021, 3:42:00 AM8/23/21
to nep...@gmail.com, google-adm...@googlegroups.com
Hi Sterntelz,

Thank you for raising this to us.

Could you please provide the details below (via Reply to author option. If the option does not work, kindly reply to mobileads...@gmail.com, then let us know here once sent) so that I can further investigate this issue:
  • App ID
  • Ad Unit ID
  • Sample project where the issue is reproducible
  • Screen recording (if possible)
Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2MhrlP:ref

Sterntelz Ernprathin

unread,
Aug 23, 2021, 8:36:28 PM8/23/21
to Google Mobile Ads SDK Developers
Hi Teejay!  I have clicked reply to author with all the information you asked for.  Please kindly let me know if you have what's needed and if you are able to solve this urgent issue.  Thanks again for your time!

Sincerely,
Sterntelz

Mobile Ads SDK Forum Advisor

unread,
Aug 24, 2021, 1:40:45 AM8/24/21
to nep...@gmail.com, google-adm...@googlegroups.com
Hi Sterntelz,

Thank you for providing the requested information. I've raised this (including the reports and discussion thus far) to the rest of the team for further investigation. We'll update this thread the soonest we have our findings.

Mobile Ads SDK Forum Advisor

unread,
Aug 27, 2021, 8:27:01 PM8/27/21
to nep...@gmail.com, google-adm...@googlegroups.com
Hello Sterntelz,

Thank you for reaching out.

Based on the error logs provided, it seems like the out of memory crash wasn't caused by Google Mobile Ads SDK, and typically the issue is caused by the developer's app using too much memory. May I ask have you taken any approaches yet to address you app's overall memory usage?

In addition, it is recommended to use the latest version of Google Mobile Ads SDK/ Unity plugin.

Please do not hesitate to let me know if you have any questions.


Regards,
Joshua


 

ref:_00D1U1174p._5004Q2MhrlP:ref

Sterntelz Ernprathin

unread,
Aug 27, 2021, 10:47:55 PM8/27/21
to Google Mobile Ads SDK Developers
Hi thanks so much for responding.  Please ignore that log provided, when this issue causes a crash there actually is no logs.  Please kindly understand that once I removed the SDK it will no longer crash.  If you read the detailed documentation I made for you and run the project then you will understand that the issue is in fact caused by the Admob SDK.  

I am using the latest Google Mobile Ads SDK for Unity plugin, the Native Advance version.  Because only that version can show native ads.  Google Admob interstitials and other formats have no issues, my game will run for hours and not crash, only when native ads start running then it will crash after some time.  Again, please kindly run the sample project, I have already set it up for you so you can simply follow the instructions and watch the very simple sample project crash(not even my game, just a sample project that sits there and it will crash).  It is 100% caused by the Google Mobile Ads SDK Native Advance Unity Plugin.  

Mobile Ads SDK Forum Advisor

unread,
Aug 31, 2021, 9:26:43 PM8/31/21
to nep...@gmail.com, google-adm...@googlegroups.com
Hello Sterntelz,

Thank you for the reply.

We are currently investigating the issue and will provide you with an update accordingly.

In the meantime, please do not hesitate to reach out if you have any questions.

Sterntelz Ernprathin

unread,
Sep 1, 2021, 9:42:13 PM9/1/21
to Google Mobile Ads SDK Developers
Thanks.  The best way to solve this is to run my sample project that reproduces the issue easily.  However I can see in my admob report and analytics that no one has attempted to run the project even once yet.  Hopefully the team can look into this.  It is beneficial for Admob to fix this as well.

Mobile Ads SDK Forum Advisor

unread,
Sep 2, 2021, 3:36:58 PM9/2/21
to nep...@gmail.com, google-adm...@googlegroups.com
Hello Sterntelz,

Thank you for the email.

Since the crash could be caused by a variety of reasons, we are looking into both our SDK and the project you provided.

Please do not hesitate to let me know if you have any questions.

Tom Rob (Mobile Ads Sdk Team)

unread,
Sep 4, 2021, 2:27:19 PM9/4/21
to Google Mobile Ads SDK Developers

hello Everything Can l get help please

Mobile Ads SDK Forum Advisor

unread,
Mar 7, 2022, 5:18:52 AM3/7/22
to nep...@gmail.com, google-adm...@googlegroups.com
Hello Sterntelz,

I would like to reach out and see if you are still encountering the issue recently.

Thanks!
Reply all
Reply to author
Forward
0 new messages