Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageTarget can be tracked with webcam but not with Hololens2 / Vuforia Engine not starting due to initialization issue #176

Open
Fawkes83 opened this issue Jan 13, 2025 · 1 comment
Labels
bug-report Bugs and issues

Comments

@Fawkes83
Copy link

Summarize the bug:
ImageTargets not trackable with Hololens 2.
Versions:
Win 11, Unity 2022.3.55f1, Vuforia version 10.28.4
For me the ImageTarget tracking worked on webcam connected to my PC, but not on the HoloLens 2.
The problem was, that the Vuforia enginge was not starting, due to an issue during initialization with the license key.

Observed problem
ImageTarget tracking not working on Hololens 2. Issue is that the Vuforia Engine is not starting.

Expected result
Start of Vuforia Engine, Tracking of ImageTarget.

Other observations
Share any other observations that you made while experiencing the bug.

Reproducible steps
Steps to reproduce the behavior:

  1. Add ImageTarget to Scene, configure database and choose Image to be tracked.
  2. Test on webcam successfull
  3. Deployment to Hololens 2
  4. No tracking the ImageTarget

Affected Vuforia Engine version:
E.g. v10.28.4

Affected platform:
Unity 2022.3.55f1
Win 11

Affected device:
Hololens 2

Workaround
Actually I found a solution to this issue. It is orginally described in https://stackoverflow.com/questions/76073504/imagetarget-dont-work-on-hololens-2-due-to-licence-issue/79347266#79347266

Someone needs to manually set the license key and initialize the Vuforia engine. I did this by adding the script to my ImageTarget.
After that the engine can be started on HL2 and the ImageTarget is tracked.

Additional comments

@Fawkes83 Fawkes83 added the bug-report Bugs and issues label Jan 13, 2025
@ptc-thesbyro
Copy link
Collaborator

Hi,

Thank you for your report.

We will see if we can reproduce the issue with the missing license at build time and get back to you.

I'm curious if the Unity Log or ETW logs said anything about Vuforia Engine failing to start and if there was a specific Error Code?

Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bugs and issues
Projects
None yet
Development

No branches or pull requests

2 participants