Crashes Due to unity and java security error

Describe your issue

I get almost 20k crashes due to java.lang.SecurityException

Details from google play console :

java.lang.SecurityException: 
  at android.os.Parcel.createExceptionOrNull (Parcel.java:2376)
  at android.os.Parcel.createException (Parcel.java:2360)
  at android.os.Parcel.readException (Parcel.java:2343)
  at android.os.Parcel.readException (Parcel.java:2285)
  at com.android.internal.telephony.ITelephony$Stub$Proxy.getNetworkTypeForSubscriber (ITelephony.java:8762)
  at android.telephony.TelephonyManager.getNetworkType (TelephonyManager.java:3031)
  at android.telephony.TelephonyManager.getNetworkType (TelephonyManager.java:2995)
  at com.unity3d.services.core.connectivity.ConnectivityMonitor.connectionStatusChanged (ConnectivityMonitor.java:162)
  at com.unity3d.services.core.connectivity.ConnectivityNetworkCallback.onCapabilitiesChanged (ConnectivityNetworkCallback.java:48)
  at android.net.ConnectivityManager$NetworkCallback.onAvailable (ConnectivityManager.java:3389)
  at android.net.ConnectivityManager$CallbackHandler.handleMessage (ConnectivityManager.java:3669)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:236)
  at android.os.HandlerThread.run (HandlerThread.java:67)

I think its kodular’s hidden Unity Ad Integration, kindly give me the fix of it

Android version

android 11 and 12

I already tried with app permission and all these things which I found in kodular forum for java.lang.SecurityException but nothing works

Small Update

I found that this issue is happening due to ad loads on Android 11 and 12 ( api 30+).

Unity SDK which is integrated in every kodular app by default, its not working properly in Android 11 +.

In fact i not used UNity ads on my app but due to kodular revenue share system its comes in my app by default from kodular.

I request kodular devs to fix Unity ads its causing the app crashes in android 11 devices.

Whether you use unity ads on your app or not its doesn’t matter. Its causing crashes on every ad unit we use cause of Revenue share system of kodular

hello did you find any solution for this ? I am also facing the same issue .

1 Like