MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

TouchScreenKeyboard is not showing or is positioned behind the camera

Open Zaniyar opened this issue 2 years ago • 0 comments

Describe the bug

TouchScreenKeyboard is positioned at the center/behind the camera, which makes it impossible to see or type on the keyboard.

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

A clear and concise description of what the bug is.

To reproduce

Have a button and trigger the keyboard open function on click:

keyboard = TouchScreenKeyboard.Open("", TouchScreenKeyboardType.Default, false, false, false, false);

Expected behavior

Keyboard should be positioned well in front of the user/camera, and not behind the persons view.

A clear and concise description of what you expected to happen.

image

Your setup (please complete the following information)

  • Unity Version 2022.1.0f1
  • MRTK Version 3

Target platform (please complete the following information)

  • HoloLens 2

Additional context

I tried to use the InputFieldExamples.unity, but this also didn't work in my project.

Zaniyar avatar Jan 18 '23 13:01 Zaniyar