The MRTK app's screen cant be moved with my head

金旺 王 25 Reputation points
2023-10-13T03:22:59.81+00:00

Hi,

I am a newcomer to MRTK, I just create a simple app (only 3 buttons and 2 text) to study the MRTK UI, I meet a strange issue. after the app was loaded in my HoloLens 2, it does work, the button and text (TextMeshPro) can be seen, but its position was fixed. when I turn my head or go out the room, button & text will not move and cannot be seen, only I return back to the original position, the button and text will appear again.

To reproduce

  1. create 3D project
  2. import the MRTK
  3. add button and text to the project
  4. build and download to hololens2
  5. run the app

Expected behaviour

the button can move with my head turned

Screenshots

1

4

2

Your setup (please complete the following information)

  • Unity Version [V2022.2.20]
  • MRTK Version or Commit [v2.8.3.0]
  • Visual studio 2017

Target platform (please complete the following information)

  • HoloLens 2
HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
386 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Zuocheng Wang - MSFT 3,081 Reputation points Microsoft Vendor
    2023-10-13T08:15:45.5366667+00:00

    Hello, Welcome to Microsoft Q&A,

    By default, objects in the scene do not follow the head's movements. If you need such functionality, you can add solvers to these objects, such as Follow. For more information, please refer to Solver overview - MRTK 2 | Microsoft Learn.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments