Hello there, we have a problem with Metal Rendering on an iPhone X. Both the samples and our app freezes after some seconds. In the Samples, it freezes and after some seconds it restarts the camera and showing this error in the Log:
ImageTargetsMetal[3955:4225549] [Session] Session (0x10a5144c0): did fail with error: Error Domain=com.apple.arkit.error Code=102 "Required sensor failed." UserInfo={NSLocalizedFailureReason=A sensor failed to deliver the required input., NSUnderlyingError=0x281697cc0 {Error Domain=AVFoundationErrorDomain Code=-11819 "Cannot Complete Action" UserInfo={NSLocalizedDescription=Cannot Complete Action, NSLocalizedRecoverySuggestion=Try again later.}}, NSLocalizedRecoverySuggestion=Make sure that the application has the required privacy settings., NSLocalizedDescription=Required sensor failed.}
This error is not shown in our app. I have tried both Sensor Fusion and Vuforia Vision only. In our app, the camera does not recover at all and sometimes shows a corrupted screen (pink or green stripes along the edges) although the render code is almost identical to the code in the sample It works without problems on iPhone 7.
Hi
Hi
I've tested using 8.3.8 and 8.5.8 with the corresponding core samples and was *not* able to reproduce the issue. Unity 2019.2.2
In the tests I left only Metal under the Graphics APIs and build on iPhone X.