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

Screen cant move with my head #11788

Closed
wangjinwang2 opened this issue Oct 13, 2023 · 1 comment
Closed

Screen cant move with my head #11788

wangjinwang2 opened this issue Oct 13, 2023 · 1 comment
Labels

Comments

@wangjinwang2
Copy link

Describe the bug

Hi,

I am a new comer 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 do works, the button and text(textMeshPro) can be seen, but it position was fixed. when i turn my head or go out the room, button & text will not move and cannt 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 behavior

the button can moved with my head turned

Screenshots

Uploading 4.jpeg…

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

Additional context

Add any other context about the problem here.

@AMollis
Copy link
Member

AMollis commented Oct 31, 2023

This is working as expected. If you want to keep the button with the view of the user, you need to programmatically move the button with the head movement. MRTK2 provides tools to do this. Please read over the "Solvers" documentation

https://learn.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/mrtk2/features/ux-building-blocks/solvers/solver?view=mrtkunity-2022-05

Also, if you're just starting out with MRTK. We recommend new apps start with MRTK3. This is substantially different than MRTK2, and is better supported.

You can find MRTK3 information at this NEW repository: https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity. There is also documentation at https://mixedrealitytoolkit.org

@AMollis AMollis closed this as not planned Won't fix, can't repro, duplicate, stale Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants