我正在使用带有C#和最新Oculus软件包1.36的普通Unity 2019.1.0f2。当我为Android手机构建应用程序时,它可以工作;对于桌面相同与在Unity中运行相同,所有操作均无任何错误。当我为连接USB的VR设备Oculus Quest使用Build&Run时,它可以毫无错误地进行编译,但是随后一切都变黑了-即使开始音乐和海洋声音循环都听得很好-然后它经常出现(但不是)总是)崩溃。请帮忙吗?
我的“ adb logcat *:W”输出如下,我不确定我的应用程序(称为Chatty)的错误何时开始。谢谢!
07-03 13:44:03.555 3680 3762 W System : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
07-03 13:44:04.653 1843 1905 W System.err: java.lang.IllegalArgumentException: No default service found in application. Package chatty.center is not a valid Panel Service.
07-03 13:44:04.653 1843 1905 W System.err: at com.oculus.vrshell.util.PanelAppConfigurationUtil.buildPanelAppConfiguration(PanelAppConfigurationUtil.java:72)
07-03 13:44:04.653 1843 1905 W System.err: at com.oculus.vrshell.MainActivity.getPanelAppConfiguration(MainActivity.java:1069)
07-03 13:44:04.653 1843 1905 W PanelUtil_JNI: JVM exception occurred: java.lang.IllegalArgumentException: No default service found in application. Package chatty.center is not a valid Panel Service. - chatty.center/
07-03 13:44:04.654 1843 1905 W System.err: java.lang.IllegalArgumentException: No default service found in application. Package chatty.center is not a valid Panel Service.
07-03 13:44:04.654 1843 1905 W System.err: at com.oculus.vrshell.util.PanelAppConfigurationUtil.buildPanelAppConfiguration(PanelAppConfigurationUtil.java:72)
07-03 13:44:04.654 1843 1905 W System.err: at com.oculus.vrshell.MainActivity.getPanelAppConfiguration(MainActivity.java:1069)
07-03 13:44:04.654 1843 1905 W PanelUtil_JNI: JVM exception occurred: java.lang.IllegalArgumentException: No default service found in application. Package chatty.center is not a valid Panel Service. - chatty.center/
07-03 13:44:04.664 1957 1981 W LibraryProvider: Cannot find entitlement for chatty.center
07-03 13:44:04.664 1843 1905 W OCMSLibrary: null cursor received for query content://com.oculus.ocms.library/apps/chatty.center
07-03 13:44:04.705 3960 3960 E NuxPreferencesModule: Trying to unregister nonexistent Receiver. This should be harmless.
07-03 13:44:04.938 1957 1970 W LibraryProvider: Cannot find entitlement for com.oculus.vrshell.home
07-03 13:44:04.946 1751 1938 W OCMSLibrary: null cursor received for query content://com.oculus.ocms.library/apps/com.oculus.vrshell.home
07-03 13:44:04.951 1957 1969 W LibraryProvider: Cannot find entitlement for com.oculus.vrshell.home
07-03 13:44:04.952 1751 1923 W OCMSLibrary: null cursor received for query content://com.oculus.ocms.library/apps/com.oculus.vrshell.home
07-03 13:44:05.181 1139 1171 W ActivityManager: Activity pause timeout for ActivityRecord{5259d62 u0 com.oculus.vrshell/.MainActivity t53}
07-03 13:44:05.359 2080 2080 W ClientMgr: ClientMgr::SetActiveCompositorClient: No active client
07-03 13:44:05.364 1957 1981 W LibraryProvider: Cannot find entitlement for com.oculus.vrshell
07-03 13:44:05.368 1751 1751 W OCMSLibrary: null cursor received for query content://com.oculus.ocms.library/apps/com.oculus.vrshell
07-03 13:44:05.379 1751 1751 E OVRMediaServiceManager: Not initialized
07-03 13:44:05.526 1751 1773 W SDKLoggingService: Unable to update activity ms com.oculus.vrshell, not in library.
07-03 13:44:05.630 4097 4112 E Unity : Unable to find libAudioPluginOculusSpatializer
07-03 13:44:05.699 4097 4112 W AudioTrack: notificationFrames=-21 clamped to the range -1 to -8
07-03 13:44:05.700 545 1243 E voice_extn: voice_extn_compress_voip_out_get_parameters: COMPRESS_VOIP_ENABLED is not defined
07-03 13:44:05.702 545 598 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000104) and output flags (00000006)
07-03 13:44:06.308 4097 4112 W System : ClassLoader referenced unknown path: /system/priv-app/VrDriver/lib/arm
07-03 13:44:06.403 2080 2359 W Vulkan_Utils: Memory type 24 with properties 10 not found.
07-03 13:44:06.449 4097 4112 E libEGL : call to OpenGL ES API with no current context (logged once per thread)
07-03 13:44:06.533 2080 2359 W Vulkan_Utils: Memory type 24 with properties 10 not found.
07-03 13:44:06.651 1957 1970 W LibraryProvider: Cannot find entitlement for chatty.center
07-03 13:44:06.652 1751 1751 W OCMSLibrary: null cursor received for query content://com.oculus.ocms.library/apps/chatty.center
07-03 13:44:06.658 1751 1751 E OVRMediaServiceManager: Not initialized
07-03 13:44:06.675 1957 1969 W LibraryProvider: Cannot find entitlement for chatty.center
07-03 13:44:06.676 1751 2061 W OCMSLibrary: null cursor received for query content://com.oculus.ocms.library/apps/chatty.center
07-03 13:44:06.717 1751 2390 W VRLifecycleManager: onHeadsetUnmounted
07-03 13:44:06.723 4097 4140 W Unity : Oculus Patched Thread Core Affinity on threads: 4112 and 4140
07-03 13:44:06.723 4097 4140 W Unity :
07-03 13:44:06.723 4097 4140 W Unity : (Filename: ./Modules/VR/Oculus/VROculus.cpp Line: 980)
07-03 13:44:06.723 4097 4140 W Unity :
07-03 13:44:06.724 1751 3875 W VRLifecycleManager: onHeadsetUnmounted
07-03 13:44:06.776 4097 4112 W AudioTrack: notificationFrames=-21 clamped to the range -1 to -8
07-03 13:44:06.779 545 1244 E voice_extn: voice_extn_compress_voip_out_get_parameters: COMPRESS_VOIP_ENABLED is not defined
07-03 13:44:06.780 545 545 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000104) and output flags (00000006)
07-03 13:44:07.204 1751 2390 W VRLifecycleManager: onHeadsetMounted
07-03 13:44:07.223 1751 3875 W VRLifecycleManager: onHeadsetMounted
07-03 13:44:08.188 1139 1256 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
07-03 13:44:08.366 2080 2159 W TimeWarp: HandleRequest: late frames: 98%, avg lateness: 12.35 msec
07-03 13:44:09.216 2080 2159 W TimeWarp: HandleRequest: late frames: 100%, avg lateness: 12.34 msec
07-03 13:44:09.327 4097 4122 W System : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
07-03 13:44:10.051 2080 2159 W TimeWarp: HandleRequest: late frames: 100%, avg lateness: 12.35 msec
07-03 13:44:10.112 4097 4140 W VrApi : Time to first swap: 3.797 seconds
07-03 13:44:10.683 4097 4140 E CRASH : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
07-03 13:44:10.683 4097 4140 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-03 13:44:10.683 4097 4140 E CRASH : Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a'
07-03 13:44:10.683 4097 4140 E CRASH : Build fingerprint: 'oculus/vr_monterey/monterey:7.1.1/NGI77B/256550.6810.0:user/release-keys'
07-03 13:44:10.683 4097 4140 E CRASH : Revision: '0'
07-03 13:44:10.683 4097 4140 E CRASH : pid: 4097, tid: 4140, name: Thread-3 >>> chatty.center <<<
07-03 13:44:10.683 4097 4140 E CRASH : r0 c868a750 r1 00000000 r2 00000292 r3 c86f8c98
07-03 13:44:10.683 4097 4140 E CRASH : r4 c86f9f28 r5 fffffffe r6 fffffffc r7 c86f6a84
07-03 13:44:10.683 4097 4140 E CRASH : r8 00000001 r9 0000020a sl c0619710 fp a548e2f0
07-03 13:44:10.683 4097 4140 E CRASH : ip 00000001 sp c78ff638 lr cdd9aaa4 pc cdd9b3c8 cpsr 0000102c
07-03 13:44:10.683 4097 4140 E CRASH :
07-03 13:44:10.683 4097 4140 E CRASH : backtrace:
07-03 13:44:10.868 4097 4140 E CRASH : #00 pc 0138d3c8 /data/app/chatty.center-1/lib/arm/libunity.so (DataBufferGLES::RecordRender()+4)
07-03 13:44:10.868 4097 4140 E CRASH : #01 pc 0138caa0 /data/app/chatty.center-1/lib/arm/libunity.so (ConstantBuffersGLES::RecordRender()+88)
07-03 13:44:10.868 4097 4140 E CRASH : #02 pc 0139a20c /data/app/chatty.center-1/lib/arm/libunity.so (GfxDeviceGLES::DrawBuffers(GfxBuffer*, int, VertexStreamSource const*, int, DrawBuffersRange const*, int, VertexDeclaration*)+240)
07-03 13:44:10.868 4097 4140 E CRASH : #03 pc 005972d0 /data/app/chatty.center-1/lib/arm/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+15648)
07-03 13:44:10.868 4097 4140 E CRASH : #04 pc 0059ad98 /data/app/chatty.center-1/lib/arm/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)+68)
07-03 13:44:10.868 4097 4140 E CRASH : #05 pc 0059ad28 /data/app/chatty.center-1/lib/arm/libunity.so (GfxDeviceWorker::Run()+132)
07-03 13:44:10.868 4097 4140 E CRASH : #06 pc 005932a0 /data/app/chatty.center-1/lib/arm/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)+4)
07-03 13:44:10.868 4097 4140 E CRASH : #07 pc 00ac6134 /data/app/chatty.center-1/lib/arm/libunity.so (Thread::RunThreadWrapper(void*)+736)
07-03 13:44:10.868 4097 4140 E CRASH : #08 pc 000478d3 /system/lib/libc.so (__pthread_start(void*)+22)
07-03 13:44:10.868 4097 4140 E CRASH : #09 pc 00019fe5 /system/lib/libc.so (__start_thread+6)
07-03 13:44:10.868 4097 4140 E CRASH :
07-03 13:44:10.868 4097 4140 E CRASH : memory near fp:
07-03 13:44:10.868 4097 4140 E CRASH : a548e2d0 a556c960 a556c998 00000000 a556ca40 `.V...V.....@.V.
07-03 13:44:10.868 4097 4140 E CRASH : a548e2e0 00000009 00000081 00000000 ffffffff ................
07-03 13:44:10.868 4097 4140 E CRASH : a548e2f0 ce520ee4 00000101 03000000 03000c00 ..R.............
07-03 13:44:10.868 4097 4140 E CRASH : a548e300 04001800 04020001 02000401 02000401 ................
07-03 13:44:10.868 4097 4140 E CRASH : a548e310 00000000 00000000 00000000 00000000 ................
07-03 13:44:10.868 4097 4140 E CRASH : a548e320 00000000 00000000 00000000 00000000 ................
07-03 13:44:10.868 4097 4140 E CRASH : a548e330 a556d168 00000000 a548cb70 a556e6c0 h.V.....p.H...V.
07-03 13:44:10.868 4097 4140 E CRASH : a548e340 00000009 00000081 00000000 ffffffff ................
07-03 13:44:10.868 4097 4140 E CRASH : a548e350 ce520ee4 00000001 03000000 03000c00 ..R.............
07-03 13:44:10.869 4097 4140 E CRASH : a548e360 04001800 00000000 02002800 02003000 .........(...0..
07-03 13:44:10.869 4097 4140 E CRASH : a548e370 00000000 00000000 00000000 00000000 ................
07-03 13:44:10.869 4097 4140 E CRASH : a548e380 00000000 00000000 00000000 00000000 ................
07-03 13:44:10.869 4097 4140 E CRASH : a548e390 a556f5c0 a556f600 00000000 a548ccf8 ..V...V.......H.
07-03 13:44:10.869 4097 4140 E CRASH : a548e3a0 00000009 00000081 00000000 ffffffff ................
07-03 13:44:10.869 4097 4140 E CRASH : a548e3b0 ce520ee4 00000101 03000000 03000c00 ..R.............
07-03 13:44:10.869 4097 4140 E CRASH : a548e3c0 00000000 00000000 04020001 04020001 ................
07-03 13:44:10.869 4097 4140 E CRASH :
07-03 13:44:10.869 4097 4140 E CRASH : code around pc:
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b3a8 ebffcff9 e5940000 e5900000 e584001c ................
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b3b8 e28dd008 e8bd81f0 007ad748 e5901000 ........H.z.....
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b3c8 e5911000 e5801020 e12fff1e e92d4070 .... ...../.p@-.
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b3d8 e1a04000 eb00002d e1a05004 e5b50124 .@..-....P..$...
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b3e8 e1500005 0a000004 e5906000 ebb3b0e7 ..P......`......
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b3f8 e1560005 e1a00006 1afffffa e5941114 ..V.............
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b408 e2840f43 ebbb0bc8 e59410fc e28400f4 C...............
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b418 ebbb0bc5 e59410e4 e28400dc ebbb0bc2 ................
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b428 e59410cc e28400c4 ebbb0bbf e59410b4 ................
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b438 e28400ac ebbb0bbc e594109c e2840094 ................
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b448 ebbb0bb9 e5941084 e284007c ebbb0bb6 ........|.......
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b458 e594106c e2840064 ebbb0bb3 e5941054 l...d.......T...
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b468 e284004c ebbb0bb0 e594103c e2840034 L.......<...4...
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b478 ebbb0bad e5941024 e284001c ebbb0baa ....$...........
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b488 e2840004 ebb6eec9 e1a00004 e8bd8070 ............p...
07-03 13:44:10.869 4097 4140 E CRASH : cdd9b498 e92d4ff0 e24dd014 e58d0004 e5900014 .O-...M.........
07-03 13:44:10.869 4097 4140 E CRASH :
07-03 13:44:10.869 4097 4140 E CRASH : code around lr:
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aa84 e5901008 e591000c e3500000 0afffff6 ..........P.....
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aa94 e1d111f0 e3510000 bafffff3 eb000247 ......Q.....G...
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aaa4 eafffff1 e8bd8070 e92d48f0 e1a04000 ....p....H-..@..
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aab4 e1a05001 e5941000 e3a06000 e5940004 .P.......`......
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aac4 e0402001 e1a03242 e1560242 03003001 . @.B2..B.V..0..
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aad4 e0832242 e1560e22 e1a07002 13e0720f B"..".V..p...r..
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aae4 e1520003 33e0720f e3570000 0a000006 ..R..r.3..W.....
07-03 13:44:10.870 4097 4140 E CRASH : cdd9aaf4 e3570201 2a000021 e1a00207 ebb3b327 ..W.!..*....'...
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab04 e1a06000 e5941000 e5940004 e0502001 .`........... P.
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab14 f4650acf e0862002 f4420acf 0a00000d ..e.. ....B.....
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab24 e2402010 e1a03001 e1a05006 f4630acf . @..0...P....c.
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab34 e2833010 e1500003 f4450acd 1afffffa .0....P...E.....
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab44 e0421001 e5940000 e3c1100f e0861001 ..B.............
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab54 e2811010 ea000000 e1a01006 e2815010 .............P..
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab64 e3500000 0a000000 ebb3b309 e5846000 ..P..........`..
07-03 13:44:10.870 4097 4140 E CRASH : cdd9ab74 e0860207 e5845004 e5840008 e8bd88f0 .....P..........
07-03 13:44:10.901 2080 2159 W TimeWarp: HandleRequest: late frames: 100%, avg lateness: 12.24 msec
07-03 13:44:11.792 2080 2159 W TimeWarp: HandleRequest: late frames: 100%, avg lateness: 12.33 msec
07-03 13:44:24.203 1751 2390 W VRLifecycleManager: onHeadsetUnmounted
07-03 13:44:24.224 1751 3875 W VRLifecycleManager: onHeadsetUnmounted