简体   繁体   中英

ARkit unity project, video playback stops. iOS 11.2.5 with error: Domain=com.apple.arkit.error Code=102 “Required sensor failed.”

camera playback stops after a few seconds of scanning, but other things(like touches) is alright. It starts after device update to 11.2.5 (we think so). In xcode I found this exception:

2018-02-06 12:38:30.324438+0300 arkitscene[5138:1590376] [Session] Session (0x1100ea340): 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=0x1c524f960 {Error Domain=CMErrorDomain Code=102 "(null)"}, NSLocalizedRecoverySuggestion=Make sure that the application has the required privacy settings., NSLocalizedDescription=Required sensor failed.}

通过从Unity AR Alignment Gravity更改为Unity AR Alignment Gravity,然后在Unity Editor中的ARCameraManager上更改Start Alignment来解决此问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM