Mesh: Add debugging code to CreateBuffers