Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Vive Focus: app shuts down when pausing a breakpoint


mender
 Share

Recommended Posts

When I try to debug my Vive Focus app and pause the application at a breakpoint, the app shuts down after a few seconds. Googling around, it seems that the "Select debug app" setting in the Android developer options should prevent this from happening, but this doesn't seem to be the case on the Focus. For reference, here's the logcat output filtered for "Unity" and "ActivityManager", when that happens: 

 

01-08 13:08:28.648  1401  1444 W ActivityManager: Activity pause timeout for ActivityRecord{ae8e882 u0 com.company.project/com.htc.vr.unity.WVRUnityVRActivity t272 f}01-08 13:08:28.703  1401  2174 E ActivityManager: Sending non-protected broadcast vive.wave.intent.action.ACTION_NO_CONTROLLER_MODE from system 2100:vive.wave.vr.oem/u0a52 pkg vive.wave.vr.oem01-08 13:08:28.703  1401  2174 E ActivityManager: java.lang.Throwable01-08 13:08:28.703  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:18928)01-08 13:08:28.703  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19426)01-08 13:08:28.703  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:19660)01-08 13:08:28.703  1401  2174 E ActivityManager:       at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:530)01-08 13:08:28.703  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2999)01-08 13:08:28.703  1401  2174 E ActivityManager:       at android.os.Binder.execTransact(Binder.java:573)01-08 13:08:28.706  1401  2174 E ActivityManager: Sending non-protected broadcast vive.wave.intent.action.ACTION_NO_CONTROLLER_MODE from system 2100:vive.wave.vr.oem/u0a52 pkg vive.wave.vr.oem01-08 13:08:28.706  1401  2174 E ActivityManager: java.lang.Throwable01-08 13:08:28.706  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.checkBroadcastFromSystem(ActivityManagerService.java:18928)01-08 13:08:28.706  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntentLocked(ActivityManagerService.java:19538)01-08 13:08:28.706  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:19660)01-08 13:08:28.706  1401  2174 E ActivityManager:       at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:530)01-08 13:08:28.706  1401  2174 E ActivityManager:       at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2999)01-08 13:08:28.706  1401  2174 E ActivityManager:       at android.os.Binder.execTransact(Binder.java:573)01-08 13:08:28.740  2200  2368 E Unity   : [EGL] eglDestroySurface(m_EGLDisplay, m_EGLSurface): EGL_BAD_SURFACE: An EGLSurface argument does not name a valid surface (window, pixel buffer or pixmap) configured for GL rendering.01-08 13:08:28.740  2200  2368 E Unity   :01-08 13:08:28.740  2200  2368 E Unity   : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 75)01-08 13:08:28.740  2200  2368 E Unity   :01-08 13:08:28.744  2200  2368 E Unity   : [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).01-08 13:08:28.744  2200  2368 E Unity   :01-08 13:08:28.744  2200  2368 E Unity   : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 267)01-08 13:08:28.744  2200  2368 E Unity   :01-08 13:08:28.745  2200  2368 E Unity   : [EGL] Unable to acquire context: EGL_BAD_ACCESS: EGL cannot access a requested resource (for example a context is bound in another thread).01-08 13:08:28.745  2200  2368 E Unity   :01-08 13:08:28.745  2200  2368 E Unity   : (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/egl/WindowContextEGL.cpp Line: 267)01-08 13:08:28.745  2200  2368 E Unity   :01-08 13:08:32.159  3516  3516 W Unity   : Timeout while trying to pause the Unity Engine.01-08 13:08:38.828  1401  1444 W ActivityManager: Activity destroy timeout for ActivityRecord{ae8e882 u0 com.company.project/com.htc.vr.unity.WVRUnityVRActivity t272 f}01-08 13:08:40.176  3516  3516 W Unity   : Timeout while trying detaching primary window.01-08 13:08:40.450  1401  2481 I ActivityManager: Recipient 351601-08 13:08:40.450  1401  2481 I ActivityManager: Process com.company.project (pid 3516) has died01-08 13:08:40.450  1401  2481 D ActivityManager: cleanUpApplicationRecord -- 3516

Does anyone have an idea what I'm doing wrong?

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...