Vulkan cause my game to crash on Adreno GPU devices

Hello there,

Some of my game users are encountering game crashes on devices from different manufacturers with an Adreno GPU. Adreno 610, 618, 640, and maybe others.

I use:
Unity Editor 2022.3.22f1.
URB version 14.0.10

Stack Trace is collected by Unity Cloud Diagnostics:

Native StackTrace:
Thread 0 (crashed)
0 libunity.so 0x00000078a574af1c vk::Image::AccessWholeImage(vk::CommandBuffer*, VkImageLayout, unsigned int, unsigned int, bool, bool)
1 libunity.so 0x00000078a570a200 vk::RenderPassSwitcher::InternalApply(vk::CommandBuffer*)
2 libunity.so 0x00000078a5739cec GfxDeviceVKBase::EnsureCurrentCommandBuffer(vk::CommandBuffer::Type, bool)
3 libunity.so 0x00000078a573559c GfxDeviceVKBase::SetShadersThreadable(GpuProgram**, GpuProgramParameters const**, unsigned char const* const*)
4 libunity.so 0x00000078a5811bec GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&)
5 libunity.so 0x00000078a58115e8 GfxDeviceWorker::RunExt(ThreadedStreamBuffer&)
6 libunity.so 0x00000078a5811330 GfxDeviceWorker::RunGfxDeviceWorker(void*)
7 libunity.so 0x00000078a51af794 Thread::RunThreadWrapper(void*)
8 libc.so 0x00000079d83737c8 <symbols missing for uuid: 8a2277585401a6103d671ea1f801ed52>
9 libc.so 0x00000079d830d1bc <symbols missing for uuid: 8a2277585401a6103d671ea1f801ed52>

Thank you

Additional info about this bug: (for MY case)

  • This bug is related to Visual Effects Graph when using Vulkan on Android devices that have certain models of Adreno Graphic processors.

  • The bug causes the whole screen to freeze while the game still runs in the background (audio and touch working as expected).

  • Every VFX Graph system implementing a Single Burst or Periodic Burst spawn block will cause the bug by the end of the first burst’s lifetime.

  • VFX Graph systems implementing a Constant Spawn Rate spawn block Runs as expected.

  • VFX Graph systems implementing a Constant Spawn Rate spawn block will cause the bug if the spawn stops by any method (stop event, setting the spawn rate to 0, or turning the spawn block off)

  • In VFX Graph systems that implement multiple spawn block types, if the Constant Spawn Rate block starts spawning particles first, then the Burst Spawn blocks will work as expected for as long as the Constant Spawn Rate block is active.

I couldn’t think of a workaround for this bug. I hope someone does.

Hello @Alien_Eye ! Did you find a fix for this? I have the same issues, same outcomes that you mentioned, but I am not even using vfx graph, im on Unity 2022.3 LTS

Hello @abhishekdtlabz,
No, I didn’t find a solution for this issue, I hope you find out what causes this problem in your project.

1 Like

Aah thats just sad