Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Help with image anchor - am I missing something?

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

  1. Kingmoge

    Kingmoge

    Joined:
    Jul 29, 2016
    Posts:
    9
    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!