Search Issue Tracker

Fixed

Fixed in 2022.3.60f1

Votes

5

Found in

2021.3.46f1

2022.3.54f1

Issue ID

UUM-90287

Regression

Yes

[Vulkan] Application crashes with Vulkan when restoring from background on Linux

-

Steps to reproduce (Android version):
1. Open the attached user's project "SampleProject.zip"
2. Switch to Android
3. Make sure Vulkan Graphics API is select
4. Build to a Android devices
5. Press the button marked "Next Scene" then quickly put the app to the background, then restore it and wait for the crash to happen

Expected results: Application does not crash on Android devices with Vulkan when restoring from the background
Actual results: Application crashes on Android devices with Vulkan when restoring from the background

Reproducible with : 2021.3.46f1, 2022.3.40f1, 2022.3.54f1
Not reproducible with: 2022.3.39f1
Could not effectively test on 6000.0.10f1, 6000.0.29f1 and 6000.0.0a7 due to "AndroidJavaException: java.lang.ClassNotFoundException: com.unity3d.player.UnityPlayer$SynchronizationTimeout" when performing the steps in application

Reproducible with these devices:
VLNQA00598, Samsung Galaxy Fold (SM-F900F), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00422, Samsung Galaxy S21 Ultra 5G (SM-G998B), Android 11, CPU: Exynos 2100, GPU: Mali-G78
VLNQA00282, Samsung Galaxy S10e (SM-G970U), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640

Not reproducible with these devices
VLNQA00381, Xiaomi Redmi Note 8 Pro (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4

Notes:
-Issue does not reproduce when Graphics API is set to OpenGLES3
-The AndroidJavaException prevents the application from crashing on 6000.0.x
-Android logcat symbolized stacktrace:
#00 pc 0004c890 (vulkan.msmnile[.so|.so.sym|.sym.so|.so.dbg|.dbg.so] not found) /vendor/lib/hw/vulkan.msmnile.so (qglinternal::vkCmdPipelineBarrier(VkCommandBuffer_T*, unsigned int, unsigned int, unsigned int, unsigned int, VkMemoryBarrier const*, unsigned int, VkBufferMemoryBarrier const*, unsigned int, VkImageMemoryBarrier const*)+20)
#01 pc 013de390 (vk::PipelineBarrierMap::Submit(VkCommandBuffer_T*, unsigned int) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (vk::PipelineBarrierMap::Submit(VkCommandBuffer_T*, unsigned int)+228) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#02 pc 013dd014 (vk::CommandBuffer::FlushBarriers(bool) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (vk::CommandBuffer::FlushBarriers(bool)+3284) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#03 pc 013de6d4 (vk::CommandBuffer::BeginRenderPass(VkRenderPassBeginInfo const&, VkSubpassContents) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (vk::CommandBuffer::BeginRenderPass(VkRenderPassBeginInfo const&, VkSubpassContents)+24) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#04 pc 01409cac (vk::RenderPassSwitcher::BeginCurrentRenderPass(vk::CommandBuffer*, bool) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (vk::RenderPassSwitcher::BeginCurrentRenderPass(vk::CommandBuffer*, bool)+1084) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#05 pc 014093b4 (vk::RenderPassSwitcher::RealizePendingSideEffects(vk::CommandBuffer*) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (vk::RenderPassSwitcher::RealizePendingSideEffects(vk::CommandBuffer*)+168) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#06 pc 01445374 (GfxDeviceVKBase::EnsureCurrentCommandBuffer(vk::CommandBuffer::Type, bool) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (GfxDeviceVKBase::EnsureCurrentCommandBuffer(vk::CommandBuffer::Type, bool)+480) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#07 pc 01451fd0 (GfxDeviceVK::AdvanceImage(vk::SwapChain*) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (GfxDeviceVK::AdvanceImage(vk::SwapChain*)+216) (BuildId: ae117002ef667c4065d7cfd09db27bc3745eb437)
#08 pc 014288ac (vk::SwapChain::GetBackBufferImage(bool) at ??:0) /data/app/com.DefaultCompany.CrashExample-RphVjQPxnhRTDdQ_cGGyKA==/lib/arm/libunity.so (vk::SwapChain::GetBackBufferImage(bool)+52

Comments (2)

  1. Dave-Hampson

    Mar 06, 2025 10:07

    Hey everyone, release notes are a little confusing so I'll attempt to summarise:

    - 2022.3.39 and earlier did not have this Vulkan issue in
    - 2022.3.56 and later does not have this issue in for Android, however a Vulkan issue remains on some Linux systems

  2. YousafGrewal

    Mar 01, 2025 12:56

    Issue us resolved or not can i use this version without any issues?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.