Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
742 stars 186 forks source link

[BUG] Android app crash on launch #437

Open unnamed7 opened 3 years ago

unnamed7 commented 3 years ago

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;

  1. create a new empty 3d unity2020.3 project (currently trying on 2020.3.0f1)
  2. set the build target to android, select IL2CPP and arm64 --> try to build and run at this point. It works.
  3. 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

karasusan commented 3 years ago

@unnamed7 Please tell the android device name. We have received reports that the same issue from users.

unnamed7 commented 3 years ago

@karasusan do-mo, It's Pixel4 - Android V11.

unnamed7 commented 3 years ago

@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)

unnamed7 commented 3 years ago

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 image

karasusan commented 3 years ago

@unnamed7 This is valuable information for supporting Android.

karasusan commented 2 years ago

@unnamed7 We released the latest version of the package. Is the issue reproduced with it?

zshin1996 commented 2 years ago

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 = , Cores = 4, Memory = 5970mb 08-25 17:06:28.558: I/Unity(3711): SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf), 0 little (mask: 0x0) 08-25 17:06:28.558: I/Unity(3711): ApplicationInfo com.DefaultCompany.TestRenderStreamingAndroid2 version 0.1 build 88d5e4b3-8a2a-4522-9fe7-aedb1dd60132 08-25 17:06:28.558: I/Unity(3711): Built from '2019.4/staging' branch, Version '2019.4.29f1 (0eeae20b1d82)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a', Stripping 'Disabled' 08-25 17:06:28.605: I/PlayCommon(1777): [63] atno.h(198): Successfully uploaded logs. 08-25 17:06:28.732: E/Unity(3711): Unable to find libwebrtc 08-25 17:06:28.737: D/houdini(3711): [3730] Added shared library /data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64/libwebrtc.so for ClassLoader by Native Bridge. 08-25 17:06:28.740: E/vulkan(3711): invalid vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceVersion") call 08-25 17:06:28.740: D/vulkan(3711): searching for layers in '/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/lib/arm64' 08-25 17:06:28.740: D/vulkan(3711): searching for layers in '/data/app/com.DefaultCompany.TestRenderStreamingAndroid2-1/base.apk!/lib/arm64-v8a' 08-25 17:06:28.743: E/vulkan(3711): invalid vkGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumeratePhysicalDevices") call 08-25 17:06:28.743: E/vulkan(3711): [ 08-25 17:06:28.743 3711: 3730 D/ ] 08-25 17:06:28.743: E/vulkan(3711): HostConnection::get() New Host Connection established 0x7f93c1e62490, tid 3730 08-25 17:06:28.745: E/EGL_adreno(3711): eglCreateContext: EGL_BAD_CONFIG: no ES 3.2 support 08-25 17:06:28.745: E/EGL_adreno(3711): tid 3730: eglCreateContext(1778): error 0x3005 (EGL_BAD_CONFIG) 08-25 17:06:28.745: E/EGL_adreno(3711): eglCreateContext: EGL_BAD_CONFIG: no ES 3.1 support 08-25 17:06:28.745: E/EGL_adreno(3711): tid 3730: eglCreateContext(1772): error 0x3005 (EGL_BAD_CONFIG) 08-25 17:06:28.746: E/EGL_adreno(3711): [getAttribValue] Bad attribute idx 08-25 17:06:28.746: D/EGL_adreno(3711): eglGetConfigAttrib: bad attrib 0x30e1 08-25 17:06:28.746: E/EGL_adreno(3711): tid 3730: eglGetConfigAttrib(1202): error 0x3004 (EGL_BAD_ATTRIBUTE) 08-25 17:06:28.746: E/EGL_adreno(3711): [getAttribValue] Bad attribute idx 08-25 17:06:28.746: D/EGL_adreno(3711): eglGetConfigAttrib: bad attrib 0x30e2 08-25 17:06:28.746: E/EGL_adreno(3711): tid 3730: eglGetConfigAttrib(1202): error 0x3004 (EGL_BAD_ATTRIBUTE) 08-25 17:06:28.746: E/EGL_adreno(3711): [getAttribValue] Bad attribute idx 08-25 17:06:28.746: D/EGL_adreno(3711): eglGetConfigAttrib: bad attrib 0x1 08-25 17:06:28.746: E/EGL_adreno(3711): tid 3730: eglGetConfigAttrib(1202): error 0x3004 (EGL_BAD_ATTRIBUTE) 08-25 17:06:28.747: E/EGL_adreno(3711): CreateContext rcMajorVersion:3, minorVersion:0 08-25 17:06:28.747: W/AppOps(556): Finishing op nesting under-run: uid 10023 pkg com.microvirt.launcher2 code 24 time=0 duration=0 nesting=0 08-25 17:06:28.747: D/EGL_adreno(3711): eglCreateContext: 0x7f93c1e47da0: maj 3 min 0 rcv 3 08-25 17:06:28.750: E/EGL_adreno(3711): CreateContext rcMajorVersion:3, minorVersion:0 08-25 17:06:28.750: D/EGL_adreno(3711): eglCreateContext: 0x7f93c1e47da0: maj 3 min 0 rcv 3 08-25 17:06:28.757: E/EGL_adreno(3711): CreateContext rcMajorVersion:3, minorVersion:0 08-25 17:06:28.758: D/EGL_adreno(3711): eglCreateContext: 0x7f93c1e47e40: maj 3 min 0 rcv 3 08-25 17:06:28.763: D/Unity(3711): GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_paletted_texture GL_EXT_color_buffer_float GL_EXT_texture_buffer GL_EXT_color_buffer_half_float GL_OES_texture_npot GL_KHR_texture_compression_astc_hdr GL_KHR_texture_compression_astc_ldr GL_EXT_robustness GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object ANDROID_EMU_gles_max_version_3_0 08-25 17:06:28.763: D/Unity(3711): [ 08-25 17:06:28.782 3711: 3759 D/ ] 08-25 17:06:28.763: D/Unity(3711): HostConnection::get() New Host Connection established 0x7f93c8834bb0, tid 3759 08-25 17:06:28.823: D/BluetoothManagerService(556): Creating new ProfileServiceConnections object for profile: 1 08-25 17:06:28.823: E/BluetoothManagerService(556): Fail to bind to: Intent { act=android.bluetooth.IBluetoothHeadset } 08-25 17:06:28.823: W/BluetoothManagerService(556): Unable to bind with intent: Intent { act=android.bluetooth.IBluetoothHeadset } 08-25 17:06:28.828: D/AudioTrack(3711): Client defaulted notificationFrames to 682 for frameCount 2048 08-25 17:06:29.140: V/MediaRouter(3711): Adding route: RouteInfo{ name=Tablet, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } 08-25 17:06:29.140: V/MediaRouter(3711): Updating audio routes: AudioRoutesInfo{ type=SPEAKER } 08-25 17:06:29.141: V/MediaRouter(3711): Selecting route: RouteInfo{ name=Tablet, description=null, status=null, category=RouteCategory{ name=null types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null } 08-25 17:06:29.204: E/CRASH(3711): 08-25 17:06:29.204: E/CRASH(3711): Version '2019.4.29f1 (0eeae20b1d82)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 08-25 17:06:29.204: E/CRASH(3711): Build fingerprint: 'OnePlus/OnePlus/A5010:7.1.2/20171130.376229:user/release-keys' 08-25 17:06:29.204: E/CRASH(3711): Revision: '0' 08-25 17:06:29.204: E/CRASH(3711): ABI: 'arm64' 08-25 17:06:29.206: E/CRASH(3711): Timestamp: 2021-08-25 17:06:29+0800 08-25 17:06:29.206: E/CRASH(3711): pid: 3711, tid: 3766, name: flush-8:0 >>> com.DefaultCompany.TestRenderStreamingAndroid2 <<< 08-25 17:06:29.206: E/CRASH(3711): uid: 10054 08-25 17:06:29.206: E/CRASH(3711): signal 4 (SIGILL), code 0 (SI_USER), fault addr -------- 08-25 17:06:29.207: E/CRASH(3711): x0 00007f9340400540 x1 00007f9340178090 x2 0000000000000001 x3 000000000000148e 08-25 17:06:29.207: E/CRASH(3711): x4 000000000e194640 x5 0000000000000048 x6 000000000000004e x7 000000000000004e 08-25 17:06:29.207: E/CRASH(3711): x8 00000000000000c0 x9 000000000000148e x10 00007f9340178090 x11 00000000ffffffff 08-25 17:06:29.207: E/CRASH(3711): x12 000000000007f92b x13 0000000000000000 x14 0000000000004575 x15 00007f93401673e8 08-25 17:06:29.207: E/CRASH(3711): x16 0000000005613780 x17 000000000c46ac9c x18 00007f92a12c7bd7 x19 0000000005655660 08-25 17:06:29.207: E/CRASH(3711): x20 0000000000000080 x21 0000000000000000 x22 00007f9340400540 x23 0000000005644a90 08-25 17:06:29.207: E/CRASH(3711): x24 00007f9340400000 x25 0000000000000007 x26 000000000000002b x27 00000000056462c6 08-25 17:06:29.208: E/CRASH(3711): x28 0000000000000018 x29 0000000000003234 08-25 17:06:29.208: E/CRASH(3711): sp 00007f93a79ff570 lr 000000000e11f2e0 pc 000000000565565c 08-25 17:06:29.208: E/CRASH(3711): backtrace: 08-25 17:06:29.208: E/CRASH(3711): #00 pc 000000000002365c 08-25 17:06:32.438: I/Finsky(1777): [49] ysn.j(1): Triggered update for experiment package com.google.android.finsky.stable. 08-25 17:06:32.462: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.467: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.474: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.474: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.476: I/Finsky(1777): [49] ysn.j(7): Already at the latest configurations for experiment package com.google.android.finsky.stable. 08-25 17:06:32.476: I/Finsky(1777): [49] ysk.u(2): Retrieved DSE selection state is true (cache=ysf@9a29fd9) 08-25 17:06:32.476: I/Finsky(1777): [53] ysn.j(1): Triggered update for experiment package com.google.android.finsky.regular. 08-25 17:06:32.476: I/Finsky(1777): [49] ysv.a(-1): DSE selection state after sync is true (cache=ysf@9a29fd9) 08-25 17:06:32.479: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.498: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.499: W/ProxyAndroidLoggerBackend(1777): Too many Flogger logs received before configuration. Dropping old logs. 08-25 17:06:32.501: I/Finsky(1777): [53] ysn.j(7): Already at the latest configurations for experiment package com.google.android.finsky.regular. 08-25 17:06:32.501: I/Finsky(1777): [53] ysk.u(2): Retrieved DSE selection state is true (cache=ysf@9a29fd9) 08-25 17:06:32.501: I/Finsky(1777): [53] ysv.a(-1): DSE selection state after sync is true (cache=ysf@9a29fd9) 08-25 17:06:33.772: I/GMS_MM_Logger(992): Memory Metric Logging not allowed. Stopping. 08-25 17:06:34.098: I/GMS_MM_Logger(1188): Memory Metric Logging not allowed. Stopping. 08-25 17:06:37.561: D/BoundBrokerSvc(992): onUnbind: Intent { act=com.google.android.gms.clearcut.service.START pkg=com.google.android.gms } 08-25 17:06:38.267: D/BoundBrokerSvc(1188): onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms } 08-25 17:06:38.267: I/ActivityManager(556): Killing 3448:android.process.media/u0a10 (adj 906): empty #6 08-25 17:06:38.294: D/ActivityManager(556): cleanUpApplicationRecord -- 3448 08-25 17:06:56.905: W/WifiMode(556): rfug125338, Invalid SupportedRates!!! 08-25 17:06:56.906: W/WifiMode(556): rfug125338, Invalid SupportedRates!!! 08-25 17:06:56.906: W/WifiMode(556): rfug125338, Invalid SupportedRates!!! 08-25 17:07:00.000: I/ActivityManager(556): Killing 3514:com.android.defcontainer/u0a7 (adj 906): empty #6 08-25 17:07:00.013: D/ActivityManager(556): cleanUpApplicationRecord -- 3514 08-25 17:07:24.269: E/CRASH(3711): other thread is trapped; signum = 4 08-25 17:07:24.269: E/InputEventReceiver(3711): Exception dispatching input event. 08-25 17:07:24.269: E/MessageQueue-JNI(3711): Exception in MessageQueue callback: handleReceiveCallback 08-25 17:07:24.269: E/MessageQueue-JNI(3711): java.lang.Error: 08-25 17:07:24.269: E/MessageQueue-JNI(3711): Version '2019.4.29f1 (0eeae20b1d82)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 08-25 17:07:24.269: E/MessageQueue-JNI(3711): Build fingerprint: 'OnePlus/OnePlus/A5010:7.1.2/20171130.376229:user/release-keys' 08-25 17:07:24.269: E/MessageQueue-JNI(3711): Revision: '0' 08-25 17:07:24.269: E/MessageQueue-JNI(3711): ABI: 'arm64' 08-25 17:07:24.269: E/MessageQueue-JNI(3711): Timestamp: 2021-08-25 17:06:29+0800 08-25 17:07:24.269: E/MessageQueue-JNI(3711): pid: 3711, tid: 3766, name: flush-8:0 >>> com.DefaultCompany.TestRenderStreamingAndroid2 <<< 08-25 17:07:24.269: E/MessageQueue-JNI(3711): uid: 10054 08-25 17:07:24.269: E/MessageQueue-JNI(3711): signal 4 (SIGILL), code 0 (SI_USER), fault addr -------- 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x0 00007f9340400540 x1 00007f9340178090 x2 0000000000000001 x3 000000000000148e 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x4 000000000e194640 x5 0000000000000048 x6 000000000000004e x7 000000000000004e 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x8 00000000000000c0 x9 000000000000148e x10 00007f9340178090 x11 00000000ffffffff 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x12 000000000007f92b x13 0000000000000000 x14 0000000000004575 x15 00007f93401673e8 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x16 0000000005613780 x17 000000000c46ac9c x18 00007f92a12c7bd7 x19 0000000005655660 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x20 0000000000000080 x21 0000000000000000 x22 00007f9340400540 x23 0000000005644a90 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x24 00007f9340400000 x25 0000000000000007 x26 000000000000002b x27 00000000056462c6 08-25 17:07:24.269: E/MessageQueue-JNI(3711): x28 0000000000000018 x29 0000000000003234 08-25 17:07:24.269: E/MessageQueue-JNI(3711): sp 00007f93a79ff570 lr 000000000e11f2e0 pc 000000000565565c 08-25 17:07:24.269: E/MessageQueue-JNI(3711): backtrace: 08-25 17:07:24.269: E/MessageQueue-JNI(3711): #00 pc 000000000002365c 08-25 17:07:24.269: E/MessageQueue-JNI(3711): at Unknown.0x565565c(Unknown Source) 08-25 17:07:24.269: D/AndroidRuntime(3711): Shutting down VM 08-25 17:07:24.269: E/AndroidRuntime(3711): FATAL EXCEPTION: main 08-25 17:07:24.269: E/AndroidRuntime(3711): Process: com.DefaultCompany.TestRenderStreamingAndroid2, PID: 3711 08-25 17:07:24.269: E/AndroidRuntime(3711): java.lang.Error: FATAL EXCEPTION [main] 08-25 17:07:24.269: E/AndroidRuntime(3711): Unity version : 2019.4.29f1 08-25 17:07:24.269: E/AndroidRuntime(3711): Device model : OnePlus A5010 08-25 17:07:24.269: E/AndroidRuntime(3711): Device fingerprint: OnePlus/OnePlus/A5010:7.1.2/20171130.376229:user/release-keys 08-25 17:07:24.269: E/AndroidRuntime(3711): Caused by: java.lang.Error: 08-25 17:07:24.269: E/AndroidRuntime(3711): Version '2019.4.29f1 (0eeae20b1d82)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a' 08-25 17:07:24.269: E/AndroidRuntime(3711): Build fingerprint: 'OnePlus/OnePlus/A5010:7.1.2/20171130.376229:user/release-keys' 08-25 17:07:24.269: E/AndroidRuntime(3711): Revision: '0' 08-25 17:07:24.269: E/AndroidRuntime(3711): ABI: 'arm64' 08-25 17:07:24.269: E/AndroidRuntime(3711): Timestamp: 2021-08-25 17:06:29+0800 08-25 17:07:24.269: E/AndroidRuntime(3711): pid: 3711, tid: 3766, name: flush-8:0 >>> com.DefaultCompany.TestRenderStreamingAndroid2 <<< 08-25 17:07:24.269: E/AndroidRuntime(3711): uid: 10054 08-25 17:07:24.269: E/AndroidRuntime(3711): signal 4 (SIGILL), code 0 (SI_USER), fault addr -------- 08-25 17:07:24.269: E/AndroidRuntime(3711): x0 00007f9340400540 x1 00007f9340178090 x2 0000000000000001 x3 000000000000148e 08-25 17:07:24.269: E/AndroidRuntime(3711): x4 000000000e194640 x5 0000000000000048 x6 000000000000004e x7 000000000000004e 08-25 17:07:24.269: E/AndroidRuntime(3711): x8 00000000000000c0 x9 000000000000148e x10 00007f9340178090 x11 00000000ffffffff 08-25 17:07:24.269: E/AndroidRuntime(3711): x12 000000000007f92b x13 0000000000000000 x14 0000000000004575 x15 00007f93401673e8 08-25 17:07:24.269: E/AndroidRuntime(3711): x16 0000000005613780 x17 000000000c46ac9c x18 00007f92a12c7bd7 x19 0000000005655660 08-25 17:07:24.269: E/AndroidRuntime(3711): x20 0000000000000080 x21 0000000000000000 x22 00007f9340400540 x23 0000000005644a90 08-25 17:07:24.269: E/AndroidRuntime(3711): x24 00007f9340400000 x25 0000000000000007 x26 000000000000002b x27 00000000056462c6 08-25 17:07:24.269: E/AndroidRuntime(3711): x28 0000000000000018 x29 0000000000003234 08-25 17:07:24.269: E/AndroidRuntime(3711): sp 00007f93a79ff570 lr 000000000e11f2e0 pc 000000000565565c 08-25 17:07:24.269: E/AndroidRuntime(3711): backtrace: 08-25 17:07:24.269: E/AndroidRuntime(3711): #00 pc 000000000002365c 08-25 17:07:24.269: E/AndroidRuntime(3711): at Unknown.0x565565c(Unknown Source)

karasusan commented 2 years ago

@zshin1996 We have not tested it on Android simulator. I will try that. Thanks for the info.

maeln commented 2 years ago

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 :

  1. Samsung Galaxy S20 FE - Android 11
  2. OnePlus 9 (LE2113) - Android 11

Unity Version :

  1. 2020.3.18f1

WebRTC Plugin version

  1. 2.4.0-exp.4 from this git (no modification)

Compilations config :

  1. IL2CPP, ARM64, Api Compat Level .NET 4.X & .NET Standard 2.0, Debug & Release (all crashed)

Only fix found : Forcing OpenGL ES 3

karasusan commented 2 years ago

@maeln Thanks, we will check this issue.

karasusan commented 2 years ago

memo: WRS-190, WRS-191

Muhammad-Hamad0343 commented 2 years ago

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;

  1. create a new empty 3d unity2020.3 project (currently trying on 2020.3.0f1)
  2. set the build target to android, select IL2CPP and arm64 --> try to build and run at this point. It works.
  3. 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

yasuohasegawa commented 2 years ago

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.

karasusan commented 2 years ago

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.

karasusan commented 2 years ago

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. image-2022-02-18-08-30-12-353

yasuohasegawa commented 2 years ago

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.

karasusan commented 2 years ago

@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.

Mikeye666 commented 2 years ago

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. image-2022-02-18-08-30-12-353

kannan-xiao4 commented 2 years ago

@Mikeye666 Thank you for sharing. We know that some devices will still cause an error, so we will investigate.

HenryLeC commented 2 years ago

The issue occurs on Quest 1 when using Vulkan and with Optimized Frame Pacing disabled

CarlosDanielFP commented 2 years ago

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

karasusan commented 2 years ago

@CarlosDanielFP Sure. I will add the note for the issue in the package document.

jinnyuri commented 2 years ago

@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

karasusan commented 2 years ago

@jinnyuri Have you tried that? https://github.com/Unity-Technologies/com.unity.webrtc/issues/437#issuecomment-1047388803

jinnyuri commented 2 years ago

@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.

karasusan commented 2 years ago

@jinnyuri That's good. What cause of the issue do you think?

jinnyuri commented 2 years ago

@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.

enigmablue commented 1 year ago

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, std::ndk1::allocator >::basic_string()) 2022/08/22 02:06:13.878 15204 18400 Error CRASH #03 pc 00000000002ff1d8 /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libwebrtc.so (bool std::ndk1::atomic_compare_exchange_strong<_jclass*>(std::ndk1::atomic<_jclass>, _jclass*, _jclass)) 2022/08/22 02:06:13.878 15204 18400 Error CRASH #04 pc 00000000002fc1c0 /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libwebrtc.so (webrtc::InitClassLoader(_JNIEnv)+52) 2022/08/22 02:06:13.878 15204 18400 Error CRASH #05 pc 000000000012856c /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libwebrtc.so (JNI_OnLoad+20) 2022/08/22 02:06:13.879 15204 18400 Error CRASH #06 pc 0000000000396990 /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 >*)+3344) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:06:13.878 2913 2913 Info ORC/DeviceUtil change sRealScreenResolution is null 2022/08/22 02:06:13.879 15204 18400 Error CRASH #07 pc 0000000000005210 /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+416) (BuildId: 76aa3ee1e55f24581f54bd8bde2dcdfe) 2022/08/22 02:06:13.879 15204 18400 Error CRASH #08 pc 0000000000081a24 /apex/com.android.art/javalib/arm64/boot.oat (BuildId: f8c286bf3b204e4b73705f3f371a4596c2d087b2)


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 >&, bool, BacktraceMap, bool) const+336) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG #02 pc 00000000005dad74 /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread)+924) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG #03 pc 00000000005d4be4 /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure, art::Closure)+532) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG #04 pc 00000000005d3b58 /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::1::basic_ostream<char, std::1::char_traits >&, bool)+1352) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.251 18991 18991 Fatal DEBUG #05 pc 000000000056d7c4 /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const)+1876) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #06 pc 0000000000013ab0 /system/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const)>&&)::$_3::invoke(char const)+80) (BuildId: 6d398535cd6d9315930f056432520bb9) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #07 pc 0000000000013090 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+320) (BuildId: 6d398535cd6d9315930f056432520bb9) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #08 pc 00000000005c3450 /apex/com.android.art/lib64/libart.so (art::Thread::AssertNoPendingException() const+1792) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #09 pc 00000000001d3b28 /apex/com.android.art/lib64/libart.so (art::ClassLinker::FindClass(art::Thread, char const, art::Handle)+64) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #10 pc 00000000003a0a04 /apex/com.android.art/lib64/libart.so (art::JNI::FindClass(_JNIEnv, char const)+1044) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #11 pc 0000000000415d24 /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libunity.so (BuildId: 6403ad0061730b4223a9b6f7347a0bf392ee8c32) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #12 pc 00000000004458d8 /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/lib/arm64/libunity.so (BuildId: 6403ad0061730b4223a9b6f7347a0bf392ee8c32) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #13 pc 0000000000007e9c /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/oat/arm64/base.odex (art_jni_trampoline+124) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #14 pc 0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #15 pc 00000000001aa7e8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+200) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #16 pc 0000000000324b58 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame, unsigned short, art::JValue)+376) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #17 pc 000000000031ad40 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue)+912) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #18 pc 0000000000691608 /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+576) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #19 pc 000000000012e914 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #20 pc 000000000004c3dc /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer.access$300) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #21 pc 0000000000692180 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+1224) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #22 pc 000000000012e994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #23 pc 000000000004ba4e /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer$e$1.handleMessage+190) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #24 pc 0000000000311fe8 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.10995447378218256577)+264) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #25 pc 000000000067d708 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #26 pc 000000000013dff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #27 pc 00000000006c0d28 /system/framework/arm64/boot-framework.oat (android.os.Handler.dispatchMessage+136) (BuildId: c13e769fb11f99fc76ec34c950d5632848397742) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #28 pc 00000000006c424c /system/framework/arm64/boot-framework.oat (android.os.Looper.loop+1516) (BuildId: c13e769fb11f99fc76ec34c950d5632848397742) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #29 pc 00000000001347e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #30 pc 00000000001aa804 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+228) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #31 pc 0000000000324b58 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame, unsigned short, art::JValue)+376) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #32 pc 000000000031ad40 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue)+912) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #33 pc 0000000000691edc /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #34 pc 000000000012e994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #35 pc 000000000004be48 /data/app/~~TMOJo0lUz0_JtW9Coo_9eQ==/com.x.x-dDUnsHhjIroVT1V_C7W9aA==/oat/arm64/base.vdex (com.unity3d.player.UnityPlayer$e.run+40) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #36 pc 0000000000311fe8 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.10995447378218256577)+264) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #37 pc 000000000067d708 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #38 pc 000000000013dff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #39 pc 0000000000134564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #40 pc 00000000001aa7e8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+200) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #41 pc 0000000000565434 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, art::ArtMethod, jvalue const)+460) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #42 pc 00000000005b5724 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void)+1308) (BuildId: db802ac545b9fe252e5b2b8cb9a63fb1) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #43 pc 00000000000b0fe8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 6df669a33ad6f86821878f8147088504) 2022/08/22 02:10:37.252 18991 18991 Fatal DEBUG #44 pc 0000000000050958 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 6df669a33ad6f86821878f8147088504)

enigmablue commented 1 year ago

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

karasusan commented 1 year ago

@enigmablue Wow, this is a valuable information! Thank you!

jonkelling commented 1 year ago

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.

image
kannan-xiao4 commented 1 year ago

@jonkelling Is that means your app crash when using combination WebRTC package and Oculus XR plugin? If so, can you share the log?

dev-cmurphy commented 1 year ago

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.

kannan-xiao4 commented 1 year ago

@dev-cmurphy Thank you for sharing your situation. We are planning to investigate the difference by SoC separately.

ChilledCosmonaut commented 1 year ago

Same issue with the Pico Neo 3 Pro Eye:

Package version

3.1.0-exp.3

Environment

* OS: Android
* Unity version: Unity 2021.2
* Graphics API: Vulkan
* Browser: Node.js

Steps To Reproduce

  1. Download the Pico SDK
  2. Set build target to Android and switch to Android 26, ARMv8
  3. Build the project
  4. Project crashes instantly on start

Current Behavior

The application just won't start. Only a black screen for a few seconds

Expected Behavior

A working application

Anything else?

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)
kannan-xiao4 commented 1 year ago

@ChilledCosmonaut Thanks for reporting. Maybe, this is same issue. https://github.com/Unity-Technologies/UnityRenderStreaming/issues/722

VicEsquivel commented 11 months ago

@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

karasusan commented 11 months ago

@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)
giklette commented 11 months ago

take care to uncheck the minify Release option from the Publish panel

karasusan commented 11 months ago

@giklette Hi, I haven't checked minify parameters, how does it work?

image

joneswe commented 10 months ago

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.

karasusan commented 10 months ago

@joneswe Can I see a crash log?

joneswe commented 7 months ago

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:

Bildschirmfoto 2023-12-06 um 16 41 59

When I use OpenGLES3 it works fine. But I wanna use the Meta DepthApi, which only work on Vulkan :/

FejZa commented 7 months ago

Running into the same issue with Meta Quest 3.

mareksabov commented 4 months ago

Same issue on Meta Quest 2 and Meta Quest 3 with Vulcan, Optimized Frame Pacing didn't worked

Guicepp commented 1 month ago

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.

BYanSam commented 4 weeks ago

Same issue on Meta Quest 3 with Vulkan, is there any patch on this error?