Vulkan rendering crash

After I used Unity2022.3.34f1c1 to publish the Google application, I saw a large number of Vulkan rendering error logs in the background, as shown below

backtrace:
  #00  pc 0x0000000000840078  /vendor/lib64/egl/libGLES_mali.so
  #01  pc 0x000000000083b2c0  /vendor/lib64/egl/libGLES_mali.so
  #02  pc 0x0000000000757534  /data/app/~~QGAgQlvOykfg_AGmeZ8ZfA==/*****-5JfUUwayl0XLMiSrZm7ZVw==/lib/arm64/libunity.so (core::vector<VkSwapchainKHR_T*, 0ul>::grow()) (BuildId: 08bfb075aed999f2)
  #03  pc 0x0000000000c3a478  /data/app/~~QGAgQlvOykfg_AGmeZ8ZfA==/****-5JfUUwayl0XLMiSrZm7ZVw==/lib/arm64/libunity.so (GfxDeviceVK::InsertCustomMarkerCallbackAndDataWithFlags(void (*)(int, void*), int, CustomMarkerCallbackFlags, void*, unsigned long)) (BuildId: 08bfb075aed999f2)
  #04  pc 0x0000000000d749d8  /data/app/~~QGAgQlvOykfg_AGmeZ8ZfA==/****-5JfUUwayl0XLMiSrZm7ZVw==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)) (BuildId: 08bfb075aed999f2)
  #05  pc 0x0000000000d6ca90  /data/app/~~QGAgQlvOykfg_AGmeZ8ZfA==/****-5JfUUwayl0XLMiSrZm7ZVw==/lib/arm64/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)) (BuildId: 08bfb075aed999f2)
  #06  pc 0x0000000000d6c7d8  /data/app/~~QGAgQlvOykfg_AGmeZ8ZfA==/****-5JfUUwayl0XLMiSrZm7ZVw==/lib/arm64/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)) (BuildId: 08bfb075aed999f2)
  #07  pc 0x00000000006763d8  /data/app/~~QGAgQlvOykfg_AGmeZ8ZfA==/****-5JfUUwayl0XLMiSrZm7ZVw==/lib/arm64/libunity.so (Thread::RunThreadWrapper(void*)) (BuildId: 08bfb075aed999f2)
  #08  pc 0x00000000000b0838  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #09  pc 0x00000000000505d0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

And these

backtrace:
  #00  pc 0x000000000082be08  /vendor/lib64/egl/libGLES_mali.so (vulkan::find_crc_invalidate_transitions(unsigned int, VkImageMemoryBarrier const*, gfx::util::fast_array<hal::crc_plane, 16ul>&)+128)
  #01  pc 0x0000000000822964  /vendor/lib64/egl/libGLES_mali.so (vulkan::command_buffer::pipeline_barrier(unsigned int, unsigned int, unsigned int, VkMemoryBarrier const*, unsigned int, VkImageMemoryBarrier const*, unsigned int, VkBufferMemoryBarrier const*)+760)
  #02  pc 0x000000000082265c  /vendor/lib64/egl/libGLES_mali.so (vkCmdPipelineBarrier+48)
  #03  pc 0x0000000000757534  /data/app/~~5FMNPx7h2VKcnD11ro2CCw==/****-lxMxMktE8yajZCKe1i-2mg==/lib/arm64/libunity.so (core::vector<VkSwapchainKHR_T*, 0ul>::grow()) (BuildId: 08bfb075aed999f2)
  #04  pc 0x0000000000c3a478  /data/app/~~5FMNPx7h2VKcnD11ro2CCw==/****-lxMxMktE8yajZCKe1i-2mg==/lib/arm64/libunity.so (GfxDeviceVK::InsertCustomMarkerCallbackAndDataWithFlags(void (*)(int, void*), int, CustomMarkerCallbackFlags, void*, unsigned long)) (BuildId: 08bfb075aed999f2)
  #05  pc 0x0000000000d749d8  /data/app/~~5FMNPx7h2VKcnD11ro2CCw==/****-lxMxMktE8yajZCKe1i-2mg==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)) (BuildId: 08bfb075aed999f2)
  #06  pc 0x0000000000d6ca90  /data/app/~~5FMNPx7h2VKcnD11ro2CCw==/****-lxMxMktE8yajZCKe1i-2mg==/lib/arm64/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)) (BuildId: 08bfb075aed999f2)
  #07  pc 0x0000000000d6c7d8  /data/app/~~5FMNPx7h2VKcnD11ro2CCw==/****-lxMxMktE8yajZCKe1i-2mg==/lib/arm64/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)) (BuildId: 08bfb075aed999f2)
  #08  pc 0x00000000006763d8  /data/app/~~5FMNPx7h2VKcnD11ro2CCw==/****-lxMxMktE8yajZCKe1i-2mg==/lib/arm64/libunity.so (Thread::RunThreadWrapper(void*)) (BuildId: 08bfb075aed999f2)
  #09  pc 0x00000000000ef578  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
  #10  pc 0x000000000008c23c  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)

This is my PayerSetting

how can i solve this problem?

Howdy,

Is this issue reproducible only on mali devices or are adrenos also affected?
What rendering pipeline are you using?
Could you provide us example on what devices are failing so we could check out the underlying cause?



My project uses the built-in rendering pipeline.This problem is triggered on both mali and adrenos devices, I’m sorry that I can’t provide a simple Demo for you to test.

From what you have provided, I can see that these are lower-end devices. Do you use any custom render texture for your needs? This could be either issue with unsupported formats being used on these devices or device/Unity incorrectly reporting support for the vulkan extensions. First log you added tries to use VK_EXT_debug_utils feature to tag Vulkan resource so that points me to support issue regarding devices.

Have you solved this problem? We also encountered this.My Unity version is 2022.3.40.