-
Notifications
You must be signed in to change notification settings - Fork 0
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
Vuforia Area Targets Test App for HoloLens doesn't find and register Area Target databases #170
Comments
Hi, Thank you for your report. It looks like you did everything correctly, but just to be sure; are your folders set up so Dataset_1, Dataset_2, etc. have just one set of Area Target dataset files (.dat and .3dt)? |
Thanks for the update. Could you try adding the XML file from the database as well? |
Hi @Therobopy, from the log file you provided in the description, it looks like the problem might be caused by the Input System settings:
Can you please try to switch to the old Input System in the Player ProjectSettings? Thank you |
Hi @ptc-epassaro I tried to switch to Input Manager (Old) in the player settings (see attached image) as suggested but it seems this doesn't work with OpenXR because the build failed For the sake of completeness, after switching to Input Manager (Old) Unity restarted and then I clicked NO when the following warning popped up |
Hello, Update: Still wasn't able to make the ImageTargetTestApp find the dataset. |
Hi, Thank you for your update. We will try and reproduce the issue with the Area Target in the Test App for HoloLens. Can you continue your development using the new project? |
Hello @Therobopy, We haven't been able to reproduce the loading problem in the test app for HoloLens. Are you able to continue your development and testing in the other project you made? If you want, we can also take a look at the dataset- You can share it via this email vuforia-feedback@ptc.com. |
Hello, Now, the question arises whether there are other settings that need to be made to make an app work properly on HoloLens and that are not listed on the web page. What is the safe and best approach to create the project in Unity so that the app will work properly on HoloLens? Thank you |
I think the most reliant way to start a new project for HoloLens is to use Microsoft's documentation. That ensures all settings are correctly applied. Afterwards, the Vuforia Engine SDK can be imported, which should make any necessary changes to the project settings. In the first section of the Digital Eyewear Sample guide, there are some steps to setup a project just for HoloLens (and we also link to Microsoft's setup instructions). But it's also perfectly fine to use the eyewear sample as a starting point for your project. It's just set up in a way to support both HoloLens and Magic Leap devices. |
I followed the steps of the Digital Eyewear Sample guide indeed. However, I noticed that the scene of the Digital Eyewear Sample project which I downloaded contains a MRTK XR Rig Vuforia prefab with some settings that aren't mentioned anywere. For instance, the Tracked Pose Driver component under the Main camera looks different in the Inspector from that under the Main Camera of a standard MRTK XR Rig prefab, and the same seems to hold for the MRTK RightHand Controller, MRTK LeftHand Controller and MRTK Gaze Controller. Also, I can't see the MRTKInputSimulator in the Hierarchy, still I can interact with the buttons and drag the UI Canvas. What am I missing? Thank you |
@ptc-epassaro would know better, but I think the reason for the missing MRTKInputSimulator is that it's only an optional component and Vuforia Engine doesn't support it during Play Mode:
And the Tracked Pose Driver looking different from a standard MRTK XR Rig prefab, is probably a necessity to support both the HoloLens and Magic Leap with the same settings. The same probably holds for the other GameObjects' settings. |
Summarize the bug:
I followed the steps described in the guide on the web page https://developer.vuforia.com/library/develop-area-targets/area-targets-test-app-user-guide in the section Installing and Testing on HoloLens. I also added the licence. The second time I start the app after uploading the files for the Area Target databases, I can see the list with the 9 datasets but each dataset is neither registered nor active. The folder I used to upload the files was the Dataset 1. As explained in the guide, I uploaded the AT_name.dat and AT_name_occlusion.3dt files. I obtained these files from Vuforia Area Target Generator 10.28.4. The environment was scanned with an iPad Pro, using the Vuforia Creator App Version 10.27.0, powered by Vuforia Engine 10.27.3.
Observed problem
No dataset is registered or active. Each dataset has an empty circle because no database is found, altough files are uploaded in Dataset 1.
Expected result
The dataset containing the files of the Area Target database is registered and a grey circle is displayed. Upon specific voice command, the dataset is activated and tracking is established.
Other observations
Speach recognition doesn't work well with all dataset numbers. The voice command to activate dataset 1 does not seem to be recognized, instead it happens more often that the commands for datasets 9 and 4 are recognized even when they are not requested.
Reproducible steps
Steps to reproduce the behavior:
Affected Vuforia Engine version:
v10.28.4
Affected platform:
Affected device:
Affected database
Not sure if I can share the database files
Device or platform logs
UnityPlayer.log
The text was updated successfully, but these errors were encountered: