Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

ARKit 1.5 early support?

Discussion in 'AR' started by pixelknight, Feb 1, 2018.

  1. pixelknight

    pixelknight

    Joined:
    Jul 12, 2011
    Posts:
    93
    Hi Guys and Gals,

    Been all over the web so far looking for some Unity support for the newest ARKit 1.5 from a few days ago... but no luck yet.

    Looking to put in some vertical plane detection.

    I see in the ARSessionNative.mm file on XCode 9.3 supporting ARKit 1.5, there are some curious bits:
    enum UnityARPlaneDetection
    {
    UnityARPlaneDetectionNone = 0,
    UnityARPlaneDetectionHorizontal = (1 << 0),
    UnityARPlaneDetectionVertical = (1 << 1)​
    }​

    I assume the unity Scripts using the ARKit would just need light-weight modifications... is that true? What needs doing to support ARKit 1.5 on Unity if we've all the rest of the parts (iOS 11.3 and Xcode 9.3)?

    Thanks in advance for any help.
     
  2. Deleted User

    Deleted User

    Guest

    There's a great plugin called "Unity ARKit Plugin" that was created and is maintained officially by Unity :)
    https://bitbucket.org/Unity-Technologies/unity-arkit-plugin/
    You can probably head to the commits section to find out it hasn't been updated to ARKit 1.5 yet! But that will come along, given some time. Don't hesitate to submit a pull request if you've got some good modifications ideas for the update!