Search Unity

Issue between Bluetooth and ARKit

Discussion in 'AR' started by jimmya, Jun 21, 2018.

  1. jimmya

    jimmya

    Joined:
    Nov 15, 2016
    Posts:
    793
    This is the description of a problem from a developer:


    normal AR sessions are fine - but when i try to start a bluetooth multiplayer game, i get the following error:

    Session (0x117603230): did fail with error: Error Domain=com.apple.arkit.error Code=102 "Required sensor failed." UserInfo={NSLocalizedRecoverySuggestion=Make sure that the application has the required privacy settings., NSLocalizedDescription=Required sensor failed., NSLocalizedFailureReason=A sensor failed to deliver the required input.}
    i've added bluetooth, location, gravity and heading and camera privacy permissions to the Info.plist, but it still doesn't solve the issue

    it seems like it's struggling - it renders one or two frames of video (really struggles), and then just hangs with that error in Xcode
    however it doesn't crash
     
  2. jimmya

    jimmya

    Joined:
    Nov 15, 2016
    Posts:
    793
    Solution, also from same developer:

    i think both the bluetooth and the AR services were attempting to start at the same time and there was a library conflict in there, so i tried offsetting AR's setup by 1s and it's now working fine