Open unnamed7 opened 3 years ago
@unnamed7 Please tell the android device name. We have received reports that the same issue from users.
@karasusan do-mo, It's Pixel4 - Android V11.
@karasusan Hi Matsumotosan, I checked with another device, ZTE AXON7 Android7.0. Also changed Unity version to the latest 3.11f1. The result was the same, crash as soon as it launches. This time though, I got a better crash dump than on pixel4, looks like something to do with the vulkan lib. Hope this helps, yoroshiku onegaishimasu.
06-13 23:11:36.921: E/CRASH(24972): 06-13 23:11:36.921: E/CRASH(24972): Version '2020.3.11f1 (99c7afb366b3)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 06-13 23:11:36.921: E/CRASH(24972): Build fingerprint: 'ZTE/P996A04_JP/ailsa_ii:7.1.1/NMF26V/20180808.170213:user/release-keys' 06-13 23:11:36.921: E/CRASH(24972): Revision: '0' 06-13 23:11:36.921: E/CRASH(24972): ABI: 'arm64' 06-13 23:11:36.921: E/CRASH(24972): Timestamp: 2021-06-13 23:11:36+0900 06-13 23:11:36.921: E/CRASH(24972): pid: 24972, tid: 24993, name: UnityMain >>> com.DefaultCompany.IL2CPPTEST <<< 06-13 23:11:36.921: E/CRASH(24972): uid: 10143 06-13 23:11:36.921: E/CRASH(24972): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c 06-13 23:11:36.921: E/CRASH(24972): Cause: null pointer dereference 06-13 23:11:36.921: E/CRASH(24972): x0 0000000000000001 x1 0000007f67165508 x2 0000000000000046 x3 0000000000000045 06-13 23:11:36.921: E/CRASH(24972): x4 0000000000000000 x5 09020d08070a0619 x6 19060a07080d0209 x7 00000000e05a88cc 06-13 23:11:36.921: E/CRASH(24972): x8 0000007f874d7540 x9 0000000000000004 x10 0101010101010101 x11 0000000000000003 06-13 23:11:36.921: E/CRASH(24972): x12 000000000ccccccc x13 000000008000002f x14 0000007f89a71fa8 x15 0000007f89a71c4c 06-13 23:11:36.921: E/CRASH(24972): x16 0000007f874d7da8 x17 0000007f899e7b5c x18 0000000000000000 x19 0000007f67165505 06-13 23:11:36.921: E/CRASH(24972): x20 000000000000002c x21 7647f46340162d6c x22 0000007f874d7320 x23 0000007f874d6ce0 06-13 23:11:36.921: E/CRASH(24972): x24 0000000000000000 x25 0000000000000000 x26 0000007f874d7320 x27 0000007f671658f2 06-13 23:11:36.921: E/CRASH(24972): x28 0000007f6b5e3000 x29 0000007f7e567fd0 06-13 23:11:36.921: E/CRASH(24972): sp 0000007f7e567f70 lr 0000007f874c484c pc 0000007f874c4850 06-13 23:11:36.921: E/CRASH(24972): backtrace: 06-13 23:11:36.921: E/CRASH(24972): #00 pc 000000000000b850 /system/lib64/libvulkan.so (BuildId: 612cfc3ae220c6dc5432dad35ee9e3a5) 06-13 23:11:36.921: E/CRASH(24972): #01 pc 0000000000122764 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libwebrtc.so (unity::webrtc::LoadInstanceVulkanFunction(VkInstance_T)+36) 06-13 23:11:36.921: E/CRASH(24972): #02 pc 00000000001231c4 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libwebrtc.so (unity::webrtc::Hook_vkCreateInstance(VkInstanceCreateInfo const, VkAllocationCallbacks const*, VkInstance_T)+520) 06-13 23:11:36.921: E/CRASH(24972): #03 pc 0000000000339644 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #04 pc 0000000000337d4c /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #05 pc 0000000000464dfc /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #06 pc 00000000002eef04 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #07 pc 00000000002dbb2c /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #08 pc 00000000002dc654 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #09 pc 00000000002f0aa0 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:36.921: E/CRASH(24972): #10 pc 00000000000950e0 /data/app/com.DefaultCompany.IL2CPPTEST-1/oat/arm64/base.odex 06-13 23:11:36.951: E/choj(2629): ~~~ Channel {0} was not shutdown properly!!! ~~~ 06-13 23:11:36.951: E/choj(2629): Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true. 06-13 23:11:37.141: E/CRASH(24972): Tombstone written to: /storage/emulated/0/Android/data/com.DefaultCompany.IL2CPPTEST/files/tombstone_01 06-13 23:11:37.151: E/AndroidRuntime(24972): FATAL EXCEPTION: UnityMain 06-13 23:11:37.151: E/AndroidRuntime(24972): Process: com.DefaultCompany.IL2CPPTEST, PID: 24972 06-13 23:11:37.151: E/AndroidRuntime(24972): java.lang.Error: FATAL EXCEPTION [UnityMain] 06-13 23:11:37.151: E/AndroidRuntime(24972): Unity version : 2020.3.11f1 06-13 23:11:37.151: E/AndroidRuntime(24972): Device model : ZTE ZTE A2017G 06-13 23:11:37.151: E/AndroidRuntime(24972): Device fingerprint: ZTE/P996A04_JP/ailsa_ii:7.1.1/NMF26V/20180808.170213:user/release-keys 06-13 23:11:37.151: E/AndroidRuntime(24972): Build Type : Release 06-13 23:11:37.151: E/AndroidRuntime(24972): Scripting Backend : IL2CPP 06-13 23:11:37.151: E/AndroidRuntime(24972): ABI : arm64-v8a 06-13 23:11:37.151: E/AndroidRuntime(24972): Strip Engine Code : true 06-13 23:11:37.151: E/AndroidRuntime(24972): Caused by: java.lang.Error: ** 06-13 23:11:37.151: E/AndroidRuntime(24972): Version '2020.3.11f1 (99c7afb366b3)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 06-13 23:11:37.151: E/AndroidRuntime(24972): Build fingerprint: 'ZTE/P996A04_JP/ailsa_ii:7.1.1/NMF26V/20180808.170213:user/release-keys' 06-13 23:11:37.151: E/AndroidRuntime(24972): Revision: '0' 06-13 23:11:37.151: E/AndroidRuntime(24972): ABI: 'arm64' 06-13 23:11:37.151: E/AndroidRuntime(24972): Timestamp: 2021-06-13 23:11:36+0900 06-13 23:11:37.151: E/AndroidRuntime(24972): pid: 24972, tid: 24993, name: UnityMain >>> com.DefaultCompany.IL2CPPTEST <<< 06-13 23:11:37.151: E/AndroidRuntime(24972): uid: 10143 06-13 23:11:37.151: E/AndroidRuntime(24972): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x2c 06-13 23:11:37.151: E/AndroidRuntime(24972): Cause: null pointer dereference 06-13 23:11:37.151: E/AndroidRuntime(24972): x0 0000000000000001 x1 0000007f67165508 x2 0000000000000046 x3 0000000000000045 06-13 23:11:37.151: E/AndroidRuntime(24972): x4 0000000000000000 x5 09020d08070a0619 x6 19060a07080d0209 x7 00000000e05a88cc 06-13 23:11:37.151: E/AndroidRuntime(24972): x8 0000007f874d7540 x9 0000000000000004 x10 0101010101010101 x11 0000000000000003 06-13 23:11:37.151: E/AndroidRuntime(24972): x12 000000000ccccccc x13 000000008000002f x14 0000007f89a71fa8 x15 0000007f89a71c4c 06-13 23:11:37.151: E/AndroidRuntime(24972): x16 0000007f874d7da8 x17 0000007f899e7b5c x18 0000000000000000 x19 0000007f67165505 06-13 23:11:37.151: E/AndroidRuntime(24972): x20 000000000000002c x21 7647f46340162d6c x22 0000007f874d7320 x23 0000007f874d6ce0 06-13 23:11:37.151: E/AndroidRuntime(24972): x24 0000000000000000 x25 0000000000000000 x26 0000007f874d7320 x27 0000007f671658f2 06-13 23:11:37.151: E/AndroidRuntime(24972): x28 0000007f6b5e3000 x29 0000007f7e567fd0 06-13 23:11:37.151: E/AndroidRuntime(24972): sp 0000007f7e567f70 lr 0000007f874c484c pc 0000007f874c4850 06-13 23:11:37.151: E/AndroidRuntime(24972): backtrace: 06-13 23:11:37.151: E/AndroidRuntime(24972): #00 pc 000000000000b850 /system/lib64/libvulkan.so (BuildId: 612cfc3ae220c6dc5432dad35ee9e3a5) 06-13 23:11:37.151: E/AndroidRuntime(24972): #01 pc 0000000000122764 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libwebrtc.so (unity::webrtc::LoadInstanceVulkanFunction(VkInstance_T)+36) 06-13 23:11:37.151: E/AndroidRuntime(24972): #02 pc 00000000001231c4 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libwebrtc.so (unity::webrtc::Hook_vkCreateInstance(VkInstanceCreateInfo const, VkAllocationCallbacks const*, VkInstance_T*)+520) 06-13 23:11:37.151: E/AndroidRuntime(24972): #03 pc 0000000000339644 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #04 pc 0000000000337d4c /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #05 pc 0000000000464dfc /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #06 pc 00000000002eef04 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #07 pc 00000000002dbb2c /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #08 pc 00000000002dc654 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #09 pc 00000000002f0aa0 /data/app/com.DefaultCompany.IL2CPPTEST-1/lib/arm64/libunity.so (BuildId: fdea918006aec52a7f2bfda788f14328c9198f1d) 06-13 23:11:37.151: E/AndroidRuntime(24972): #10 pc 00000000000950e0 /data/app/com.DefaultCompany.IL2CPPTEST-1/oat/arm64/base.odex 06-13 23:11:37.151: E/AndroidRuntime(24972): at libvulkan.0xb850(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libwebrtc.unity::webrtc::LoadInstanceVulkanFunction(VkInstance_T)(LoadInstanceVulkanFunction:36) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libwebrtc.unity::webrtc::Hook_vkCreateInstance(VkInstanceCreateInfo const, VkAllocationCallbacks const, VkInstance_T**)(Hook_vkCreateInstance:520) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x339644(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x337d4c(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x464dfc(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x2eef04(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x2dbb2c(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x2dc654(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at libunity.0x2f0aa0(Native Method) 06-13 23:11:37.151: E/AndroidRuntime(24972): at base.0x950e0(Native Method)
Tried to remove vulkan from player settigs -> graphics API and forcing it to use openGLes3 and now it launches!
(looks like it is having networking troubles now though. Seems still a long way to go..).
Cheers,
Takashi
@unnamed7 This is valuable information for supporting Android.
@unnamed7 We released the latest version of the package. Is the issue reproduced with it?
I am having the same situation but moreover have this error "Unable to find libwebrtc". I created a new project using Unity 2019.4.29f with URP template. Download WebRTC 2.4.0-exp.4 not via package manager but directly source code from github repo (because I thought I could workaround the issue somehow but nope). Build successfully with IL2CPP, arm64 (with armv7 disabled) and WebRTC package's sample scene but the app instantly crashes when opening.
I opened the app in emulator with android 7 due to not owning any android devices right now.
Here the log I got:
08-25 17:06:28.513: I/Unity(3711): MemoryManager: Using 'Dynamic Heap' Allocator.
08-25 17:06:28.549: W/PlayCommon(1777): [63] atno.m(1): No account for auth token provided
08-25 17:06:28.549: I/PlayCommon(1777): [63] atno.h(166): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
08-25 17:06:28.553: I/art(3711): Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
08-25 17:06:28.553: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.553: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.553: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.553: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.553: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.553: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.553: I/art(3711): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk"],nativeLibraryDirectories=[/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64, /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
08-25 17:06:28.553: I/art(3711): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-25 17:06:28.553: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-25 17:06:28.553: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-25 17:06:28.553: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.553: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.553: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.553: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.553: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.553: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.554: I/art(3711): Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$d>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/tasks/OnCompleteListener;
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.554: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.554: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.554: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.554: I/art(3711): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.tasks.OnCompleteListener" on path: DexPathList[[zip file "/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk"],nativeLibraryDirectories=[/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64, /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
08-25 17:06:28.554: I/art(3711): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-25 17:06:28.554: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-25 17:06:28.554: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.554: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.554: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.554: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.554: I/art(3711): Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$e>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/tasks/OnCompleteListener;
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.554: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.554: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.554: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.554: I/art(3711): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.tasks.OnCompleteListener" on path: DexPathList[[zip file "/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk"],nativeLibraryDirectories=[/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64, /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
08-25 17:06:28.554: I/art(3711): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-25 17:06:28.554: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-25 17:06:28.554: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.554: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.554: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.554: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.554: I/art(3711): Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.554: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.554: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.554: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.554: I/art(3711): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk"],nativeLibraryDirectories=[/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64, /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
08-25 17:06:28.554: I/art(3711): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-25 17:06:28.554: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-25 17:06:28.554: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.554: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.554: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.554: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.554: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.555: I/art(3711): Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$c>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/tasks/OnSuccessListener;
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.555: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.555: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.555: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.555: I/art(3711): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.tasks.OnSuccessListener" on path: DexPathList[[zip file "/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk"],nativeLibraryDirectories=[/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64, /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
08-25 17:06:28.555: I/art(3711): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-25 17:06:28.555: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-25 17:06:28.555: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.555: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.555: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.555: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.555: I/art(3711): Rejecting re-init on previously-failed class java.lang.Class<com.unity3d.player.AssetPackManagerWrapper$b>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/play/core/assetpacks/AssetPackStateUpdateListener;
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.555: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.555: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.555: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.555: I/art(3711): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.play.core.assetpacks.AssetPackStateUpdateListener" on path: DexPathList[[zip file "/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk"],nativeLibraryDirectories=[/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64, /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
08-25 17:06:28.555: I/art(3711): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
08-25 17:06:28.555: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
08-25 17:06:28.555: I/art(3711): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1)
08-25 17:06:28.555: I/art(3711): at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1)
08-25 17:06:28.555: I/art(3711): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:98)
08-25 17:06:28.555: I/art(3711): at void android.os.Looper.loop() (Looper.java:154)
08-25 17:06:28.555: I/art(3711): at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
08-25 17:06:28.558: I/Unity(3711): SystemInfo CPU =
@zshin1996 We have not tested it on Android simulator. I will try that. Thanks for the info.
Hello !
I am affected by the same bug. Forcing OpenGL ES 3, as @unnamed7 instructed, also fixed the bug.
I managed to get the tombstone from the crash (the coredump) with way more information than ADB logs. It might interest you @karasusan.
Tested on :
Unity Version :
WebRTC Plugin version
Compilations config :
Only fix found : Forcing OpenGL ES 3
@maeln Thanks, we will check this issue.
memo: WRS-190, WRS-191
Android build crashes as soon as it launches if the plugin is installed. The crash happens before any C# script runs. This is not a solution but just to check, if I disable "Load On Start Up", the app launches then crashes when it tries to initialize the library. IL2CPP and arm64 are selected, I have also tried various android API versions but no luck. Are there anything else to check? What related software versions do I need to use for this lib? Any info appreciated.
Reproducible step on my system is quite easy as follows;
- create a new empty 3d unity2020.3 project (currently trying on 2020.3.0f1)
- set the build target to android, select IL2CPP and arm64 --> try to build and run at this point. It works.
- import webrtc 2.4.0.exp3 (no need to write any code.). --> now build and run again, then you get the error.
The log looks like this;
06-13 15:48:12.153: E/CRASH(17882): 06-13 15:48:12.153: E/CRASH(17882): Version '2020.3.0f1 (c7b5465681fb)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 06-13 15:48:12.153: E/CRASH(17882): Build fingerprint: 'google/flame/flame:11/RQ1A.210205.004/7038034:user/release-keys' 06-13 15:48:12.153: E/CRASH(17882): Revision: 'MP1.0' 06-13 15:48:12.153: E/CRASH(17882): ABI: 'arm64' 06-13 15:48:12.153: E/CRASH(17882): Timestamp: 2021-06-13 15:48:12+0900 06-13 15:48:12.153: E/CRASH(17882): pid: 17882, tid: 17904, name: UnityMain >>> com.DefaultCompany.IL2CPPTEST <<< 06-13 15:48:12.153: E/CRASH(17882): uid: 10321 06-13 15:48:12.153: E/CRASH(17882): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 06-13 15:48:12.153: E/CRASH(17882): Cause: null pointer dereference 06-13 15:48:12.153: E/CRASH(17882): x0 0000007afe64da90 x1 0000007a87015dbc x2 0000000000000013 x3 737968507465476b 06-13 15:48:12.153: E/CRASH(17882): x4 0000007a87015b76 x5 0000007a859e9e8c x6 7665447465476b76 x7 41636f7250656369 06-13 15:48:12.153: E/CRASH(17882): x8 0000007afe64da90 x9 0000000000000000 x10 0000000000000000 x11 0000000000000000 06-13 15:48:12.153: E/CRASH(17882): x12 6563697665447465 x13 72646441636f7250 x14 0000000000000107 x15 0000000000000012 06-13 15:48:12.153: E/CRASH(17882): x16 00000079a7f73208 x17 0000007d7e9e02c0 x18 00000000ac3b7fa9 x19 0000007a01083f78 06-13 15:48:12.153: E/CRASH(17882): x20 0000007a872efd78 x21 0000007afe64da90 x22 0000007afe64d990 x23 0000007bae6a8110 06-13 15:48:12.153: E/CRASH(17882): x24 0000007a01083f60 x25 0000007a01083f78 x26 0000000000000000 x27 0000000000000000 06-13 15:48:12.153: E/CRASH(17882): x28 0000000000000000 x29 0000007a00c43d80 06-13 15:48:12.153: E/CRASH(17882): sp 0000007a859e9ec0 lr 0000007a86c0365c pc 0000000000000000 06-13 15:48:12.238: E/CRASH(17882): Tombstone written to: /storage/emulated/0/Android/data/com.DefaultCompany.IL2CPPTEST/files/tombstone_00
Same issue Please any help unity version 2020.3.19f1
This issue still happens on 2.4.0-exp.5.
Tested on : Pixel3a - Android 12
Unity Version : 2020.3.10f1 WebRTC Plugin version
2.4.0-exp.5 from this git (no modification) Compilations config : IL2CPP, ARM64, Api Compat Level .NET 4.X & .NET Standard 2.0, Debug & Release
Only works when we force the OpenGL ES 3.
I listed devices which are reported on this issue.
Not sure these issues are the same cause, but we are going to get the device in the list.
We found the issue that setting enable Optimized Frame Pacing
in Player Settings Window occurs the crash when using Android vulkan. Please check your settings and reply your result.
Thank you so much for letting us know. Disable Optimized Frame Pacing in Player Settings Window works on Pixel3a - Android 12 and Aquos SH-01K - Android 9.
@yasuohasegawa Thank you so much for your reply. I am not sure why this parameter occurs the crash, but we will investigate the issue near future.
Same issue on Pico Neo 3 (Android V10), but not resolved by this fix.
We found the issue that setting enable
Optimized Frame Pacing
in Player Settings Window occurs the crash when using Android vulkan. Please check your settings and reply your result.
@Mikeye666 Thank you for sharing. We know that some devices will still cause an error, so we will investigate.
The issue occurs on Quest 1 when using Vulkan and with Optimized Frame Pacing disabled
Optimized Frame Pacing: Disabled solved the issue on: Lenovo Tab V7 Huawei P30 Pro
BTW, I am using RenderStreaming and came here to find a fix for the issue. Maybe consider letting people know about this over on the RenderStreaming repo
@CarlosDanielFP Sure. I will add the note for the issue in the package document.
@karasusan Hi, I have a same issue as @zshin1996. When I tried to launch my webrtc app in android, I got the error.
04-29 15:46:42.164 E 14051 14076 Unity : Unable to find libwebrtc
I set the options as required. https://docs.unity3d.com/Packages/com.unity.webrtc@2.4/manual/requirements.html Scripting backend - IL2CPP Target Architectures - ARM64 (Do disable ARMv7)
And I can find libwebrtc.so file in my app's lib directory on device.
I have tested on Unity 2019.4.36f1, WebRTC 2.4.0-exp.6 with Samsung SM-G988B Android 12 Samsung SM-G908U Android 12 Samsung SM-G950F Android 8
@jinnyuri Have you tried that? https://github.com/Unity-Technologies/com.unity.webrtc/issues/437#issuecomment-1047388803
@karasusan The error occurs with or without that option. Unity : Unable to find libwebrtc
My problem is not the crash. There is no crash. Just unable to find libwebrtc.
Additional comment 1 -
I tried to run WebRTC samples with Unity 2020.3.28f1. The error (Unity : Unable to find libwebrtc) was not occured.
But sorry for that I have to use Unity 2019 version at this moment. Could you look for problems with the Unity version?
Additional comment 2 -
I found that WebRTC was performed with or without an error log. Now my unity project works fine.
@jinnyuri That's good. What cause of the issue do you think?
@karasusan The error still exist on Unity 2019 version. Looking at the contents of the error, it seems that it should not work. However it works fine. Such a wierd situation.
Hihi, also crashed. Here's what i picked from logs. Am on a samsung note10.
I checked frame pacing is not enabled
2022/08/22 02:06:13.681 15204 18400 Info Unity MemoryManager: Using 'Dynamic Heap' Allocator. 2022/08/22 02:06:13.704 15204 18400 Info Unity SystemInfo CPU = ARM64 FP ASIMD AES, Cores = 8, Memory = 7419mb 2022/08/22 02:06:13.704 15204 18400 Info Unity SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf) 2022/08/22 02:06:13.705 15204 18400 Info Unity ApplicationInfo com.x.x version 1.1081 2022/08/22 02:06:13.705 15204 18400 Info Unity Built from '2021.3/staging' branch, Version '2021.3.6f1 (7da38d85baf6)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Enabled'
2022/08/22 01:25:52.020 8180 11977 Error rtc # 2022/08/22 01:25:52.020 8180 11977 Error rtc # Fatal error in: ../src/sdk/android/src/jni/jni_generator_helper.cc, line 28 2022/08/22 01:25:52.020 8180 11977 Error rtc # last system error: 88 2022/08/22 01:25:52.020 8180 11977 Error rtc # Check failed: !clazz.is_null() 2022/08/22 01:25:52.020 8180 11977 Error rtc # org/webrtc/WebRtcClassLoader
2022/08/22 01:25:52.243 8180 11977 Error CRASH Tombstone written to: /storage/emulated/0/Android/data/com.x.x/files/tombstone_01 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] No pending exception expected: java.lang.ClassNotFoundException: org.webrtc.WebRtcClassLoader 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader, java.lang.Class) (Runtime.java:-2) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:1131) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at void java.lang.Runtime.load0(java.lang.Class, java.lang.String) (Runtime.java:937) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at void java.lang.System.load(java.lang.String) (System.java:1628) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at boolean com.unity3d.player.UnityPlayer.nativeRender() ((null):-2) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at boolean com.unity3d.player.UnityPlayer.access$300(com.unity3d.player.UnityPlayer) ((null):-1) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at boolean com.unity3d.player.UnityPlayer$e$1.handleMessage(android.os.Message) ((null):-1) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at void android.os.Looper.loop() (Looper.java:246) 2022/08/22 01:25:52.243 8180 11977 Fatal asslet.x thread.cc:2361] at void com.unity3d.player.UnityPlayer$e.run() ((null):-1)
2022/08/22 02:06:13.878 15204 18400 Error CRASH
2022/08/22 02:06:13.878 15204 18400 Error CRASH Version '2021.3.6f1 (7da38d85baf6)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2022/08/22 02:06:13.878 15204 18400 Error CRASH Build fingerprint: 'samsung/d1xx/d1:11/RP1A.200720.012/N970FXXU6ETLL:user/release-keys'
2022/08/22 02:06:13.878 15204 18400 Error CRASH Revision: '23'
2022/08/22 02:06:13.878 15204 18400 Error CRASH ABI: 'arm64'
2022/08/22 02:06:13.878 15204 18400 Error CRASH Timestamp: 2022-08-22 02:06:13+0800
2022/08/22 02:06:13.878 15204 18400 Error CRASH pid: 15204, tid: 18400, name: UnityMain >>> com.x.x <<<
2022/08/22 02:06:13.878 15204 18400 Error CRASH uid: 11134
2022/08/22 02:06:13.878 15204 18400 Error CRASH signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2022/08/22 02:06:13.878 15204 18400 Error CRASH x0 0000000000000000 x1 00000000000047e0 x2 0000000000000006 x3 00000078133c5dc0
2022/08/22 02:06:13.878 15204 18400 Error CRASH x4 fefeff77fefeff71 x5 fefeff77fefeff71 x6 fefeff77fefeff71 x7 7f7f7f7f7f7f7f7f
2022/08/22 02:06:13.878 15204 18400 Error CRASH x8 00000000000000f0 x9 0000007b1ea71988 x10 ffffff80fffffbdf x11 0000000000000001
2022/08/22 02:06:13.878 15204 18400 Error CRASH x12 00000078133c46e0 x13 00000000000000a9 x14 0000000000000000 x15 000027e0153a9932
2022/08/22 02:06:13.878 15204 18400 Error CRASH x16 0000007b1eb0ac80 x17 0000007b1eaec7b0 x18 000000000000000d x19 00000000000000ac
2022/08/22 02:06:13.878 15204 18400 Error CRASH x20 0000000000003b64 x21 00000000000000b2 x22 00000000000047e0 x23 00000000ffffffff
2022/08/22 02:06:13.878 15204 18400 Error CRASH x24 00000076d7947558 x25 00000078eabec5f0 x26 000000789ac17070 x27 0000000000000068
2022/08/22 02:06:13.878 15204 18400 Error CRASH x28 0000000000000000 x29 00000078133c5e40
2022/08/22 02:06:13.878 15204 18400 Error CRASH sp 00000078133c5da0 lr 0000007b1ea9f8cc pc 0000007b1ea9f8fc
2022/08/22 02:06:13.878 15204 18400 Error CRASH backtrace:
2022/08/22 02:06:13.878 15204 18400 Error CRASH #00 pc 000000000004e8fc /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: 6df669a33ad6f86821878f8147088504)
2022/08/22 02:06:13.878 15204 18400 Error CRASH #01 pc 000000000018b9cc /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libwebrtc.so (rtc::webrtc_checks_impl::UnreachableCodeReached())
2022/08/22 02:06:13.878 15204 18400 Error CRASH #02 pc 000000000018b964 /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libwebrtc.so (std::ndk1::basic_string<char, std::__ndk1::char_traits
saw this as well but not sure if relevant
2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG backtrace:
2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG #00 pc 0000000000594c9c /apex/com.android.art/lib64/libart.so (void art::StackVisitor::WalkStack<(art::StackVisitor::CountTransitions)0>(bool)+156) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1)
2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG #01 pc 00000000005bd7b0 /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::1::basic_ostream<char, std::__1::char_traits
Hi i managed to workaround my issue. Based on this issue highlighted in the below issues, there were signs it was linked to Proguard:
https://github.com/react-native-webrtc/react-native-webrtc/issues/590 https://github.com/twilio/voice-quickstart-android/issues/298#issuecomment-626402046
So i disabled "Minify Release" and it now works. I tested it on a completely new project using the unity webrtc samples and it can be replicated by:
The android app will 100% crash. I've logged a unity bug https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-14521
@karasusan
Hint: 2022/08/22 01:25:52.020 8180 11977 Error rtc # 2022/08/22 01:25:52.020 8180 11977 Error rtc # Fatal error in: ../src/sdk/android/src/jni/jni_generator_helper.cc, line 28 2022/08/22 01:25:52.020 8180 11977 Error rtc # last system error: 88 2022/08/22 01:25:52.020 8180 11977 Error rtc # Check failed: !clazz.is_null() 2022/08/22 01:25:52.020 8180 11977 Error rtc # org/webrtc/WebRtcClassLoader
@enigmablue Wow, this is a valuable information! Thank you!
We are having this issue starting with 2.4.0+ on the Quest 2, but only when using the Oculus XR plugin. It works fine using the OpenXR plugin, but with that we cannot use Application SpaceWarp. We already have Optimized Frame Pacing off and all the mini options off.
@jonkelling Is that means your app crash when using combination WebRTC package and Oculus XR plugin? If so, can you share the log?
Bumping the thread here.
I'm having the same issue of the game crashing before even making it to the Made in Unity splash screen.
I'm on WebRTC 2.4.0-exp.10, Unity 2021.3.5f1.
Using a Pico Neo 3 Pro.
Tried with Vulkan and OpenGL separately. Unchecked Optimized Frame Pacing
, no success.
All Minify options are unchecked.
Just including WebRTC in the packages causes the crash.
Although the crash behaviour is different with Vulkan and OpenGL:
Vulkan: instant crash.
OpenGL: app gets stuck in an infinite loop during the Pico loading screen (before the splash screen).
I reached out to Pico concerning this, we've established communication but still no answer.
@dev-cmurphy Thank you for sharing your situation. We are planning to investigate the difference by SoC separately.
Same issue with the Pico Neo 3 Pro Eye:
3.1.0-exp.3
* OS: Android
* Unity version: Unity 2021.2
* Graphics API: Vulkan
* Browser: Node.js
The application just won't start. Only a black screen for a few seconds
A working application
So I debugged a bit and it seems that the Vulkan API kind does not like both packages simultaneously. Using only either of these the project works fine, yet using both simultaneously leads to this weird crash behaviour.
Note: When selecting OpenGLES3 everything works just fine
The stack trace I retrieved:
09-29 13:00:17.152 16173 16197 E AndroidRuntime: FATAL EXCEPTION: UnityMain
09-29 13:00:17.152 16173 16197 E AndroidRuntime: Process: com.DefaultCompany.TestStreaming, PID: 16173
09-29 13:00:17.152 16173 16197 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-29 13:00:17.152 16173 16197 E AndroidRuntime: Version '2021.2.0f1 (4bf1ec4b23c9)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
09-29 13:00:17.152 16173 16197 E AndroidRuntime: Build fingerprint: 'Pico/A7H10/PICOA7H10:10/4.6.3/1:user/test-keys'
09-29 13:00:17.152 16173 16197 E AndroidRuntime: Revision: '0'
09-29 13:00:17.152 16173 16197 E AndroidRuntime: ABI: 'arm64'
09-29 13:00:17.152 16173 16197 E AndroidRuntime: Timestamp: 2022-09-29 13:00:16+0200
09-29 13:00:17.152 16173 16197 E AndroidRuntime: pid: 16173, tid: 16197, name: UnityMain >>> com.DefaultCompany.TestStreaming <<<
09-29 13:00:17.152 16173 16197 E AndroidRuntime: uid: 10089
09-29 13:00:17.152 16173 16197 E AndroidRuntime: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x64696f72646e61
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x0 0000000000000073 x1 000000000000004f x2 0000000000000019 x3 000000000000001c
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x4 0000007896f11238 x5 0000007896f11238 x6 0000007830fbb400 x7 0000007832589800
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x8 0000000000000000 x9 0000000000000032 x10 0000007830f2a574 x11 0000000000000064
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x12 000000002d0191e8 x13 0000007832589924 x14 00000078325898c0 x15 0000000000000001
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x16 0000000000000001 x17 0000000000000001 x18 000000000000000d x19 000000002d0191e8
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x20 000000783addb190 x21 000000783addb1b8 x22 0000007830f2a500 x23 0000000000000006
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x24 2e64696f72646e61 x25 0000007830f2a510 x26 0000000000000007 x27 0000007830f2cff0
09-29 13:00:17.152 16173 16197 E AndroidRuntime: x28 0000007830f2a568 x29 000000783addb180
09-29 13:00:17.152 16173 16197 E AndroidRuntime: sp 000000783adda8a0 lr 00000077574d1418 pc 00000077574d13fc
09-29 13:00:17.152 16173 16197 E AndroidRuntime:
09-29 13:00:17.152 16173 16197 E AndroidRuntime: backtrace:
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #00 pc 00000000000ef3fc /vendor/lib64/hw/vulkan.kona.so (qglinternal::vkCreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+996) (BuildId: de2bd84dbc9f586cec6be83966919ff6)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #01 pc 0000000000019ae0 /system/lib64/libvulkan.so (BuildId: 65842988e4765175425fce60d32268b1)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #02 pc 0000000000011c68 /system/lib64/libvulkan.so (BuildId: 65842988e4765175425fce60d32268b1)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #03 pc 000000000013b038 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libwebrtc.so (unity::webrtc::Hook_vkCreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+460)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #04 pc 00000000005e0508 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #05 pc 00000000005de790 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #06 pc 00000000005e2e28 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #07 pc 000000000033ed84 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #08 pc 00000000005a471c /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #09 pc 00000000005a496c /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #10 pc 0000000000304cc4 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #11 pc 0000000000306d88 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #12 pc 0000000000307ac0 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #13 pc 000000000031c174 /data/app/com.DefaultCompany.TestStreaming-1M39MzQlkfayIBc9pynoRQ==/lib/arm64/libunity.so (BuildId: 4cdbce042e0ab2122aa17b6bc4f967c2f16ea6cb)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #14 pc 0000000000140350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #15 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #16 pc 0000000000145fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #17 pc 00000000002e304c /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #18 pc 00000000002de2ac /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #19 pc 00000000005a356c /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+424) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #20 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #21 pc 00000000005a3fb4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1040) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #22 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #23 pc 00000000005a2d24 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1788) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #24 pc 0000000000131a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #25 pc 00000000005a1504 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #26 pc 0000000000131814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #27 pc 00000000005a3fb4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1040) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #28 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #29 pc 00000000002b4360 /apex/com.android.runtime/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16264273401899315888)+240) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #30 pc 00000000005927ac /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #31 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #32 pc 0000000000137334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #33 pc 0000000000145fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #34 pc 00000000004b1178 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #35 pc 00000000004b228c /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: dee3193f9a622bfe7030fb902efcac83)09-29 13:00:17.152 16173 16197 E AndroidRuntime: #36 pc 00000000004f300c /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: dee3193f9a622bfe7030fb902efcac83)
09-29 13:00:17.152 16173 16197 E AndroidRuntime: #37 pc 00000000000e6920 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: c9ad25a272415816d0f572c8a33665c2)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: #38 pc 0000000000084bec /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: c9ad25a272415816d0f572c8a33665c2)
09-29 13:00:17.153 16173 16197 E AndroidRuntime:
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at vulkan.qglinternal::vkCreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)(vkCreateInstance:996)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libvulkan.0x19ae0(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libvulkan.0x11c68(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libwebrtc.unity::webrtc::Hook_vkCreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)(Hook_vkCreateInstance:460)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x5e0508(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x5de790(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x5e2e28(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x33ed84(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x5a471c(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x5a496c(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x304cc4(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x306d88(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x307ac0(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libunity.0x31c174(Native Method)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.art_quick_generic_jni_trampoline(art_quick_generic_jni_trampoline:144)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.art_quick_invoke_stub(art_quick_invoke_stub:548)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)(Invoke:244)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)(ArtInterpreterToCompiledCodeBridge:384)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)(DoCall<false, false>:892)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.MterpInvokeDirect(MterpInvokeDirect:424)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.mterp_op_invoke_direct(mterp_op_invoke_direct:20)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.MterpInvokeStatic(MterpInvokeStatic:1040)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.mterp_op_invoke_static(mterp_op_invoke_static:20)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.MterpInvokeInterface(MterpInvokeInterface:1788)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.mterp_op_invoke_interface(mterp_op_invoke_interface:20)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.MterpInvokeVirtual(MterpInvokeVirtual:1352)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.mterp_op_invoke_virtual(mterp_op_invoke_virtual:20)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.MterpInvokeStatic(MterpInvokeStatic:1040)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.mterp_op_invoke_static(mterp_op_invoke_static:20)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.16264273401899315888)(Execute:240)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.artQuickToInterpreterBridge(artQuickToInterpreterBridge:1032)
09-29 13:00:17.153 16173 16197 E AndroidRuntime: at libart.art_quick_to_interpreter_bridge(art_quick_to_interpreter_bridge:88)
@ChilledCosmonaut Thanks for reporting. Maybe, this is same issue. https://github.com/Unity-Technologies/UnityRenderStreaming/issues/722
@karasusan Hello, is there any update in this issue? I am testing with PICO G3, and the issue is also present. 3.1.0-exp.3 or 3.1.0-exp.6, Optimized Frame Pacing = OFF, ARM64 = ON, ARMv7 = OFF, Minify options = ALL OFF.
When Vulkan is selected it crashes. It loads when only OpenGLES3 is selected.
This is my log: renderstreaming_picog3_error.log
@VicEsquivel I am not familier with the architecture of PICO series, Does it support vulkan? The runtime is failed in webrtc::Hook_vkCreateInstance according this log.
07-25 18:20:38.441 11970 11970 F DEBUG : #00 pc 00000000000b8480 /vendor/lib64/hw/vulkan.kona.so (qglinternal::vkCreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+1128) (BuildId: f8caf8bf35d3f1bd8bcde8949f10d29e)
07-25 18:20:38.441 11970 11970 F DEBUG : #01 pc 0000000000019ae0 /system/lib64/libvulkan.so (vulkan::driver::CreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+800) (BuildId: 65842988e4765175425fce60d32268b1)
07-25 18:20:38.441 11970 11970 F DEBUG : #02 pc 0000000000011c68 /system/lib64/libvulkan.so (vulkan::api::CreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+3156) (BuildId: 65842988e4765175425fce60d32268b1)
07-25 18:20:38.441 11970 11970 F DEBUG : #03 pc 000000000012f300 /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libwebrtc.so (unity::webrtc::Hook_vkCreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+584)
07-25 18:20:38.441 11970 11970 F DEBUG : #04 pc 000000000080554c /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #05 pc 000000000080386c /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (vk::Initialize()+108) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #06 pc 00000000008088a8 /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (CreateVKGfxDevice()+20) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #07 pc 00000000007b46fc /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (CreateRealGfxDevice(GfxDeviceRenderer)+84) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #08 pc 000000000047d6ec /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (CreateClientGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags)+216) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #09 pc 00000000007b4e28 /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (CreateGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags)+248) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #10 pc 00000000007b50fc /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (InitializeGfxDevice()+684) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #11 pc 0000000000452620 /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (AndroidGraphics::Startup()+92) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #12 pc 0000000000422604 /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (UnityInitApplication()+4468) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #13 pc 00000000004232bc /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (UnityPlayerLoop()+152) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #14 pc 0000000000455024 /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/lib/arm64/libunity.so (nativeRender(_JNIEnv*, _jobject*)+72) (BuildId: 78d8e670617fa639af22ab792b3fcca4e3270033)
07-25 18:20:38.441 11970 11970 F DEBUG : #15 pc 0000000000142350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #16 pc 0000000000139334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #17 pc 0000000000147fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #18 pc 00000000002eccc0 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #19 pc 00000000002e7f20 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #20 pc 00000000005ad9cc /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+424) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #21 pc 0000000000133914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #22 pc 0000000000055928 [anon:dalvik-classes.dex extracted in memory from /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/base.apk] (com.unity3d.player.UnityPlayer.access$300)
07-25 18:20:38.441 11970 11970 F DEBUG : #23 pc 00000000005ae414 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1040) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #24 pc 0000000000133994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #25 pc 00000000000552ca [anon:dalvik-classes.dex extracted in memory from /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/base.apk] (com.unity3d.player.UnityPlayer$e$1.handleMessage+190)
07-25 18:20:38.441 11970 11970 F DEBUG : #26 pc 00000000005ad184 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1788) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #27 pc 0000000000133a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #28 pc 0000000000304ed0 /system/framework/framework.jar (android.os.Handler.dispatchMessage+24)
07-25 18:20:38.441 11970 11970 F DEBUG : #29 pc 00000000005ab964 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1352) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #30 pc 0000000000133814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #31 pc 000000000032b00e /system/framework/framework.jar (android.os.Looper.loop+466)
07-25 18:20:38.441 11970 11970 F DEBUG : #32 pc 00000000005ae414 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1040) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #33 pc 0000000000133994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #34 pc 00000000000556c4 [anon:dalvik-classes.dex extracted in memory from /data/app/com.V.I.S.virayvr-GxGmjE2qAeJc8o7Y_lZTGQ==/base.apk] (com.unity3d.player.UnityPlayer$e.run+40)
07-25 18:20:38.441 11970 11970 F DEBUG : #35 pc 00000000002bdfd4 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.8513314980878491510+240) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #36 pc 000000000059cc0c /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #37 pc 0000000000142468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #38 pc 0000000000139334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #39 pc 0000000000147fec /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+244) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #40 pc 00000000004bb5d8 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #41 pc 00000000004bc6ec /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #42 pc 00000000004fd46c /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1176) (BuildId: 8280f0d3db22feeff9d1a6c4c13ff932)
07-25 18:20:38.441 11970 11970 F DEBUG : #43 pc 00000000000ecd84 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: c531ce59e908b274babdd55c313f24d1)
07-25 18:20:38.441 11970 11970 F DEBUG : #44 pc 000000000008b0e4 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: c531ce59e908b274babdd55c313f24d1)
take care to uncheck the minify Release option from the Publish panel
@giklette Hi, I haven't checked minify parameters, how does it work?
Same issue with Unity 2022.3 and WebRTC@3.0.0-pre.6 on Meta Quest 2.
❌ Switching Optimized Frame Pacing has no effect.
✅ Switching from Vulkan to OpenGLES3 fixed it.
But this should not be a long term solution.
@joneswe Can I see a crash log?
Hey, I switched to meta quest 3 now. When I switch to Vulkan, the app stucks while loading (black background, 3 dots). It's not crashing, I think it stucks before loading the app is finished.
The logcat shows following:
When I use OpenGLES3 it works fine. But I wanna use the Meta DepthApi, which only work on Vulkan :/
Running into the same issue with Meta Quest 3.
Same issue on Meta Quest 2 and Meta Quest 3 with Vulcan, Optimized Frame Pacing didn't worked
Getting the same with Pico3 and Pico4 headsets. Tried the above suggestions. Is there any update on this. Any workaround?
It would really help us out. We want to start using Spacewarp, and try to find a way to add extra quality to our game. Video streaming to the app is madatory for us, because the game is used as therapy, and the coach can view the VR headset on the app. The game is already being used and currently in beta.
Same issue on Meta Quest 3 with Vulkan, is there any patch on this error?
Android build crashes as soon as it launches if the plugin is installed. The crash happens before any C# script runs. This is not a solution but just to check, if I disable "Load On Start Up", the app launches then crashes when it tries to initialize the library. IL2CPP and arm64 are selected, I have also tried various android API versions but no luck. Are there anything else to check? What related software versions do I need to use for this lib? Any info appreciated.
Reproducible step on my system is quite easy as follows;
The log looks like this;
06-13 15:48:12.153: E/CRASH(17882): 06-13 15:48:12.153: E/CRASH(17882): Version '2020.3.0f1 (c7b5465681fb)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 06-13 15:48:12.153: E/CRASH(17882): Build fingerprint: 'google/flame/flame:11/RQ1A.210205.004/7038034:user/release-keys' 06-13 15:48:12.153: E/CRASH(17882): Revision: 'MP1.0' 06-13 15:48:12.153: E/CRASH(17882): ABI: 'arm64' 06-13 15:48:12.153: E/CRASH(17882): Timestamp: 2021-06-13 15:48:12+0900 06-13 15:48:12.153: E/CRASH(17882): pid: 17882, tid: 17904, name: UnityMain >>> com.DefaultCompany.IL2CPPTEST <<< 06-13 15:48:12.153: E/CRASH(17882): uid: 10321 06-13 15:48:12.153: E/CRASH(17882): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 06-13 15:48:12.153: E/CRASH(17882): Cause: null pointer dereference 06-13 15:48:12.153: E/CRASH(17882): x0 0000007afe64da90 x1 0000007a87015dbc x2 0000000000000013 x3 737968507465476b 06-13 15:48:12.153: E/CRASH(17882): x4 0000007a87015b76 x5 0000007a859e9e8c x6 7665447465476b76 x7 41636f7250656369 06-13 15:48:12.153: E/CRASH(17882): x8 0000007afe64da90 x9 0000000000000000 x10 0000000000000000 x11 0000000000000000 06-13 15:48:12.153: E/CRASH(17882): x12 6563697665447465 x13 72646441636f7250 x14 0000000000000107 x15 0000000000000012 06-13 15:48:12.153: E/CRASH(17882): x16 00000079a7f73208 x17 0000007d7e9e02c0 x18 00000000ac3b7fa9 x19 0000007a01083f78 06-13 15:48:12.153: E/CRASH(17882): x20 0000007a872efd78 x21 0000007afe64da90 x22 0000007afe64d990 x23 0000007bae6a8110 06-13 15:48:12.153: E/CRASH(17882): x24 0000007a01083f60 x25 0000007a01083f78 x26 0000000000000000 x27 0000000000000000 06-13 15:48:12.153: E/CRASH(17882): x28 0000000000000000 x29 0000007a00c43d80 06-13 15:48:12.153: E/CRASH(17882): sp 0000007a859e9ec0 lr 0000007a86c0365c pc 0000000000000000 06-13 15:48:12.238: E/CRASH(17882): Tombstone written to: /storage/emulated/0/Android/data/com.DefaultCompany.IL2CPPTEST/files/tombstone_00