Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2020.3.X

Duplicate in 2021.3.X

Votes

1

Found in

2020.3

2020.3.25f1

Issue ID

1399459

Regression

No

[Android][Vulkan] Application crashes upon opening after putting it to sleep while in the loading screen

Android

-

1. Open the attached user's project "DeepLink.zip"
2. Make sure that Vulkan is selected as the Graphics API
3. Build for Android
4. Launch the app and put it in the background whilst is still in a black screen
5. Open the app

Expected result: Application launches without a crash
Actual result: opening the Application, after putting it in the background, crashes

Reproduces on: 2020.3.25f1
Could not test on 2019.4.34f1, 2021.2.7f1, 2022.1.0b2 and 2022.2.0a1 due to AndroidManifest errors when trying to perform a Build

Reproducible with these devices:
Galaxy s9 (Mali) Android 10
Galaxy s10e (Mali) Android 11
N/A, Samsung Galaxy S9 (SM-G960F), Android 8.0.0, CPU: Exynos 9 Series 9810, GPU: Mali-G72

Notes:
-Reproducible only on Vulkan

Comments (2)

  1. Shefich

    Aug 26, 2022 12:00

    Unity 2020.3.38f1.
    Same issue:
    0
    libc.so
    (Missing UUID e8a95d2a73171dc45000479abefe26f8)
    1
    libmonochrome.so
    (Missing UUID 5a3926e5dab733b203e516cc875c59189243f263)
    2
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    3
    libmonochrome.so
    (Missing UUID 5a3926e5dab733b203e516cc875c59189243f263)
    4
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    5
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    6
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    7
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    8
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    9
    libunity.so
    block_merge_next
    10
    libunity.so
    tlsf_free
    11
    libunity.so
    __ashldi3
    12
    libunity.so
    DynamicHeapAllocator::Deallocate(void*)
    13
    libunity.so
    __ashldi3
    14
    libunity.so
    __ashldi3
    15
    libunity.so
    DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void*)
    16
    libunity.so
    __ashldi3
    17
    libunity.so
    DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void*)
    18
    libunity.so
    __ashldi3
    19
    libunity.so
    MemoryManager::Deallocate(void*, MemLabelId, char const*, int)
    20
    libunity.so
    __ashldi3
    21
    libunity.so
    __ashldi3
    22
    libunity.so
    free_alloc_internal(void*, MemLabelId, char const*, int)
    23
    libunity.so
    __ashldi3
    24
    libunity.so
    block_merge_next
    25
    libunity.so
    tlsf_free
    26
    libunity.so
    __ashldi3
    27
    libunity.so
    DynamicHeapAllocator::Deallocate(void*)
    28
    libunity.so
    __ashldi3
    29
    libunity.so
    __ashldi3
    30
    libunity.so
    DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate(void*)
    31
    libunity.so
    __ashldi3
    32
    libunity.so
    MemoryManager::Deallocate(void*, MemLabelId, char const*, int)
    33
    libunity.so
    __ashldi3
    34
    libmonochrome.so
    (Missing UUID 5a3926e5dab733b203e516cc875c59189243f263)
    35
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    36
    libunity.so
    __ashldi3
    37
    libunity.so
    vk::SwapChain::DestroyFrameBuffers()
    38
    libunity.so
    vk::SwapChain::UpdateConfiguration(vk::SwapChainConfiguration const&, bool, vk::CommandBuffer*)
    39
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    40
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    41
    libmonochrome.so
    (Missing UUID 5a3926e5dab733b203e516cc875c59189243f263)
    42
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    43
    libGLES_mali.so
    (Missing UUID d06d66b6ae72b8d3f3d3b92bbc8b82e2)
    44
    libunity.so
    vk::SwapChain::AcquireNextImage(unsigned int*, unsigned long long, bool*)
    45
    libunity.so
    AndroidDisplayManagerVulkan::SwitchToOffscreenSwapchain(unsigned int)
    46
    libunity.so
    nativeRecreateGfxState(_JNIEnv*, _jobject*, int, _jobject*)
    47
    (Missing)
    48
    libunity.so
    __ashldi3
    49
    libunity.so
    __ashldi3
    50
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)
    51
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)
    52
    libunity.so
    core::hash_map<int, Object*, core::hash<int>, std::__ndk1::equal_to<int> >::find(int const&)
    53
    libunity.so
    __ashldi3
    54
    libunity.so
    PPtr<Camera>::operator Camera*() const
    55
    libmonochrome.so
    (Missing UUID 5a3926e5dab733b203e516cc875c59189243f263)
    56
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)
    57
    libunity.so
    GUIStateScope::End(GUIKeyboardState&, GUIState&, IMGUI::NamedKeyControlList*)
    58
    libunity.so
    GUIManager::DoGUIEvent(InputEvent&, bool)
    59
    libmonochrome.so
    (Missing UUID 5a3926e5dab733b203e516cc875c59189243f263)
    60
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)
    61
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)
    62
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)
    63
    libart.so
    (Missing UUID 7d2204ce250005a94e8fa26e1e656404)

  2. clueduppstephen

    Feb 28, 2022 08:37

    A unity support ticket directed us to this issue. If accurate our Crashlytics reports 120 crashes affecting the following devices:

    74% Samsung:
    ---> 22% Galaxy S21 5G
    ---> 10 Galaxy S8
    ---> 9% Galaxy S21 Ultra 5G
    ---> 33% Other(22)
    15% HUAWEI
    ---> 3% P30 Pro
    ---> 3% HUAWEI P smart 2019
    ---> P20 Pro
    ---> 7% Other (6)
    5% Google
    3% Xiaomi
    3% Other

    Hope this information is useful.

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.