Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug Game crashed after resume [libunity.so] GfxDeviceVK::EnsureValidBackbuffer(vk::SwapChain*)

Discussion in 'Android' started by modernator24, Apr 13, 2024.

  1. modernator24

    modernator24

    Joined:
    Apr 7, 2017
    Posts:
    208
    Once of my tester reported a crash when he swapped the app to something else and back to my game, the game crashed. Here's the crash message I can find in Google Play Console:

    Code (CSharp):
    1. backtrace:
    2.   #00  pc 0x000000000070adf4  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceVK::EnsureValidBackbuffer(vk::SwapChain*)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    3.   #01  pc 0x0000000000718b80  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (vk::RenderPassSwitcher::InternalApply(vk::CommandBuffer*)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    4.   #02  pc 0x00000000007029f0  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceVKBase::BeforeDrawCall()) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    5.   #03  pc 0x00000000006facf4  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceVKBase::DrawBuffersInternal(VkBuffer_T*, unsigned long, unsigned int, VkBuffer_T* const*, unsigned int const*, unsigned long const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned int, int)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    6.   #04  pc 0x0000000000704cd0  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceVKBase::DrawBufferRangesPlatform(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long, int)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    7.   #05  pc 0x0000000000655be0  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (SinglePassStereoSupportExt::DrawBuffersStereo(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned long)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    8.   #06  pc 0x00000000006fac5c  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceVKBase::DrawBuffers(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    9.   #07  pc 0x000000000065790c  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (DynamicVBO::DrawChunk(VertexDeclaration*)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    10.   #08  pc 0x00000000008094b4  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    11.   #09  pc 0x000000000080b27c  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    12.   #10  pc 0x0000000000802b0c  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (GfxDeviceWorker::RunGfxDeviceWorker(void*)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    13.   #11  pc 0x000000000029543c  /data/app/~~6Y8aJrdetOO-eVofoom3Gw==/me.modernator.extinctionob-NOy4CvUlw83iGhFTRP6d9Q==/lib/arm64/libunity.so (Thread::RunThreadWrapper(void*)) (BuildId: f1eeff0b7d2e3d16974dc4fde0b13e34e976f879)
    14.   #12  pc 0x000000000010ba80  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
    15.   #13  pc 0x000000000009f690  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    Any advice? Using Unity 2021.3.13f1.