Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Stuck! Oculus build suddenly started crashing, any suggestions on how to address this?

Discussion in 'VR' started by humanMusic, May 14, 2024.

  1. humanMusic

    humanMusic

    Joined:
    May 16, 2017
    Posts:
    19
    Hi,
    I'm getting a crash on my Oculus Quest 2 at the beginning as soon as the scene loads. It doesn't happen every time, it happens about every 3 times.

    Before these crashes, we implemented Unity Render Streaming, which works in a separate scene, but our main game scene crashes. I would love to hear some tips or hunches anyone has.


    Unity 2022.3.10f1
    Unity Render Streaming 1.1.4
    Ready Player Me Core 4.1.0
    Oculus XR Plugin 4.0.0
    OpenXR Plugin 1.8.2
    glTFast 5.0.0 (Used for importing Ready Player Me characters into the scene)


    Here is the ADB output of the crash. On top there's a repeating error that says OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state. We used to not have that error so I'm wondering if that has something to do with it. However, even when the game doesn't crash we still get that error.


    05-14 17:30:52.943 25655 25706 E Unity : OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_OPERATION: Operation illegal in current state
    05-14 17:30:53.076 25793 25793 I DEBUG : Current uptime at crash: 2672 seconds
    05-14 17:30:53.348 25793 25793 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    05-14 17:30:53.348 25793 25793 F DEBUG : Build fingerprint: 'oculus/hollywood/hollywood:12/SQ3A.220605.009.A1/50837850062000150:user/release-keys'
    05-14 17:30:53.348 25793 25793 F DEBUG : Revision: '0'
    05-14 17:30:53.348 25793 25793 F DEBUG : ABI: 'arm64'
    05-14 17:30:53.348 25793 25793 F DEBUG : Timestamp: 2024-05-14 17:30:53.076517268+0000
    05-14 17:30:53.348 25793 25793 F DEBUG : Process uptime: 10s
    05-14 17:30:53.348 25793 25793 F DEBUG : Diagnostic-Collection-Type: Tombstone Proto
    05-14 17:30:53.348 25793 25793 F DEBUG : Has-Diagnostic-Summary: Yes
    05-14 17:30:53.348 25793 25793 F DEBUG : APK-Location: /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/base.apk
    05-14 17:30:53.348 25793 25793 F DEBUG : Debugging: No
    05-14 17:30:53.348 25793 25793 F DEBUG : Has-Waited-For-Debugger: No
    05-14 17:30:53.348 25793 25793 F DEBUG : Last-Activity-Time: 2662006
    05-14 17:30:53.348 25793 25793 F DEBUG : Process-Runtime: 10565
    05-14 17:30:53.348 25793 25793 F DEBUG : Waiting-To-Kill:
    05-14 17:30:53.348 25793 25793 F DEBUG : Killed-By-AM: No
    05-14 17:30:53.348 25793 25793 F DEBUG : Removed: No
    05-14 17:30:53.348 25793 25793 F DEBUG : Wanted-ANR-Ui: No
    05-14 17:30:53.348 25793 25793 F DEBUG : Killed: No
    05-14 17:30:53.348 25793 25793 F DEBUG : OOM-Score-Adj: 0
    05-14 17:30:53.348 25793 25793 F DEBUG : Wanted-Error-Ui: No
    05-14 17:30:53.348 25793 25793 F DEBUG : Kill-Time: 0
    05-14 17:30:53.348 25793 25793 F DEBUG : State: TOP
    05-14 17:30:53.348 25793 25793 F DEBUG : Foreground: Yes
    05-14 17:30:53.348 25793 25793 F DEBUG : Executable: /system/bin/app_process64
    05-14 17:30:53.348 25793 25793 F DEBUG : Cmdline: com.DefaultCompany.AGC_LatestTest
    05-14 17:30:53.348 25793 25793 F DEBUG : pid: 25655, tid: 25706, name: Thread-2 >>> com.DefaultCompany.AGC_LatestTest <<<
    05-14 17:30:53.348 25793 25793 F DEBUG : uid: 10028
    05-14 17:30:53.348 25793 25793 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    05-14 17:30:53.348 25793 25793 F DEBUG : Cause: null pointer dereference
    05-14 17:30:53.348 25793 25793 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 0000000000000010 x3 0000000000009146
    05-14 17:30:53.348 25793 25793 F DEBUG : x4 0000000000000010 x5 000000000000003b x6 0000007b03fb92f0 x7 7f7f7f7f7f7f7f7f
    05-14 17:30:53.348 25793 25793 F DEBUG : x8 0000000000000006 x9 0000000000000000 x10 0000000000001cf1 x11 0000000000000073
    05-14 17:30:53.348 25793 25793 F DEBUG : x12 0000000000000502 x13 0000007c44a5f480 x14 b400007adead10f0 x15 0000000000000000
    05-14 17:30:53.348 25793 25793 F DEBUG : x16 0000007bf1744848 x17 0000007cffd43840 x18 0000007b00c16000 x19 0000007ba1e5a660
    05-14 17:30:53.348 25793 25793 F DEBUG : x20 0000000000000000 x21 0000000000000002 x22 0000000000000010 x23 0000000000000000
    05-14 17:30:53.348 25793 25793 F DEBUG : x24 0000000000008f37 x25 0000007bf03f3ea4 x26 0000007bf1828000 x27 0000007ba1e5a660
    05-14 17:30:53.348 25793 25793 F DEBUG : x28 0000007b30b22530 x29 0000007b30b1f630
    05-14 17:30:53.348 25793 25793 F DEBUG : lr 0000007bf0fbcb00 sp 0000007b03fba390 pc 0000007cffd43894 pst 0000000060001000
    05-14 17:30:53.348 25793 25793 F DEBUG : backtrace:
    05-14 17:30:53.348 25793 25793 F DEBUG : #00 pc 0000000000083894 /apex/com.android.runtime/lib64/bionic/libc.so (memset+84) (BuildId: 0121d6b135c6faf9599fd1ea120a8cf3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #01 pc 0000000000da3afc /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)+164) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #02 pc 0000000000d7d8e4 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (BufferManagerGLES::AcquireBuffer(unsigned long, DataBufferGLES::BufferUsage, GfxBuffer*, bool)+572) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #03 pc 0000000000d93ae8 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceGLES::UpdateComputeConstantBuffers(unsigned int, ConstantBufferHandle*, unsigned int, unsigned long, unsigned char const*, unsigned int const*, unsigned int const*, int const*)+312) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #04 pc 0000000000f874e0 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+18760) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #05 pc 0000000000f82b30 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)+84) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #06 pc 0000000000f82ad0 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::Run()+140) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #07 pc 0000000000f82854 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)+4) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #08 pc 00000000007634a4 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (Thread::RunThreadWrapper(void*)+1048) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #09 pc 00000000000df308 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+132) (BuildId: 0121d6b135c6faf9599fd1ea120a8cf3)
    05-14 17:30:53.348 25793 25793 F DEBUG : #10 pc 000000000008b36c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 0121d6b135c6faf9599fd1ea120a8cf3)
    05-14 17:30:53.384 25655 25706 D Unity : NativeCrashSerializer::EndReport() Success!
    05-14 17:30:53.722 25799 25799 I DEBUG : Current uptime at crash: 2673 seconds
    05-14 17:30:53.973 25799 25799 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    05-14 17:30:53.973 25799 25799 F DEBUG : Build fingerprint: 'oculus/hollywood/hollywood:12/SQ3A.220605.009.A1/50837850062000150:user/release-keys'
    05-14 17:30:53.973 25799 25799 F DEBUG : Revision: '0'
    05-14 17:30:53.973 25799 25799 F DEBUG : ABI: 'arm64'
    05-14 17:30:53.973 25799 25799 F DEBUG : Timestamp: 2024-05-14 17:30:53.722354143+0000
    05-14 17:30:53.973 25799 25799 F DEBUG : Process uptime: 11s
    05-14 17:30:53.973 25799 25799 F DEBUG : Diagnostic-Collection-Type: Tombstone Proto
    05-14 17:30:53.973 25799 25799 F DEBUG : Has-Diagnostic-Summary: Yes
    05-14 17:30:53.973 25799 25799 F DEBUG : APK-Location: /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/base.apk
    05-14 17:30:53.973 25799 25799 F DEBUG : Debugging: No
    05-14 17:30:53.973 25799 25799 F DEBUG : Has-Waited-For-Debugger: No
    05-14 17:30:53.973 25799 25799 F DEBUG : Last-Activity-Time: 2662006
    05-14 17:30:53.973 25799 25799 F DEBUG : Process-Runtime: 11211
    05-14 17:30:53.973 25799 25799 F DEBUG : Waiting-To-Kill:
    05-14 17:30:53.973 25799 25799 F DEBUG : Killed-By-AM: No
    05-14 17:30:53.973 25799 25799 F DEBUG : Removed: No
    05-14 17:30:53.973 25799 25799 F DEBUG : Wanted-ANR-Ui: No
    05-14 17:30:53.973 25799 25799 F DEBUG : Killed: No
    05-14 17:30:53.973 25799 25799 F DEBUG : OOM-Score-Adj: 0
    05-14 17:30:53.973 25799 25799 F DEBUG : Wanted-Error-Ui: No
    05-14 17:30:53.973 25799 25799 F DEBUG : Kill-Time: 0
    05-14 17:30:53.973 25799 25799 F DEBUG : State: TOP
    05-14 17:30:53.973 25799 25799 F DEBUG : Foreground: Yes
    05-14 17:30:53.973 25799 25799 F DEBUG : Executable: /system/bin/app_process64
    05-14 17:30:53.973 25799 25799 F DEBUG : Cmdline: com.DefaultCompany.AGC_LatestTest
    05-14 17:30:53.973 25799 25799 F DEBUG : pid: 25655, tid: 25706, name: Thread-2 >>> com.DefaultCompany.AGC_LatestTest <<<
    05-14 17:30:53.973 25799 25799 F DEBUG : uid: 10028
    05-14 17:30:53.973 25799 25799 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    05-14 17:30:53.973 25799 25799 F DEBUG : Cause: null pointer dereference
    05-14 17:30:53.973 25799 25799 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 0000000000000010 x3 0000000000009146
    05-14 17:30:53.973 25799 25799 F DEBUG : x4 0000000000000010 x5 000000000000003b x6 0000007b03fb92f0 x7 7f7f7f7f7f7f7f7f
    05-14 17:30:53.973 25799 25799 F DEBUG : x8 0000000000000006 x9 0000000000000000 x10 0000000000001cf1 x11 0000000000000073
    05-14 17:30:53.973 25799 25799 F DEBUG : x12 0000000000000502 x13 0000007c44a5f480 x14 b400007adead10f0 x15 0000000000000000
    05-14 17:30:53.973 25799 25799 F DEBUG : x16 0000007bf1744848 x17 0000007cffd43840 x18 0000007b00c16000 x19 0000007ba1e5a660
    05-14 17:30:53.973 25799 25799 F DEBUG : x20 0000000000000000 x21 0000000000000002 x22 0000000000000010 x23 0000000000000000
    05-14 17:30:53.973 25799 25799 F DEBUG : x24 0000000000008f37 x25 0000007bf03f3ea4 x26 0000007bf1828000 x27 0000007ba1e5a660
    05-14 17:30:53.973 25799 25799 F DEBUG : x28 0000007b30b22530 x29 0000007b30b1f630
    05-14 17:30:53.973 25799 25799 F DEBUG : lr 0000007bf0fbcb00 sp 0000007b03fba390 pc 0000007cffd43894 pst 0000000060001000
    05-14 17:30:53.973 25799 25799 F DEBUG : backtrace:
    05-14 17:30:53.973 25799 25799 F DEBUG : #00 pc 0000000000083894 /apex/com.android.runtime/lib64/bionic/libc.so (memset+84) (BuildId: 0121d6b135c6faf9599fd1ea120a8cf3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #01 pc 0000000000da3afc /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (ApiGLES::ClearBufferSubData(unsigned int, gl::BufferTarget, long, long)+164) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #02 pc 0000000000d7d8e4 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (BufferManagerGLES::AcquireBuffer(unsigned long, DataBufferGLES::BufferUsage, GfxBuffer*, bool)+572) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #03 pc 0000000000d93ae8 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceGLES::UpdateComputeConstantBuffers(unsigned int, ConstantBufferHandle*, unsigned int, unsigned long, unsigned char const*, unsigned int const*, unsigned int const*, int const*)+312) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #04 pc 0000000000f874e0 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)+18760) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #05 pc 0000000000f82b30 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)+84) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #06 pc 0000000000f82ad0 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::Run()+140) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #07 pc 0000000000f82854 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)+4) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #08 pc 00000000007634a4 /data/app/~~T8Xiyq83A7z5Dvc5UZE-eg==/com.DefaultCompany.AGC_LatestTest-h7vHNkiSiR-Tm-LcU_fINg==/lib/arm64/libunity.so (Thread::RunThreadWrapper(void*)+1048) (BuildId: e6f15bdd6da9c4c3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #09 pc 00000000000df308 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+132) (BuildId: 0121d6b135c6faf9599fd1ea120a8cf3)
    05-14 17:30:53.973 25799 25799 F DEBUG : #10 pc 000000000008b36c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 0121d6b135c6faf9599fd1ea120a8cf3)
    05-14 17:30:54.009 25655 25655 I Unity : onPause
    05-14 17:30:54.216 1146 4212 I ActivityManager: Process com.DefaultCompany.AGC_LatestTest (pid 25655) has died: fg TOP
    05-14 17:30:54.308 1146 1177 W ActivityManager: setHasOverlayUi called on unknown pid: 25655
     
  2. Tanya_Li

    Tanya_Li

    Unity Technologies

    Joined:
    Jun 29, 2020
    Posts:
    109
    humanMusic likes this.