Search Unity

ARFoundation - Change ARKit ARConfiguration.WorldAlignment Option

Discussion in 'Handheld AR' started by KISP, Jan 4, 2019.

  1. KISP


    Sep 13, 2018

    Lately, I've been noticing that XCode is reporting a "[Sensor] ARImage Sensor failed to start!" error that produces a ARKit 102 (required sensor fail) error every time I start the AR. One of the most common recommendations to fix this error is to change ARKit's ARConfiguration.WorldAlignment option to gravity instead of gravity and heading. However, I haven't found a way within ARFoundation to change this option. Is there a way I can apply this change within Unity?