Search Unity

Bug Quest app freezes in Unity unmanaged code: Dropping event due to no window focus

Discussion in 'VR' started by fortgreeneVR, Sep 24, 2020.

  1. fortgreeneVR

    fortgreeneVR

    Joined:
    Sep 5, 2018
    Posts:
    50
    Hi,

    Has anyone seen this happen on Quest:
    After intense use with OVRMetrics indicating that available memory dropped to 200MB but then recovered (because of cleanup code in the app) to around 700MB, the app freezes mid render, so somewhere in Unity unmanaged code and the log (adb logcat | grep Unity) spews this message over and over:

    09-23 18:51:06.251 17674 17674 W ViewRootImpl[UnityPlayerActivity]: Dropping event due to no window focus: MotionEvent { action=ACTION_MOVE, actionButto n=0, id[0]=0, x[0]=1440.0, y[0]=800.0, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=META_CTRL_LEFT_ON|META_META_ON|META_META_LEFT_ON|META_SCR OLL_LOCK_ON|0x01000000|0x04000000|0x20000000|0x40000000, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=180396545, downTime=18031602 6, deviceId=0, source=0x2002 }   


    Any insights would be appreciated.
    Thanks.
     
  2. Shaunyowns

    Shaunyowns

    Joined:
    Nov 4, 2019
    Posts:
    328
    Hey there @fortgreeneVR, are you able to file a bug report with a reproduceable project attached to this so the team can investigate, thank you!