mozilla-mobile / webxr-ios

An iOS app for testing WebXR
Mozilla Public License 2.0
211 stars 42 forks source link

Xcode 11: App freezes without crash when entering AR using Metal & building with Xcode 11/iOS 13 #180

Open robomex opened 5 years ago

robomex commented 5 years ago

After tapping 'Go' to enter AR (while using Metal & building for a device with iOS 13 using Xcode 11), the app will freeze without crashing or producing any discernible error.

robomex commented 5 years ago

It seems this is a widespread issue with Metal introduced with iOS 13 and/or Xcode 11. See the Apple forums thread on a partially related subject here.

However, whereas the recommendation provided by Apple in that thread did not resolve the WebXR Viewer issue for me – it seems disabling GPU Frame Capture (in: Edit Scheme -> Run -> Options -> GPU Frame Capture) does resolve the issue.

I've disabled GPU Frame Capture until Apple resolves the underlying issue.