Unity Ads Crash: WebViewApp.sendEvent

Unity Ads Crash: WebViewApp.sendEvent
0

We detected this crash on Android version of our game on Amazon Device Farm,
but we cannot reproduce it localy.

Device: Samsung Galaxy Note5 (AT&T) Android 7.0

We have the following sdkbox SDKs:
v2.4.3.3 unityads
v2.4.3.3 sdkboxads

Based on logs this MAY have happened when the app was resuming (just after resume), but we’re not 100%.

The screenshot at the time of crash shows that the video was not shown.

// java.lang.NullPointerException: Attempt to invoke virtual method ‘boolean com.unity3d.ads.webview.WebViewApp.sendEvent(java.lang.Enum, java.lang.Enum, java.lang.Object[])’ on a null object reference
// at com.unity3d.ads.adunit.AdUnitActivity.onWindowFocusChanged(AdUnitActivity.java:229)
// at com.android.internal.policy.DecorView.onWindowFocusChanged(DecorView.java:1744)
// at android.view.View.dispatchWindowFocusChanged(View.java:10966)
// at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1193)
// at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4099)
// at android.os.Handler.dispatchMessage(Handler.java:102)
// at android.os.Looper.loop(Looper.java:154)
// at android.app.ActivityThread.main(ActivityThread.java:6682)
// at java.lang.reflect.Method.invoke(Native Method)
// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

Ping if you need any more info.

@yinjimmy can help us with this.

i’m checking on this issue.

It seems this a bug in unityads, let’s update unityads sdk to v3.