microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Hololens 1st gen camera not moving, spatial tracking not working #10459

Closed Aupuma closed 9 months ago

Aupuma commented 2 years ago

Describe the bug

When trying to implement an app for Hololens with Vuforia model tracking, the camera seems to be stuck, it doesn't track the world.

To reproduce

Steps to reproduce the behavior:

  1. Go to MixedRealityToolkit
  2. Click on TargetScale and set to World (with Room or seated it doesn't work neither)
  3. In Camera select DefaultHololens1CameraProfile
  4. Place an object away from the camera
  5. Simulation in the editor works fine
  6. Build and test the app, the objects are stuck with the camera view (if spatial awareness is enabled, the world mesh is stuck too)

Expected behavior

The objects should move relative to the camera position

Your setup

Target platform

david-c-kline commented 2 years ago

@keveleigh can you take a look at this and advise?

keveleigh commented 2 years ago

Ahh hmm. I had thought all our profiles were set up for both legacy XR and XR SDK, but this one might have been missed. As a workaround, you can manually add a Tracked Pose Driver to your camera. I'll investigate the potential misconfiguration in the profile.

keveleigh commented 2 years ago

As far as I can tell, this should be working. Can you please post your player log here from the device (or any suspicious snippets, if you don't want to post the entire thing)?

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!