A browser app that runs on Oculus The following is built based on OSS. https://github.com/IanPhilips/UnityOculusAndroidVRBrowser
The above program calls AAR (plug-in based on Mozilla Gecoko engine) from Unity, Change AAR to ARM64 format and build in Android Studio (this was successful), After that, resolve the dependency with the external dependency manager (no problem here either) When I build with Unity and start with Oculus, a crash occurs.
Both of us Unity and Android are beginners I couldn't tell if the cause of the crash was the Unity settings, I would like to ask for your help.
<< Problems / Error Messages Occurring >>
2021/11/01 08:44:15.307 3575 3720 Info GeckoConsole [email protected]:825:14
2021/11/01 08:44:15.307 3575 3720 Info GeckoConsole [email protected]:3530:26
2021/11/01 08:44:15.307 3575 3720 Info GeckoConsole [email protected]:87:29
2021/11/01 08:44:15.320 3575 3720 Debug GeckoThread State changed to PROFILE_READY
2021/11/01 08:44:15.334 3575 3720 Debug GeckoViewStartup observe: profile-after-change
2021/11/01 08:44:15.345 3575 3598 Error CRASH Tombstone written to: /storage/emulated/0/Android/data/com.ianphilips.UnityAndroidVRBrowser/files/tombstone_02
0001/01/01 00:00:00.000 -1 -1 Info --------- beginning of crash
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime FATAL EXCEPTION: UnityMain
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime Process: com.ianphilips.UnityAndroidVRBrowser, PID: 3575
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime Version '2021.1.26f1 (1b5859ff248a)', Build type 'Development', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/19130100300900000:user/release-keys'
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime Revision: '0'
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime ABI: 'arm64'
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime Timestamp: 2021-11-01 08:44:15+0900
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime pid: 3575, tid: 3598, name: UnityMain >>> com.ianphilips.UnityAndroidVRBrowser <<<
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime uid: 10032
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x0 0000000000000000 x1 0000000000000e0e x2 0000000000000006 x3 00000073612bcce0
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x4 fefeff72602ac44f x5 fefeff72602ac44f x6 fefeff72602ac44f x7 7f7f7f7f7f7fff7f
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x8 00000000000000f0 x9 d730ef2d0a3aab90 x10 0000000000000001 x11 0000000000000000
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x12 fffffff0fffffbdf x13 0000000000000001 x14 0000000000000004 x15 ffffffffffffffff
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x16 0000007448de3140 x17 0000007448dc6b00 x18 0000000000000000 x19 0000000000000df7
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x20 0000000000000e0e x21 00000000ffffffff x22 000000725e54a7c0 x23 00000073c83eb000
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x24 00000073c7ed59e1 x25 0000000000000001 x26 000000744caf1830 x27 000000000000000b
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime x28 000000744cf2f0a0 x29 00000073612bcd60
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime sp 00000073612bccc0 lr 0000007448d83c3c pc 0000007448d83c68
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime backtrace:
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #00 pc 0000000000080c68 /apex/com.android.runtime/lib64/bionic/libc.so (prop_area::find_property(prop_bt*, char const*, unsigned int, char const*, unsigned int, bool)+36) (BuildId: a6e0ca3a9989715134d1d1e2126e0f7a)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #01 pc 00000000004b7bdc /apex/com.android.runtime/lib64/libart.so (art::Runtime::AttachCurrentThread(char const*, bool, _jobject*, bool)+1088) (BuildId: d147ca43e755bcf9b2c62e5c4d84964e)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #02 pc 000000000000c064 /system/lib64/libbase.so (BuildId: 756417368cfe5e4975ee1bf643f72905)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #03 pc 00000000003780c0 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckNonHeap(art::JavaVMExt*, bool, char const*, art::(anonymous namespace)::JniValueType*)+2908) (BuildId: d147ca43e755bcf9b2c62e5c4d84964e)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #04 pc 0000000000378274 /apex/com.android.runtime/lib64/libart.so (art::JavaVMExt::JavaVMExt(art::Runtime*, art::RuntimeArgumentMap const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+200) (BuildId: d147ca43e755bcf9b2c62e5c4d84964e)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #05 pc 000000000036a6ec /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::VarArgs::GetValue(char)+684) (BuildId: d147ca43e755bcf9b2c62e5c4d84964e)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #06 pc 000000000036b40c /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckNonHeapValue(char, art::(anonymous namespace)::JniValueType)+700) (BuildId: d147ca43e755bcf9b2c62e5c4d84964e)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #07 pc 00000000001cbe9c /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (AndroidJNIBindingsHelpers::DeleteLocalRef(void*)+84) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #08 pc 00000000004f0684 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libil2cpp.so (BuildId: 45def9585e1936a37c655c6d05995f36f2237f62)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #09 pc 00000000006683fc /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libil2cpp.so (BuildId: 45def9585e1936a37c655c6d05995f36f2237f62)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #10 pc 000000000040caec /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libil2cpp.so (BuildId: 45def9585e1936a37c655c6d05995f36f2237f62)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #11 pc 000000000040ca4c /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libil2cpp.so (BuildId: 45def9585e1936a37c655c6d05995f36f2237f62)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #12 pc 0000000000403474 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)+164) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #13 pc 0000000000414014 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)+156) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #14 pc 000000000041e974 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (Coroutine::InvokeMoveNext(ScriptingExceptionPtr*)+156) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #15 pc 000000000041e534 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (Coroutine::Run(bool*)+44) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #16 pc 000000000023b6d4 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (DelayedCallManager::Update(int)+552) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #17 pc 00000000002d48c0 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #18 pc 00000000002d4f3c /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+92) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #19 pc 00000000002d4f7c /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)+156) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #20 pc 00000000002d521c /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (PlayerLoop()+312) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #21 pc 000000000049904c /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (UnityPlayerLoop()+736) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #22 pc 00000000004b6400 /data/app/com.ianphilips.UnityAndroidVRBrowser-IzrMclg7cDYGb3Xz6TYu6w==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+72) (BuildId: 4c9c026cff329e1f8b53e6736a83e51d13524011)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime #23 pc 0000000000142950 /apex/com.android.runtime/lib64/libart.so (art_quick_alloc_array_resolved_region_tlab+112) (BuildId: d147ca43e755bcf9b2c62e5c4d84964e)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libc.prop_area::find_property(prop_bt*, char const*, unsigned int, char const*, unsigned int, bool)(find_property:36)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libart.art::Runtime::AttachCurrentThread(char const*, bool, _jobject*, bool)(AttachCurrentThread:1088)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libbase.0xc064(Native Method)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libart.art::(anonymous namespace)::ScopedCheck::CheckNonHeap(art::JavaVMExt*, bool, char const*, art::(anonymous namespace)::JniValueType*)(:2908)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libart.art::JavaVMExt::JavaVMExt(art::Runtime*, art::RuntimeArgumentMap const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)(JavaVMExt:200)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libart.art::(anonymous namespace)::VarArgs::GetValue(char)(:684)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libart.art::(anonymous namespace)::ScopedCheck::CheckNonHeapValue(char, art::(anonymous namespace)::JniValueType)(:700)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.AndroidJNIBindingsHelpers::DeleteLocalRef(void*)(DeleteLocalRef:84)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libil2cpp.0x4f0684(Native Method)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libil2cpp.0x6683fc(Native Method)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libil2cpp.0x40caec(Native Method)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libil2cpp.0x40ca4c(Native Method)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)(scripting_method_invoke:164)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)(Invoke:156)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.Coroutine::InvokeMoveNext(ScriptingExceptionPtr*)(InvokeMoveNext:156)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.Coroutine::Run(bool*)(Run:44)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.DelayedCallManager::Update(int)(Update:552)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.0x2d48c0(Native Method)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.ExecutePlayerLoop(NativePlayerLoopSystem*)(ExecutePlayerLoop:92)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.ExecutePlayerLoop(NativePlayerLoopSystem*)(ExecutePlayerLoop:156)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.PlayerLoop()(PlayerLoop:312)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.UnityPlayerLoop()(UnityPlayerLoop:736)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libunity.nativeRender(_JNIEnv*, _jobject*)(nativeRender:72)
2021/11/01 08:44:15.346 3575 3598 Error AndroidRuntime at libart.art_quick_alloc_array_resolved_region_tlab(art_quick_alloc_array_resolved_region_tlab:112)
2021/11/01 08:44:15.351 3575 3720 Debug GeckoThread State changed to RUNNING
2021/11/01 08:44:15.357 3575 3720 Info Gecko -*- nsDNSServiceDiscovery.js : nsDNSServiceDiscovery
2021/11/01 08:44:15.374 3575 3575 Debug ActivityLifecycleListener onActivityPaused
2021/11/01 08:44:15.374 3575 3575 Info OpenXR nativeOnActivityPaused
2021/11/01 08:44:15.375 3575 3575 Info Unity onPause
2021/11/01 08:44:15.377 3575 3598 Info Process Sending signal. PID: 3575 SIG: 9
<< What I tried >>
・Version change of gecko library
・Changed Minimul API Level to 26 recommended by Oculus