When the ".showStatistics" debug option is assigned to an ARView in runtime, the app crashes due to metal encoder buffer offset errors.
The error reads as follows:
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5775: failed assertion `Draw Errors Validation
Vertex Function(vsSdfFont): the offset into the buffer viewConstants that is bound at buffer index 4 must be a multiple of 256 but was set to 62096.