Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug App Crashing VERY randomly on Quest 2

Discussion in 'VR' started by jul14n4rn0ld, Feb 7, 2023.

  1. jul14n4rn0ld

    jul14n4rn0ld

    Joined:
    Feb 27, 2019
    Posts:
    2
    Hey there,
    I'm working on a system for rendering non-euclidian level geometry.
    When testing on Quest, the project keeps crashing at some time from around 10 seconds to a couple minutes and I cannot figure out why. This only happens when playing an APK on the Quest, I've never seen it crash in the editor. I was not able to find any pattern when or why it crashes, sometimes it crashed after a couple minutes of walking around, and sometimes after a couple seconds of doing nothing.

    I am using Unity 2022.1.13f1 with URP and OpenGLES3 on Quest 2. This also appeared when building on an another PC and running on another Quest.

    I honestly feel pretty clueless and don't have experience debugging stuff like that and nobody on my team had any idea.

    Code (CSharp):
    1. --------- beginning of crash
    2. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: FATAL EXCEPTION: main
    3. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: Process: com.DefaultCompany.PlausibleSpaceRendering, PID: 32502
    4. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    5. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: Version '2022.1.13f1 (22856944e6d2)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
    6. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/49882890192000150:user/release-keys'
    7. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: Revision: '0'
    8. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: ABI: 'arm'
    9. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: Timestamp: 2023-02-07 21:35:39+0100
    10. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: pid: 32502, tid: 32563, name: Thread-2  >>> com.DefaultCompany.PlausibleSpaceRendering <<<
    11. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: uid: 10064
    12. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb2110000
    13. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:     r0  bfa47260  r1  b2110000  r2  ffffff90  r3  00000000
    14. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:     r4  c249c0e8  r5  00000200  r6  bfa47000  r7  b210fda0
    15. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:     r8  c9115fa0  r9  c249c0e8  r10 ca707af0  r11 00000290
    16. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:     ip  f236a230  sp  c249bf30  lr  cba13d4c  pc  f231f5c4
    17. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:
    18. 02-07 21:37:33.938 32502 32502 E AndroidRuntime: backtrace:
    19. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:       #00 pc 0005b5c4  /apex/com.android.runtime/lib/bionic/libc.so (strcat_a9+152) (BuildId: 412b3f89043ee721cb892d6b5f53c486)
    20. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:       #01 pc 00811d48  /data/app/com.DefaultCompany.PlausibleSpaceRendering-F9W9XqPGZBrQ3KZoZ-o8uA==/lib/arm/libunity.so (BuildId: 6f8cf1393a138b1e4cd0e6f7ac00ded7d8695372)
    21. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:
    22. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:     at libc.strcat_a9(strcat_a9:152)
    23. 02-07 21:37:33.938 32502 32502 E AndroidRuntime:     at libunity.0x811d48(Native Method)
    24. 02-07 21:37:33.939  1067  8181 W ActivityTaskManager:   Force finishing activity com.DefaultCompany.PlausibleSpaceRendering/com.unity3d.player.UnityPlayerActivity
    25. 02-07 21:37:33.940  1067   664 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
    26.  
    27.  
    28. 02-07 21:39:24.021  1062  1168 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    29. 02-07 21:39:24.021  1062  1168 E CRASH   : Version '2022.1.13f1 (22856944e6d2)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
    30. 02-07 21:39:24.021  1062  1168 E CRASH   : Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/49882890192000150:user/release-keys'
    31. 02-07 21:39:24.021  1062  1168 E CRASH   : Revision: '0'
    32. 02-07 21:39:24.021  1062  1168 E CRASH   : ABI: 'arm'
    33. 02-07 21:39:24.021  1062  1168 E CRASH   : Timestamp: 2023-02-07 21:39:24+0100
    34. 02-07 21:39:24.021  1062  1168 E CRASH   : pid: 1062, tid: 1168, name: Thread-2  >>> com.DefaultCompany.PlausibleSpaceRendering <<<
    35. 02-07 21:39:24.021  1062  1168 E CRASH   : uid: 10064
    36. 02-07 21:39:24.021  1062  1168 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb20d0000
    37. 02-07 21:39:24.021  1062  1168 E CRASH   :     r0  de9a0260  r1  b20cfff0  r2  ffffff90  r3  00000000
    38. 02-07 21:39:24.021  1062  1168 E CRASH   :     r4  c24cc0e8  r5  00000200  r6  de9a0000  r7  b20cfd90
    39. 02-07 21:39:24.021  1062  1168 E CRASH   :     r8  c9135fa0  r9  c24cc0e8  r10 ca710310  r11 00000290
    40. 02-07 21:39:24.021  1062  1168 E CRASH   :     ip  f236a230  sp  c24cbf30  lr  cba20d4c  pc  f231f5c4
    41. 02-07 21:39:24.021  1062  1168 E CRASH   :
    42. 02-07 21:39:24.021  1062  1168 E CRASH   : backtrace:
    43. 02-07 21:39:24.021  1062  1168 E CRASH   :       #00 pc 0005b5c4  /apex/com.android.runtime/lib/bionic/libc.so (strcat_a9+152) (BuildId: 412b3f89043ee721cb892d6b5f53c486)
    44. 02-07 21:39:24.021  1062  1168 E CRASH   :       #01 pc 00811d48  /data/app/com.DefaultCompany.PlausibleSpaceRendering-F9W9XqPGZBrQ3KZoZ-o8uA==/lib/arm/libunity.so (BuildId: 6f8cf1393a138b1e4cd0e6f7ac00ded7d8695372)
    45.  
    46.  
    47. 02-07 21:39:51.709  1062  1062 E CRASH   : other thread is trapped; signum = 11
    48. 02-07 21:39:51.709  1062  1062 D AndroidRuntime: Shutting down VM
    49. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: FATAL EXCEPTION: main
    50. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: Process: com.DefaultCompany.PlausibleSpaceRendering, PID: 1062
    51. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    52. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: Version '2022.1.13f1 (22856944e6d2)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
    53. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/49882890192000150:user/release-keys'
    54. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: Revision: '0'
    55. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: ABI: 'arm'
    56. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: Timestamp: 2023-02-07 21:39:24+0100
    57. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: pid: 1062, tid: 1168, name: Thread-2  >>> com.DefaultCompany.PlausibleSpaceRendering <<<
    58. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: uid: 10064
    59. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb20d0000
    60. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:     r0  de9a0260  r1  b20cfff0  r2  ffffff90  r3  00000000
    61. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:     r4  c24cc0e8  r5  00000200  r6  de9a0000  r7  b20cfd90
    62. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:     r8  c9135fa0  r9  c24cc0e8  r10 ca710310  r11 00000290
    63. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:     ip  f236a230  sp  c24cbf30  lr  cba20d4c  pc  f231f5c4
    64. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:
    65. 02-07 21:39:51.710  1062  1062 E AndroidRuntime: backtrace:
    66. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:       #00 pc 0005b5c4  /apex/com.android.runtime/lib/bionic/libc.so (strcat_a9+152) (BuildId: 412b3f89043ee721cb892d6b5f53c486)
    67. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:       #01 pc 00811d48  /data/app/com.DefaultCompany.PlausibleSpaceRendering-F9W9XqPGZBrQ3KZoZ-o8uA==/lib/arm/libunity.so (BuildId: 6f8cf1393a138b1e4cd0e6f7ac00ded7d8695372)
    68. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:
    69. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:     at libc.strcat_a9(strcat_a9:152)
    70. 02-07 21:39:51.710  1062  1062 E AndroidRuntime:     at libunity.0x811d48(Native Method)
    71. 02-07 21:39:51.712  1067  3887 W ActivityTaskManager:   Force finishing activity com.DefaultCompany.PlausibleSpaceRendering/com.unity3d.player.UnityPlayerActivity
    these are the parts from ADB that seemed relevant for the crash, but I have attached the whole log.
     

    Attached Files:

    dchen05 likes this.
  2. HRDev

    HRDev

    Joined:
    Jun 4, 2018
    Posts:
    50
    Hey i'm having the same problem, did you find any solution?
     
  3. Deltigre

    Deltigre

    Unity Technologies

    Joined:
    Sep 13, 2022
    Posts:
    30
    I don't intend this as a permanent solution, but what happens if you use the IL2CPP back-end? Also, are you using the Oculus or OpenXR provider?
     
    DevDunk likes this.
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,497
    updating to 2022.2 might also help with stability