unity3d - 离开探戈场景时Unity3D崩溃

标签 unity3d crash google-project-tango

当离开使用Motion TrackingArea LearningWebcamTexture的场景并移动到使用标准Camera且没有Tango预制件的菜单场景时,应用程序将崩溃。

02-25 13:32:46.285     886-1005/? W/InputDispatcher﹕ channel '6510e8f0 com.google.atap.app/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
02-25 13:32:46.285     886-1005/? E/InputDispatcher﹕ channel '6510e8f0 com.google.atap.app/com.unity3d.player.UnityPlayerNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
02-25 13:32:46.292     165-5890/? E/Camera2-FrameProcessor﹕ get3aResult: Camera 0: No afState provided by HAL for frame 709!
02-25 13:32:46.308     165-5896/? E/Surface﹕ queueBuffer: error queuing buffer to SurfaceTexture, -32
02-25 13:32:46.308     165-5896/? E/Camera3-OutputStream﹕ returnBufferCheckedLocked: Stream 0: Error queueing buffer to native window: Broken pipe (-32)
02-25 13:32:46.308     165-5896/? E/Camera3-Device﹕ Can't return buffer 0 for frame 708 to its stream:  Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-OutputStream﹕ getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-Device﹕ RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-OutputStream﹕ getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-Device﹕ RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-OutputStream﹕ getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-Device﹕ RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-OutputStream﹕ getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-Device﹕ RequestThread: Can't get output buffer, skipping request: Broken pipe (-32)
02-25 13:32:46.308     165-5888/? E/Camera3-OutputStream﹕ getBufferLocked: Stream 0: Can't dequeue next output buffer: Broken pipe (-32)
02-25 13:32:46.309      165-165/? W/CameraService﹕ Disconnecting camera client 0xb8ac5f40 since the binder for it died (this pid 165)
02-25 13:32:46.309      165-165/? I/Camera2Client﹕ stopPreviewL: stopPreview ++
02-25 13:32:46.309      183-670/? I/sensor-hub-uart﹕ sensor_hub_uart_msg_queue: 54 15 9 2 returned 0
02-25 13:32:46.309     183-5904/? I/sensor-hub-uart﹕ wrote 54:15:9:2 0 0 to 13
02-25 13:32:46.309     886-1131/? I/ActivityManager﹕ Process com.google.atap.app (pid 5673) has died.

使用Tango预制件并离开现场时,是否必须调用任何方法?知道为什么会发生崩溃吗?

最佳答案

我不使用Unity,但是在C级别上,您需要调用TangoService_disconnect-如果您不这样做,并且您有实时回调,那么,谁知道会发生什么:-)

关于unity3d - 离开探戈场景时Unity3D崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28728152/

相关文章:

crash - Oracle Solaris 11.2 在引导时崩溃

Python - 程序崩溃后继续程序

android - Tango 华硕 Zenfone AR

android - JNI 检测到应用程序错误 : JNI NewGlobalRef called with pending exception java. lang.NoSuchFieldError

c# - unity awaitForSeconds 在lerp动画结束前调用

c# - OpenCV + 安卓 + Unity

c# - Unity无法使用Admob解决

xcode - Xcode 7.1 中架构 armv7 的 undefined symbol

Xcode 7.3 在断点设置或应用程序崩溃时崩溃

google-project-tango - tango使用的imu/定位算法?