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

HOLOLENS Vuforia sample with Unity.

Discussion in 'VR' started by gomeslaw, Feb 9, 2017.

  1. gomeslaw

    gomeslaw

    Joined:
    Dec 11, 2012
    Posts:
    17
    Good Afternoon.

    I have loaded the example hololens scene, when I try it with my Hololens, I have a problem when I want to track the teapot. When I track the teapot, his position not is correct. It have certain offset of the target, if I approach the target, the teapot approaches the target, and vice versa.

    ME --------- target --------- teapot
    ME -- target -- teapot

    All GameObjects are in (0,0,0) position.

    Any help?
    I hope I explained correctly, thank you in advance.
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    What version of Unity are using?
     
  3. ThatDarnCat

    ThatDarnCat

    Unity Technologies

    Joined:
    Jan 4, 2017
    Posts:
    23
    This seems to be a Vuforia issue, so you may want to try asking on their forums:
    https://developer.vuforia.com/forum


    You can also try the steps below:

    1. Launch the Hololens Scene
    2. Look at the target image until the Teapot appears
    3. Remove the target image
    4. Walk around and see if the target moves

    Please let me know what your result is. If the teapot stops moving without the image target, I suspect the Vuforia image recognition keeps getting retriggered as the position of the camera changes, causing the teapot to be redrawn in a new location.
     
  4. gomeslaw

    gomeslaw

    Joined:
    Dec 11, 2012
    Posts:
    17
    I'm using Unity HoloLens 5.4.0f3-HTP (64-bit)
     
  5. gomeslaw

    gomeslaw

    Joined:
    Dec 11, 2012
    Posts:
    17
    I have not done it yet, when I do I will write it. Also I will ask in the forum of vuforia, to see that they respond to me.
    Thank you!
     
  6. Masakure

    Masakure

    Joined:
    Jan 24, 2015
    Posts:
    1
    I have the same problem here, when I compile the version to test with the hololens camera i can find the object but the object targeting set another place (X, Y, Z) of the hologram to represent. I try to code some axis manually when target is found (targetFound() method on vuforia) but... doesn't works fine for me.

    If you create a post on vuforia forums, please let us know to follow the issue. I will create one too.
     
  7. ThatDarnCat

    ThatDarnCat

    Unity Technologies

    Joined:
    Jan 4, 2017
    Posts:
    23
    Hello again, Gomeslaw. I suggest you upgrade to a newer build of Unity, such as the latest 5.5 release. That build you are using is no longer supported and we have made many great improvements to the Hololens experience in newer builds. Vuforia functions much better as well when paired with Unity 5.5 or 5.6 beta.
     
  8. ThatDarnCat

    ThatDarnCat

    Unity Technologies

    Joined:
    Jan 4, 2017
    Posts:
    23
    Hello Masakure. As I mentioned to gomeslaw in the previous post, please make sure you are running at least Unity version 5.5

    I need a little bit more information to be able to help you:

    Specifically, which of the Vuforia demos are you running?
    Did you make any changes to the scenes?
    Did you set the Virtual Reality Supported setting in Player Settings to Hololens?
     
  9. ltarozz1

    ltarozz1

    Joined:
    Jan 30, 2017
    Posts:
    2
    I have the same problem. Holograms stays under/behind the target images.
    Recognized correctly, but not on top of the targets as I placed them un unity editor.

    Does anybody found a solution?
     
  10. Wilbert-Blom

    Wilbert-Blom

    Joined:
    Aug 13, 2011
    Posts:
    109
  11. TailKitty

    TailKitty

    Joined:
    Nov 23, 2016
    Posts:
    6
    Is it possible to configure Vuforia to Use Hololens camera while in Editor's debug mode using remoting?