Log in or register to post comments

Metal Rendering : Camera Freezes and/or shows Corrupted Screen on Iphone X

October 20, 2019 - 11:57pm #1

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.


Metal Rendering : Camera Freezes and/or shows Corrupted Screen on Iphone X

October 24, 2019 - 2:13am #2


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.

As I am writing this, I noticed that maybe you are developing natively? If that is the case, Vuforia does not handle the rendering, only recognition and tracking.

Thank you.

Vuforia Engine Support

Log in or register to post comments