Search Issue Tracker
Fixed in 2021.3.18f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 2023.1.0a12
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
- Visual Studio Code does not integrate with the project when the .slnx project is opened
Resolution Note (fix version 2021.3):
Fixed in 2021.3.18f1