Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Help with image anchor - am I missing something?

Discussion in 'AR' started by Kingmoge, May 2, 2019.

  1. Kingmoge


    Jul 29, 2016
    New to ARKit and working with the Unity ARKit Plugin 2.0. All the demos I've tried work well (really well) except the image anchor.

    Without modifying the ARKit Plugin sample (found in Examples/ARKit1.5/UnityARImageAnchor), I need to move my device really close to the images before they are recognized, and then the augmentations bounce and flash and stutter and jump and twitch. (The Random Cube at world origin on the other hand is extremely stable.)

    If I comment out the UpdateImageAnchor and RemoveImageAnchor methods in GenerateImageAnchor, the augmentations stay put once instantiated, but they don't get instantiated in the correct position or orientation relative to the recognized image.

    I have also tested with other images (found in Apple's ARKit samples) - same issue.

    I'm using a 6th gen iPad running iOS 12.2.

    I am building with Unity 2018.3.5.

    Thanks for any help!