Log in or register to post comments

Hologram from image target moves with headset

June 11, 2020 - 4:38am #1

Hello,

I'm having a weird issue: when I look at my image target, the recognition happens and my hologram appears. However it does not stick to the real image as intended but rotate everywhere when I move my head (hololens).

If I use the existing sample project from Vuforia, everything works fine. But if I create my own Unity project, with the exact same image target dataset, the above issue happens.

I tried to copy the exact same configuration options from the working sample project to my new project but without success.

I'm using Unity 2019.3.15, MRTK 2.3.0 (also tested with 2.4.0) and Vuforia 9.1.7.

Thanks for your help.

Hologram from image target moves with headset

June 9, 2021 - 1:42am #9

Hi @Chrismouz,

Please check if the Image Target is a child of the ARCamera. This is usually the culprit.

Thank you.

Vuforia Engine Support

Hologram from image target moves with headset

June 6, 2021 - 7:06am #8

I am not sure what do you mean. You make to spawn a 3d object on target found and it doesn't follow the camera? and if you make it please explain how. Also you try to have interactions with those objects (catch them scale them etc?)

Hologram from image target moves with headset

May 31, 2021 - 11:22pm #7

my experience might help :-)

I baked the model in my scene, and forgot to leave them from static :-)

Hologram from image target moves with headset

May 13, 2021 - 4:04am #6

Hello. I have the same problem. I create an image target in vuforia and imported in a unity project. I imported and a 3d object and make it as child of the image target. In unity when i use my editor camera in play mode and i see the image target, everything works fine. The 3d object spawn above the image location (as i want) and it doesn't follow the camera. When build the project in hololens 2 and play the app everything goes wrong. First of all the 3d object doesn't spawn above the image but on a "random" location. Some times it doesn't spawn right (only some parts of the model). And of course when i move my head the object follow my camera. I also try to disable then 3d object with the "On Target Lost" event but i doesn't work at all. 



I really need help because it is for a project in my work

Hologram from image target moves with headset

July 9, 2020 - 12:05pm #5

Try different MRTK configuration profiles. I found different behavior when altering these including the behavior you mention.

Hologram from image target moves with headset

June 17, 2020 - 12:00am #4

Hi,

As far as I know, not, we use the default settings.

Could you check your camera setup by going over our article: https://library.vuforia.com/articles/Solution/Working-with-the-HoloLens-sample-in-Unity

Thank you.

Vuforia Engine Support

Hologram from image target moves with headset

June 12, 2020 - 6:24pm #3

Yes it is a child of the image target. I did some more tryouts:

Do not work

1. Create new Unity project

2. Install Vuforia 9.1.7 from package manager

3. Install MRTK 2.3.0 from their github release page

4. Doesn't work...image target moves with my head

Do work

1. Create new Unity project

2. Install Vuforia 9.1.7 from package manager

3. Download the Vuforia Hololens 2 example from the asset store and import the MRTK from there (also version 2.3.0 it seems).

4. Work as intended

Was the MRTK modified to make it work with Vuforia?

Hologram from image target moves with headset

June 12, 2020 - 6:04am #2

Hi,

Very strange, could you please check and confirm that the augmentation is a child of the Image Target?

Thank you.

Vuforia Engine Support

Log in or register to post comments