Copyright © 2026 Unity Technologies
Canceling port as Unity 2022.1 is near its end of support.
Fixed in 2021.3.18f1
Crash only happens when trying to do readback into an empty array, not worth the risk of a backport to 2020.3
How to reproduce:
1. Download the attached project "scratchcard.zip"
2. Build and Run on Android with Vulkan Graphics API enabled
3. When the app loads press on "Scratch here" box
Expected result: The app does not crash
Actual result: The app crash with stacktrace:
at libunity.vk::VulkanResource::Release()(Release:12)
at libunity.GfxDeviceVK::UpdateAsyncReadbackData(GfxAsyncReadbackData*, bool)(UpdateAsyncReadbackData:520)
at libunity.AsyncGPUReadbackBuffer::Update(bool)(Update:30)
at libunity.AsyncGPUReadbackManager::Update()(Update:62)
Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b4, 2023.1.0a8
Reproducible with these devices:
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
Notes:
Issues you vote on will appear here