Search Issue Tracker
Duplicate
Votes
2
Found in [Package]
13.1.2
Issue ID
1383510
Regression
No
[Android] App crashes on some devices when using additional lights in custom URP shader
How to reproduce:
1. Open the attached user's project "URPShaderAdditionalLightIssue-2021.2.zip"
2. Build and Run on Android device
Expected results: The app does not crash
Actual results: The app crashes
Stacktrace from Development build:
Error AndroidRuntime at libunity.GfxDeviceVK::EnsureValidBackbuffer(vk::SwapChain*)(EnsureValidBackbuffer:80)
Error AndroidRuntime at libunity.vk::RenderPassSwitcher::InternalApply(vk::CommandBuffer*)(InternalApply:188)
Error AndroidRuntime at libunity.GfxDeviceVKBase::BeforeDrawCall()(BeforeDrawCall:64)
Error AndroidRuntime at libunity.GfxDeviceVKBase::DrawBuffersInternal(unsigned long long, unsigned long long, unsigned int, unsigned long long const*, unsigned int const*, unsigned long long const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned int, int)(DrawBuffersInternal:100)
Error AndroidRuntime at libunity.GfxDeviceVKBase::DrawBufferRangesPlatform(GfxBuffer*, unsigned int, GfxBuffer* const*, unsigned int const*, int, DrawBuffersRange const*, int, VertexDeclaration*, unsigned int, int)(DrawBufferRangesPlatform:976)
Reproducible with: 12.0.0 (2021.2.0a17), 12.1.2 (2021.2.4f1), 13.1.2 (2022.1.0a16)
Could not test with: 7.7.1 (2019.4.33f1), 10.7.0 (2020.3.23f1), 12.0.0 (2021.2.0a16) (additional lights can't be used)
Reproducible on:
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
Not reproducible on:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
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
- UI Builder window does not mark the document as dirty when the "Unset" action is performed on an element of a nested document
- Shader Graph node settings warning text colour is very hard to read
- Inconsistent logic on when 'open VFX graph Samples' button appears on Visual Effect Graph in Package Manager
- Unable to dock tabs on panels when non-standard pointers are used (touch-screen, tablet and pen)
- Editor hangs when rendering TMP Text Component with Left and Right Margins set in the Extra Settings
This is a duplicate of issue #1369438