Search Unity

  1. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  2. Dismiss Notice

Bug java.lang.Error com.unity3d.player.UnityPlayer.nativeInjectEvent

Discussion in 'Android' started by tungdv_unity, May 31, 2020.

  1. tungdv_unity

    tungdv_unity

    Joined:
    May 31, 2020
    Posts:
    23
    My app is seeing a lot of these crashes:

    java.lang.Error: FATAL EXCEPTION [main]
    Unity version : 2018.4.21f1
    Device model : LGE LM-G710N
    Device fingerprint: lge/judyln_lao_com/judyln:9/PKQ1.181105.001/200981756ea56.FGN:user/release-keys Caused by

    at com.unity3d.player.UnityPlayer.nativeInjectEvent (Native Method)

    at com.unity3d.player.UnityPlayer.injectEvent (Unknown Source:8)

    at com.unity3d.player.UnityPlayer.onTouchEvent (Unknown Source)

    at android.view.View.dispatchTouchEvent (View.java:12549)

    at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3098)

    at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2776)

    at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3104)

    at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2733)

    at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3104)

    at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2733)

    at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:3104)

    at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2733)

    at com.android.internal.policy.DecorView.superDispatchTouchEvent (DecorView.java:456)

    at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1854)

    at android.app.Activity.dispatchTouchEvent (Activity.java:3415)

    at com.android.internal.policy.DecorView.dispatchTouchEvent (DecorView.java:414)

    at android.view.View.dispatchPointerEvent (View.java:12788)

    at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:5416)

    at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:5219)

    at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4626)

    at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4679)

    at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4645)

    at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4653)

    at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4626)

    at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4679)

    at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4645)

    at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:4801)

    at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4653)

    at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:4858)

    at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4626)

    at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4679)

    at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4645)

    at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4653)

    at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4626)

    at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:7434)

    at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:7403)

    at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:7364)

    at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:7566)

    at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:187)

    at android.os.MessageQueue.nativePollOnce (Native Method)

    at android.os.MessageQueue.next (MessageQueue.java:326)

    at android.os.Looper.loop (Looper.java:160)

    at android.app.ActivityThread.main (ActivityThread.java:6853)

    at java.lang.reflect.Method.invoke (Native Method)

    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)

    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:860)


    My app use Firebase ver 6.14.1, Ironsource ver 6.15.0 and facebook sdk ver 7.19.2
     

    Attached Files:

    • 1.JPG
      1.JPG
      File size:
      101.1 KB
      Views:
      82
    • 2.JPG
      2.JPG
      File size:
      168.6 KB
      Views:
      82
  2. tungdv_unity

    tungdv_unity

    Joined:
    May 31, 2020
    Posts:
    23
    anyone help me please
     
  3. digitalmoka

    digitalmoka

    Joined:
    Nov 11, 2016
    Posts:
    7
    Hi,
    I have the same error. My app use Firebase 6.7.0, Facebook SDK 7.18 and Google Mobile Ads 5.0.1
    Unity version is 2018.4.21f1
     
  4. AngelSiendones

    AngelSiendones

    Joined:
    Mar 19, 2020
    Posts:
    1
    I have the same error reported by many users:
    Unity version 2018.4.21f1.
    Firebase 6.9.0.
    Ironsource 6.16.2. + AdMob module (4.3.12.1) + AppLovin module (4.3.14) + Facebook audience network module (4.3.20.1) + UnityAds module (4.3.3.1).
    Tenjin.
     
  5. Souka

    Souka

    Joined:
    Sep 28, 2013
    Posts:
    3
    I have the same error
     
  6. wechat_os_Qy0_py_P4QJaJiv68g_GuPI8s

    wechat_os_Qy0_py_P4QJaJiv68g_GuPI8s

    Joined:
    May 12, 2021
    Posts:
    1
    I have the same error ANR
     
unityunity