AR Foundation Reference points and Image tracking

Hi,

So basically what I’m trying to achieve is having an AR object that stays in place when people move around. I need this object to be instantiated in a specific place so I use AR Image tracking to recognize a marker on a wall that creates a Reference Point (Anchor). While the Image stays in the Camera field, the tracking of the AR Image Object is pretty solid. The Reference Point appears where I tell it to pop but after that it is totally floating around as I move.

I’ve tried by instantiating a gameobject with a ARReferencePoint script on it and also by calling AddReferencePoint on the ARReferencePointManager.

I’m not parenting these objects to anything, should I ? Could this be caused by a scale mismatch between my objects ? I’ve tested many things but can’t find a solution for now…

I am having the same issues, just building and testing the samples provided by Unity, on a new iPhone 11.

All we are trying to do is stick a single model to the environment, without sliding around and blowing the illusion. There doesn’t seem to be a solid example of this that we can work from.

After more trials with the repo — combining the Anchor demo with Plane Classification demo, and adding point clouds too… got this working fairly well.

More info:

Anchor demo seem to “stick” better; but they were sticking in midair. So I took the Plane Classification and removed floor planes, only allowing to stick to Table, Seat and None types. Added a point cloud for good measure, and with these modifications it all seems to work.

Still learning and testing, so any further info from Unity and others on solving this challenge is appreciated!