ARView.debugOptions = .showStatistics Error: 5775

struct ARViewContainer: UIViewRepresentable { func makeUIView(context: Context) -> ARView { let arView = ARView(frame: .zero) arView.debugOptions = .showStatistics // Error: return arView } func updateUIView(_ uiView: ARView, context: Context) {} }

-[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 61840. '

Hi there! This is a known issue, you should be able to work around this by disabling Metal API validation in your project’s scheme.

ARView.debugOptions = .showStatistics Error: 5775
 
 
Q