justin.wasilenko
4 years agoProtege
Unity 2021.3.2 Vulkan not working.
Updated to Unity 2021.3.2 and the Oculus v39 intergration package and now Vulkan does not load. App just loads a black screen and then crashes.
Switching over to OpenGLES3 and it works just fine.
Here's the adb logcat of the crash:
05-12 16:20:14.325 6222 6294 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-12 16:20:14.325 6222 6294 E CRASH : Version '2021.3.2f1 (d6360bedb9a0)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
05-12 16:20:14.325 6222 6294 E CRASH : Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/26242800497100000:user/release-keys'
05-12 16:20:14.325 6222 6294 E CRASH : Revision: '0'
05-12 16:20:14.325 6222 6294 E CRASH : ABI: 'arm64'
05-12 16:20:14.325 6222 6294 E CRASH : Timestamp: 2022-05-12 16:20:14-0700
05-12 16:20:14.325 6222 6294 E CRASH : pid: 6222, tid: 6294, name: Vulkan Submissi >>> com.icefallinteractive.projectname <<<
05-12 16:20:14.325 6222 6294 E CRASH : uid: 10096
05-12 16:20:14.325 6222 6294 E CRASH : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe8
05-12 16:20:14.325 6222 6294 E CRASH : Cause: null pointer dereference
05-12 16:20:14.325 6222 6294 E CRASH : x0 0000006fa294d800 x1 0000006ebdbb3200 x2 0000000000000000 x3 0000000000000000
05-12 16:20:14.325 6222 6294 E CRASH : x4 0000000000000000 x5 00000000ffffffff x6 0000006fc2f76000 x7 0000006ebdbb3200
05-12 16:20:14.325 6222 6294 E CRASH : x8 00000000000000a8 x9 000000708abaafc0 x10 0000000002220200 x11 0000000000000002
05-12 16:20:14.325 6222 6294 E CRASH : x12 00000000000000a8 x13 0000000000000000 x14 0000000000000003 x15 00000000000002d2
05-12 16:20:14.325 6222 6294 E CRASH : x16 0000000000000000 x17 000000708a9b6800 x18 0000006faf61c000 x19 0000006ebdbb3200
05-12 16:20:14.325 6222 6294 E CRASH : x20 0000006fa294d850 x21 00000000000012d3 x22 0000006fa294d800 x23 0000000000000000
05-12 16:20:14.325 6222 6294 E CRASH : x24 0000006fc31dd1f0 x25 000000708abaafc0 x26 0000006faf7fb860 x27 00000000000000a8
05-12 16:20:14.325 6222 6294 E CRASH : x28 0000000000000001 x29 0000006faf7fba20
05-12 16:20:14.325 6222 6294 E CRASH : sp 0000006faf7fb610 lr 0000006fc3096608 pc 0000006fc309663c
05-12 16:20:14.325 6222 6294 E CRASH :
05-12 16:20:14.325 6222 6294 E CRASH : backtrace:
05-12 16:20:14.325 6222 6294 E CRASH : #00 pc 000000000014063c /vendor/lib64/hw/vulkan.kona.so (BuildId: 8637bccd054a5cb587d5cdd46a5449bd)
05-12 16:20:14.325 6222 6294 E CRASH : #01 pc 00000000000d7c2c /vendor/lib64/hw/vulkan.kona.so (qglinternal::vkEndCommandBuffer(VkCommandBuffer_T*)+204) (BuildId: 8637bccd054a5cb587d5cdd46a5449bd)
05-12 16:20:14.325 6222 6294 E CRASH : #02 pc 00000000007818d4 /data/app/com.icefallinteractive.projectname-UWubjEnmuCuxACwb8SnYIw==/lib/arm64/libunity.so (BuildId: 7839d2df2cf52918d6e7efd67a07b7d48b274662)
05-12 16:20:14.325 6222 6294 E CRASH : #03 pc 0000000000770374 /data/app/com.icefallinteractive.projectname-UWubjEnmuCuxACwb8SnYIw==/lib/arm64/libunity.so (BuildId: 7839d2df2cf52918d6e7efd67a07b7d48b274662)
05-12 16:20:14.325 6222 6294 E CRASH : #04 pc 000000000076eab8 /data/app/com.icefallinteractive.projectname-UWubjEnmuCuxACwb8SnYIw==/lib/arm64/libunity.so (BuildId: 7839d2df2cf52918d6e7efd67a07b7d48b274662)
05-12 16:20:14.325 6222 6294 E CRASH : #05 pc 000000000076e574 /data/app/com.icefallinteractive.projectname-UWubjEnmuCuxACwb8SnYIw==/lib/arm64/libunity.so (BuildId: 7839d2df2cf52918d6e7efd67a07b7d48b274662)
05-12 16:20:14.325 6222 6294 E CRASH : #06 pc 00000000002f10ec /data/app/com.icefallinteractive.projectname-UWubjEnmuCuxACwb8SnYIw==/lib/arm64/libunity.so (BuildId: 7839d2df2cf52918d6e7efd67a07b7d48b274662)
05-12 16:20:14.325 6222 6294 E CRASH : #07 pc 00000000000d4884 /apex/com.android.runtime/lib64/