Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2020.3.X, 2021.2.X



Found in






Issue ID




Crash when selecting a Material

Hybrid Renderer


Reproduction steps:
1. Open attached project ""
2. Set the Active Graphics API to either Metal, Vulkan, OpenGL Core, OpelGLES2, or OpenGLES3
3. In the Project window select "m_cabinets_cabinet320.mat"

Reproducible with: URP 7.7.1 (2019.4.31f1), 10.6.0 (2020.3.20f1), 11.0.0 (2021.1.25f1), 12.1.0 (2021.2.0b6), 13.0.0 (2022.1.0a12)

First lines of the native stack trace using Metal:
0x15472ab92 - /Applications/Unity/2022.1.0a12_816252c3efbb/ : mono_dump_native_crash_info
0x1546d0e9a - /Applications/Unity/2022.1.0a12_816252c3efbb/ : mono_handle_native_crash
0x15464d275 - /Applications/Unity/2022.1.0a12_816252c3efbb/ : mono_sigsegv_signal_handler_debug
0x7fff2049ad7d - /usr/lib/system/libsystem_platform.dylib : _sigtramp
0x7ffd0c560c90 - Unknown
0x10524064b - /Applications/Unity/2022.1.0a12_816252c3efbb/ : _ZN15GfxDeviceWorker10RunCommandER20ThreadedStreamBuffer

First lines of the stack trace with Vulkan:
0x00007FF6D7B687F0 (Unity) GfxDeviceVKBase::DrawBuffersBatchMode
0x00007FF6D904441C (Unity) GfxDeviceWorker::RunCommand
0x00007FF6D9046CCD (Unity) GfxDeviceWorker::RunExt
0x00007FF6D9046DE8 (Unity) GfxDeviceWorker::RunGfxDeviceWorker

- Reproducible with Metal, Vulkan, OpenGL Core
- Not reproducible with Direct3D11


- The crash has been fixed on all graphics APIs except Vulkan.
- Vulkan has a fix in flight. But this fix won't cover the whole issue.
- The higher level cause is wrong buffer bind mask provided from SRP batch renderer. And the result is the material cannot be rendered correctly when SRP batcher is enabled.

Updated reproduction steps:
1. Open attached project ""
2. Create a 3D geometry in the scene (e.g. cube)
3. In the Project window select "m_cabinets_cabinet320.mat" and assign the material to the geometry

Expected result:
The geometry is rendered correctly with or without SRP batcher.

Actual result:
The geometry is either invisible or corrupted when SRP batcher is enabled.

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.2.0a3

  2. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0b6

  3. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.10f1

  4. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.28f1

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.