Open ZibYang opened 10 months ago
I will install the beta and give it a try. I previously submitted feedback regarding the initial releases of iOS17, where the statistics API was not functioning correctly; this could be related.
The feature/visionOS branch has reached a point where I am able to check the first bug. I can duplicate it, but it seems to only happen if the "showStatistics" option is the first one turned on. So I isolated the case and found that this problem can be traced to some Metal encoder buffer error setting, so it's a problem with how Apple is using fonts to display the debugger. I have reported this and will keep an eye on the evolution.
Device: iPhone 15 Pro Max iOS version: 17.2
Xcode version: 15.1
The first error report: Error message: -[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.
How to reproduce: After all set, add 'Statistics' on the 'ARView debug Option', then the iOS app crashed
The second error report: Error message: -[RPScreenRecorder stopCaptureWithHandler:]:555 failed to stop in app capture because we're not recording
How to reproduce: When I tap record on the iPhone, it will ask for my permission, even if I do not grant it, it still works fine. When I pressed the button to try to stop recording, the iOS app crashed.