With the Cubes example setting m_debug to BGFX_DEBUG_STATS on ExampleCubes::Init causes the rendering of the cubes to break on vulkan, this works fine on other backends (D3D11 / D3D12).
To reproduce in example-01-cubes:
Change m_debug to initialize to BGFX_DEBUG_STATS
Start the example up with the vulkan backend and the example rendering breaks:

For reference this is the example running in D3D12 with the same changes:
