BUG: Build Crash at Launch on Quest (Vulcan). OPENGLES 3 runs (but Oculus needs Vulcan)

Unity 2022.3.5
Vulcan (required for Oculus using certain features)
Android API 12 level 32 (as required by Oculus for submissions)
Build only contains WebRTC pre7, Oculus SDK v57, and UniTask 2.4.1

2023/10/14 01:18:15.637 21474 21474 Error ebRTCOculusTes Not starting debugger since process cannot load the jdwp agent.
2023/10/14 01:18:15.650 21474 21474 Debug CompatibilityChangeReporter Compat change id reported: 171979766; UID 10107; state: ENABLED
2023/10/14 01:18:15.665 21474 21474 Verbose GraphicsEnvironment ANGLE Developer option for ‘com.ZeroTransform.WebRTCOculusTest’ set to: ‘default’
2023/10/14 01:18:15.665 21474 21474 Verbose GraphicsEnvironment ANGLE GameManagerService for com.ZeroTransform.WebRTCOculusTest: false
2023/10/14 01:18:15.665 21474 21474 Verbose GraphicsEnvironment Neither updatable production driver nor prerelease driver is supported.
2023/10/14 01:18:15.665 21474 21474 Debug CompatibilityChangeReporter Compat change id reported: 175409949; UID 10107; state: DISABLED
2023/10/14 01:18:15.665 21474 21474 Debug CompatibilityChangeReporter Compat change id reported: 175409951; UID 10107; state: ENABLED
2023/10/14 01:18:15.666 21474 21474 Debug CompatibilityChangeReporter Compat change id reported: 175409950; UID 10107; state: DISABLED
2023/10/14 01:18:15.666 21474 21474 Debug NetworkSecurityConfig Using Network Security Config from resource network_sec_config debugBuild: false
2023/10/14 01:18:15.666 21474 21474 Debug NetworkSecurityConfig Using Network Security Config from resource network_sec_config debugBuild: false
2023/10/14 01:18:15.689 21474 21474 Info IL2CPP JNI_OnLoad
2023/10/14 01:18:15.698 21474 21474 Debug CompatibilityChangeReporter Compat change id reported: 175409955; UID 10107; state: DISABLED
2023/10/14 01:18:15.699 21474 21474 Debug CompatibilityChangeReporter Compat change id reported: 175409954; UID 10107; state: DISABLED
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 QUALCOMM build : 0e646b483c, Ie12d007205
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Build Date : 08/16/23
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 OpenGL ES Shader Compiler Version: E031.42.07.00
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Local Branch :
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Remote Branch :
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Remote Branch :
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Reconstruct Branch :
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Build Config : S P 12.1.6 AArch64
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Driver Version : 0728.0
2023/10/14 01:18:19.782 21474 21490 Info AdrenoGLES-0 Process Name : com.ZeroTransform.WebRTCOculusTest
2023/10/14 01:18:19.785 21474 21490 Info AdrenoGLES-0 PFP: 0x01511158, ME: 0x00000000
2023/10/14 01:18:19.787 21474 21490 Info AdrenoUtils ReadGpuID:417: Reading chip ID through GSL
2023/10/14 01:18:19.814 21474 21493 Info Unity MemoryManager: Using ‘Dynamic Heap’ Allocator.
2023/10/14 01:18:19.841 21474 21493 Info Unity SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 6, Memory = 7742mb
2023/10/14 01:18:19.841 21474 21493 Info Unity SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0x3c), 2 little (mask: 0x3)
2023/10/14 01:18:19.841 21474 21493 Info Unity ApplicationInfo com.ZeroTransform.WebRTCOculusTest version 0.1
2023/10/14 01:18:19.841 21474 21493 Info Unity Built from ‘2022.3/release’ branch, Version ‘2022.3.5f1 (9674261d40ee)’, Build type ‘Release’, Scripting Backend ‘il2cpp’, CPU ‘arm64-v8a’, Stripping ‘Enabled’
2023/10/14 01:18:20.090 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.090 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.091 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.091 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.092 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.092 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.093 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.095 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.095 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.095 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.095 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.095 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.096 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.096 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.096 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.096 21474 21493 Error libprocessgroup set_timerslack_ns write failed: Operation not permitted
2023/10/14 01:18:20.104 21474 21493 Error rtc #
2023/10/14 01:18:20.104 21474 21493 Error rtc # Fatal error in: …/src/sdk/android/src/jni/jni_generator_helper.cc, line 27
2023/10/14 01:18:20.104 21474 21493 Error rtc # last system error: 88
2023/10/14 01:18:20.104 21474 21493 Error rtc # Check failed: !clazz.is_null()
2023/10/14 01:18:20.104 21474 21493 Error rtc # org/webrtc/WebRtcClassLoader
2023/10/14 01:18:20.123 21474 21493 Error CRASH *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023/10/14 01:18:20.123 21474 21493 Error CRASH Version ‘2022.3.5f1 (9674261d40ee)’, Build type ‘Release’, Scripting Backend ‘il2cpp’, CPU ‘arm64-v8a’
2023/10/14 01:18:20.123 21474 21493 Error CRASH Build fingerprint: ‘oculus/eureka/eureka:12/SQ3A.220605.009.A1/49698210068300510:user/release-keys’
2023/10/14 01:18:20.123 21474 21493 Error CRASH Revision: ‘0’
2023/10/14 01:18:20.123 21474 21493 Error CRASH ABI: ‘arm64’
2023/10/14 01:18:20.123 21474 21493 Error CRASH Timestamp: 2023-10-14 01:18:20.123494561-0700
2023/10/14 01:18:20.123 21474 21493 Error CRASH pid: 21474, tid: 21493, name: UnityMain >>> com.ZeroTransform.WebRTCOculusTest <<<
2023/10/14 01:18:20.123 21474 21493 Error CRASH uid: 10107
2023/10/14 01:18:20.123 21474 21493 Error CRASH signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2023/10/14 01:18:20.123 21474 21493 Error CRASH x0 0000000000000000 x1 00000000000053f5 x2 0000000000000006 x3 0000007901ff9520
2023/10/14 01:18:20.123 21474 21493 Error CRASH x4 602e6a63722e6271 x5 602e6a63722e6271 x6 602e6a63722e6271 x7 7f7f7f7f7f7f7f7f
2023/10/14 01:18:20.123 21474 21493 Error CRASH x8 00000000000000f0 x9 00000000000053e2 x10 ffffff00fffffbdf x11 ffffff80fffffbdf
2023/10/14 01:18:20.123 21474 21493 Error CRASH x12 0000007901ff7e60 x13 00000000000000a9 x14 0000007901ff7f10 x15 00000023133f5ff4
2023/10/14 01:18:20.123 21474 21493 Error CRASH x16 0000007a1394bdc0 x17 0000007a139298f0 x18 00000078e9bf6000 x19 00000000000053e2
2023/10/14 01:18:20.123 21474 21493 Error CRASH x20 00000000000053f5 x21 00000000ffffffff x22 0000007847586ed0 x23 aaaaaaaaaaaaaaaa
2023/10/14 01:18:20.123 21474 21493 Error CRASH x24 0000007846cf3048 x25 0000000000000000 x26 b40000790070b880 x27 b400007a19294b40
2023/10/14 01:18:20.123 21474 21493 Error CRASH x28 0000007981952190 x29 0000007901ff95a0
2023/10/14 01:18:20.123 21474 21493 Error CRASH lr 0000007a138e5d70 sp 0000007901ff9500 pc 0000007a138e5da0 pst 0000000000001000
2023/10/14 01:18:20.123 21474 21493 Error CRASH backtrace:
2023/10/14 01:18:20.123 21474 21493 Error CRASH #00 pc 000000000008ada0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 159f921b19bd0d0b31e925714075af9b)
2023/10/14 01:18:20.123 21474 21493 Error CRASH #01 pc 0000000000153b80 /data/app/~~NDeV86a-0505TQcZHxmFag==/com.ZeroTransform.WebRTCOculusTest-QMfOH5ckUjm-kjgNebXiZw==/lib/arm64/libwebrtc.so (rtc::webrtc_checks_impl::WriteFatalLog(char const*, int, std::__ndk1::basic_string_view<char, std::__ndk1::char_traits >))
2023/10/14 01:18:20.123 21474 21493 Error CRASH #02 pc 000000000015422c /data/app/~~NDeV86a-0505TQcZHxmFag==/com.ZeroTransform.WebRTCOculusTest-QMfOH5ckUjm-kjgNebXiZw==/lib/arm64/libwebrtc.so (rtc::webrtc_checks_impl::UnreachableCodeReached())
2023/10/14 01:18:20.123 21474 21493 Error CRASH #03 pc 0000000000378088 /data/app/~~NDeV86a-0505TQcZHxmFag==/com.ZeroTransform.WebRTCOculusTest-QMfOH5ckUjm-kjgNebXiZw==/lib/arm64/libwebrtc.so (webrtc::ScopedJavaGlobalRef<_jclass*>::~ScopedJavaGlobalRef())
2023/10/14 01:18:20.123 21474 21493 Error CRASH #04 pc 0000000000375348 /data/app/~~NDeV86a-0505TQcZHxmFag==/com.ZeroTransform.WebRTCOculusTest-QMfOH5ckUjm-kjgNebXiZw==/lib/arm64/libwebrtc.so (webrtc::InitClassLoader(_JNIEnv*)+56)
2023/10/14 01:18:20.123 21474 21493 Error CRASH #05 pc 000000000013505c /data/app/~~NDeV86a-0505TQcZHxmFag==/com.ZeroTransform.WebRTCOculusTest-QMfOH5ckUjm-kjgNebXiZw==/lib/arm64/libwebrtc.so (JNI_OnLoad+20)
2023/10/14 01:18:20.123 21474 21493 Error CRASH #06 pc 000000000045a400 /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >*)+3088) (BuildId: 90220e574e6525b810294ad190af8297)
2023/10/14 01:18:20.123 21474 21493 Error CRASH #07 pc 0000000000005210 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+416) (BuildId: 866936420ed8d28874c74cf838cec58d)
2023/10/14 01:18:20.123 21474 21493 Error CRASH #08 pc 0000000000017834 /apex/com.android.art/javalib/arm64/boot.oat (BuildId: 9adc3e502251b82dab534064078080440f556207)
2023/10/14 01:18:20.276 21474 21493 Error CRASH Tombstone written to: /storage/emulated/0/Android/data/com.ZeroTransform.WebRTCOculusTest/files/tombstone_00
2023/10/14 01:18:20.276 21474 21493 Error CRASH Forwarding signal 6
0001/01/01 00:00:00.000 -1 -1 Info --------- beginning of crash
2023/10/14 01:18:20.276 21474 21493 Fatal libc Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 21493 (UnityMain), pid 21474 (ebRTCOculusTest)

While it does work in OpenGLES3, I can’t submit to the oculus store in that state.
9408731--1317398--Captureovr.JPG

This log looks strange, the initialization process is GLES, not Vulkan.

Is this related issue?
https://community.lightship.dev/t/crash-when-lauching-app-on-android-11/2020

I dont think that issue is related. An empty project with Oculus SDK builds fine with Vulkan, but crashes when WebRTC is added. Setting it to OpenGLES prevents the crash, but Vulkan is required.

I have the same issue, any update?

No update.
There is the thread for the same issue.

https://discussions.unity.com/t/932242