Unity 2017.2 uses UnityEngine.XR namespace, fix in InputTrackingPositionProvider

Create issue
Issue #67 resolved
Christian Oeing repo owner created an issue

The namespace of InputTracking changed, adjust the script so no auto update is required:

#if UNITY_2017_2_OR_NEWER
    using InputTracking = UnityEngine.XR.InputTracking;
    using XRNode = UnityEngine.XR.XRNode;

Comments (4)

  1. Christian Oeing reporter

    Fixed by #if for UNITY_2017_2_OR_NEWER and changing the #if UNITY_EDITOR into a normal if switch that Unity can convert.

  2. Log in to comment