Admob crashes when game is downloaded from Google Play but not on debug
Hi, everybody,
I just can't understand what is happening, I need your help. Here is a summary of my issue:
1- Game works fine in editor (with no ads). 2- Works fine with USB debug in my phone (with real ads, no testing ads). 3- Crashes on Admob Initialization when downloaded from store. 4- Can't understand whats goin on on the stack trace, but error seems to be the same as when you are waiting for your Admob account to be approved. 5- Worked fine until 7 days ago 6- Tried moving to Unity Ads, but fill rate in my country is not as good as Admob and I find really difficult to implement Ad Mediation from other companies.
Is there some way that the game can run correctly in debug but crash when downloaded from the store?
Does anybody know what can I do?
Thank you
Here goes the crash stack trace
04-03 18:13:34.218: E/CRASH(9719): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000 04-03 18:13:34.218: E/CRASH(9719): 04-03 18:13:34.218: E/CRASH(9719): Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a' 04-03 18:13:34.218: E/CRASH(9719): Build fingerprint: 'google/walleye/walleye:8.1.0/OPM1.171019.013/4474084:user/release-keys' 04-03 18:13:34.218: E/CRASH(9719): Revision: 'MP1' 04-03 18:13:34.218: E/CRASH(9719): pid: 9719, tid: 9719, name: om.XXX.XXX >>> com.XXX.XXX <<< 04-03 18:13:34.218: E/CRASH(9719): r0 00000000 r1 00000001 r2 c3dbbc90 r3 00000001 04-03 18:13:34.218: E/CRASH(9719): r4 00000002 r5 c3dbbb50 r6 c3dbbc90 r7 00000000 04-03 18:13:34.218: E/CRASH(9719): r8 00000000 r9 c3dbbc90 sl c3dbbd00 fp 00000000 04-03 18:13:34.218: E/CRASH(9719): ip cd62f6a8 sp ffdfad40 lr ccd51b68 pc ccd51be4 cpsr 000025f7 04-03 18:13:34.218: E/CRASH(9719): backtrace: 04-03 18:13:34.221: E/CRASH(9719): #00 pc 0080abe4 /data/app/com.XXX.XXX==/lib/arm/libunity.so 04-03 18:13:34.221: E/CRASH(9719): #01 pc 0080c2c8 /data/app/com.XXX.XXX==/lib/arm/libunity.so 04-03 18:13:34.221: E/CRASH(9719): #02 pc 0080c4c0 /data/app/com.XXX.XXX==/lib/arm/libunity.so 04-03 18:13:34.221: E/CRASH(9719): #03 pc 0000472c ( (wrapper managed-to-native) UnityEngine.Mesh:Internal_Create (UnityEngine.Mesh) + 0x3c (0xe21726f0 0xe2172764) [0xe832cee0 - Unity Root Domain]+18220) 04-03 18:13:34.221: E/CRASH(9719): #04 il ........ at (wrapper managed-to-native) UnityEngine.Mesh.Internal_Create (UnityEngine.Mesh) 04-03 18:13:34.221: E/CRASH(9719): #05 il 0000001c at UnityEngine.Mesh..ctor () 04-03 18:13:34.221: E/CRASH(9719): #06 il 000000d7 at TMPro.TextMeshProUGUI.Awake () 04-03 18:13:34.221: E/CRASH(9719): #07 il 0000006b at (wrapper runtime-invoke) object.runtime_invoke_void_this (object,intptr,intptr,intptr) 04-03 18:13:34.221: E/CRASH(9719): #08 il ........ at (wrapper managed-to-native) UnityEngine.GameObject.SetActive (bool) 04-03 18:13:34.221: E/CRASH(9719): #09 il 0000002c at CurrencyUI.VideoRewardFailed () 04-03 18:13:34.221: E/CRASH(9719): #10 il 00000043 at AdsController.HandleRewardBasedVideoFailedToLoad (object,GoogleMobileAds.Api.AdFailedToLoadEventArgs) 04-03 18:13:34.221: E/CRASH(9719): #11 il 0000003f at GoogleMobileAds.Api.RewardBasedVideoAd.m1 (object,GoogleMobileAds.Api.AdFailedToLoadEventArgs) 04-03 18:13:34.221: E/CRASH(9719): #12 il 0000006f at (wrapper delegate-invoke) System.EventHandler`1 .invoke_void this__object_AdFailedToLoadEventArgs (object,GoogleMobileAds.Api.AdFailedToLoadEventArgs) 04-03 18:13:34.221: E/CRASH(9719): #13 il 00000067 at GoogleMobileAds.Android.RewardBasedVideoAdClient.onAdFailedToLoad (string) 04-03 18:13:34.221: E/CRASH(9719): #14 il 00000073 at (wrapper runtime-invoke) .runtime_invoke_void_this__object (object,intptr,intptr,intptr) 04-03 18:13:34.221: E/CRASH(9719): #15 il ........ at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (object,object[],System.Exception&) 04-03 18:13:34.221: E/CRASH(9719): #16 il 00000184 at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) 04-03 18:13:34.221: E/CRASH(9719): #17 il 0000004b at System.Reflection.MethodBase.Invoke (object,object[]) 04-03 18:13:34.221: E/CRASH(9719): #18 il 00000167 at UnityEngine.AndroidJavaProxy.Invoke (string,object[]) 04-03 18:13:34.221: E/CRASH(9719): #19 il 0000013b at UnityEngine.AndroidJavaProxy.Invoke (string,UnityEngine.AndroidJavaObject[]) 04-03 18:13:34.221: E/CRASH(9719): #20 il 000000ff at UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy,intptr,intptr) 04-03 18:13:34.221: E/CRASH(9719): #21 il 00000083 at (wrapper runtime-invoke) .runtime_invoke_intptr_object_intptr_intptr (object,intptr,intptr,intptr) 04-03 18:13:34.222: E/CRASH(9719): #00 pc 0002270b /data/app/com.XXX.XXX==/lib/arm/libmono.so 04-03 18:13:34.222: E/CRASH(9719): #01 pc 001f7ce8 /data/app/com.XXX.XXX==/lib/arm/libmono.so (mono_runtime_invoke+136) 04-03 18:13:34.222: E/CRASH(9719): #02 pc 0064cf90 /data/app/com.XXX.XXX==/lib/arm/libunity.so 04-03 18:13:34.222: E/CRASH(9719): #03 pc 006be09c /data/app/com.XXX.XXX==/lib/arm/libunity.so 04-03 18:13:34.222: E/CRASH(9719): #04 pc 000005a3 /data/app/com.XXX.XXX==/oat/arm/base.odex (oatexec+4294899107) 04-03 18:13:34.222: E/CRASH(9719): code around pc: 04-03 18:13:34.222: E/CRASH(9719): ccd51bc4 e1a00004 e5928340 e12fff31 e1a02000 ....@...1./.. .. 04-03 18:13:34.222: E/CRASH(9719): ccd51bd4 e1a00007 e1a01005 e12fff38 e59d0050 ........8./.P... 04-03 18:13:34.223: E/CRASH(9719): ccd51be4 e5901000 e5912180 e1a01006 e12fff32 .....!......2./. 04-03 18:13:34.223: E/CRASH(9719): ccd51bf4 e59d1054 e5d1003c e20000fc e5c1003c T...<.......<... 04-03 18:13:34.223: E/CRASH(9719): ccd51c04 e281002c ebffbe87 e28d0088 ebe24bfd ,............K.. 04-03 18:13:34.223: E/CRASH(9719): ccd51c14 e59f0030 e59d10a4 e79f0000 e5900000 0............... 04-03 18:13:34.223: E/CRASH(9719): ccd51c24 e0500001 028dd0a8 0cbd8b0c 028dd004 ..P............. 04-03 18:13:34.223: E/CRASH(9719): ccd51c34 08bd8ff0 ebe10b64 008dcd18 007f570f ....d........W.. 04-03 18:13:34.223: E/CRASH(9719): ccd51c44 0076b1d7 008dcbe4 008dc66c e92d4ff0 ..v.....l....O-. 04-03 18:13:34.223: E/CRASH(9719): ccd51c54 e24dd00c e1a0c001 e5901008 e3510000 ..M...........Q. 04-03 18:13:34.223: E/CRASH(9719): ccd51c64 0a00007c e3a09000 e88d1001 e590e000 |............... 04-03 18:13:34.223: E/CRASH(9719): ccd51c74 e0693189 e08eb183 e59b2028 e59b8020 .1i.....( .. ... 04-03 18:13:34.223: E/CRASH(9719): ccd51c84 e3520001 0a00002c e3520002 1a00006e ..R.,.....R.n... 04-03 18:13:34.223: E/CRASH(9719): ccd51c94 e59b2024 e3520004 3a00006b e1a05122 $ ....R.k..:"Q.. 04-03 18:13:34.223: E/CRASH(9719): ccd51ca4 e59c100c e59ca008 e0857085 e1a0b003 .........p...... 04-03 18:13:34.223: E/CRASH(9719): ccd51cb4 e08a6187 e1a010a1 e1510006 2a000006 .a........Q....* 04-03 18:13:34.223: E/CRASH(9719): code around lr: 04-03 18:13:34.223: E/CRASH(9719): ccd51b48 e3a00001 e3580001 e3a03000 03000002 ......X..0...... 04-03 18:13:34.223: E/CRASH(9719): ccd51b58 e1a00037 ea000003 e5950024 ebff797d 7.......$...}y.. 04-03 18:13:34.223: E/CRASH(9719): ccd51b68 ea00001c e1a00130 e3a01002 e0000490 ....0........... 04-03 18:13:34.223: E/CRASH(9719): ccd51b78 e58d105c e59d104c e58d1060 e59d1048 ...L...`...H... 04-03 18:13:34.223: E/CRASH(9719): ccd51b88 e58d1064 e3a01000 e58d4068 e59d4054 d.......h@..T@.. 04-03 18:13:34.223: E/CRASH(9719): ccd51b98 e58d106c e28d1058 e58d0058 e5940024 l...X...X...$... 04-03 18:13:34.223: E/CRASH(9719): ccd51ba8 ebff799a e5941024 e59d7050 e5940000 .y..$...Pp...... 04-03 18:13:34.223: E/CRASH(9719): ccd51bb8 e5915008 e5972000 e5901028 e1a00004 .P... ..(....... 04-03 18:13:34.224: E/CRASH(9719): ccd51bc8 e5928340 e12fff31 e1a02000 e1a00007 @...1./.. ...... 04-03 18:13:34.224: E/CRASH(9719): ccd51bd8 e1a01005 e12fff38 e59d0050 e5901000 ....8./.P....... 04-03 18:13:34.224: E/CRASH(9719): ccd51be8 e5912180 e1a01006 e12fff32 e59d1054 .!......2./.T... 04-03 18:13:34.224: E/CRASH(9719): ccd51bf8 e5d1003c e20000fc e5c1003c e281002c <.......<...,... 04-03 18:13:34.224: E/CRASH(9719): ccd51c08 ebffbe87 e28d0088 ebe24bfd e59f0030 .........K..0... 04-03 18:13:34.224: E/CRASH(9719): ccd51c18 e59d10a4 e79f0000 e5900000 e0500001 ..............P. 04-03 18:13:34.224: E/CRASH(9719): ccd51c28 028dd0a8 0cbd8b0c 028dd004 08bd8ff0 ................ 04-03 18:13:34.224: E/CRASH(9719): ccd51c38 ebe10b64 008dcd18 007f570f 0076b1d7 d........W....v. 04-03 18:13:34.235: E/CRASH(9719): other thread is trapped; signum = 11
Your answer
![](https://koobas.hobune.stream/wayback/20220612194819im_/https://answers.unity.com/themes/thub/images/avi.jpg)