Search Issue Tracker

In Progress

Fixed in 2023.1.0a12

Fix In Review for 2021.3.18f1, 2022.2.5f1

Votes

1

Found in

2020.3.38f1

2021.3.8f1

2022.1.13f1

2022.2.0b4

2023.1.0a8

Issue ID

UUM-12422

Regression

No

Android build with Vulkan crashes when trying to invoke AsyncGPUReadback

--

-

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:
- Crashes on Vulkan produced stacktrace related to Vulkan
- Crashes on OpenGLES3 only produced stacktrace on Unity 2023.1, does not crash on Unity 2020.3
- The Editor crashes when entering Play mode and doing step 3 in Editor after making a build (does not crash before building)

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.