Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X



Found in

Issue ID




[UWP] HoloLens TouchScreenKeyboard closes ~4 seconds after focusing TMP input field

When selecting an input field in HoloLens2, the Keyboard will open but then automatically closes after ~4 seconds.

1. Open attached project
2. Build for UWP and run on HoloLens2 (or HL2 emulator)
3. Use the on-screen keyboard to enter text into the input field
4. Close the Keyboard
5. Select the input field again to re-open the keyboard
6. Wait about 5 seconds

Expected: Keyboard remains open
Actual: Keyboard automatically closes after ~4 seconds

This bug is related to this issue: The fix (workaround WinRT bug with InputField::Show()) introduced a race-condition that's now causing this problem.

It's also related this this other issue: The unhanded exception is a factor in triggering this bug, but the root issue is a race-condition.

  1. Response avatar

    Resolution Note (fix version 2022.1):

    The fix for TMP ArgumentOutOrRange exception: will also address this issue. The unhanded exception is one of factors leading to this problem. However, a separate fix for the root problem (race condition) is also being made.

Comments (8)

  1. A7fb8150a1d77542719c848b05bd653b?d=mm


    Nov 25, 2021 09:17

    I've been doing this:

    void Input(){

    if( == false){ =true;

  2. 8cd04775c51e00be373227e37053d595?d=mm


    Nov 16, 2021 06:34

    I'm using 2021.1.12. Can't you fix it?
    Currently, the version with this issue resolved is not available because the package manager has not been called normally.

  3. 158fe61f1e2fbf44e45b306dbff30246?d=mm


    Sep 15, 2021 08:34

    Into which version of 2020.3.X will this fix be shipped?
    And thanks for the quick fixing of the issue. :ThumbsUp:

  4. Ac4a791f174633223f87bad9cec37f91?d=mm


    Sep 14, 2021 21:14

    I'm extremely appreciative of the quick turn around, thank you for addressing this.

  5. B8b80be8161a00cf42ed2c78090b3bae?d=mm


    Sep 07, 2021 22:59

    I working to backport the fix to 2019 LTS as quickly as possible.

  6. 158fe61f1e2fbf44e45b306dbff30246?d=mm


    Aug 30, 2021 18:16

    We witness a similar issue in Unity 2020.3.16f1

  7. Ac4a791f174633223f87bad9cec37f91?d=mm


    Aug 25, 2021 18:47

    Hey guys, if possible can we get this fixed in Unity 2019.4 first? Most of the people experiencing this issue will be working with the HoloLens 2 and relying on Legacy XR which is in 2019.4. Much appreciated.

  8. 2aca587d9aca443517f3a3b9009411fb?d=mm


    Aug 25, 2021 17:17

    Thanks for this tutorial... i'd give it a trial and give you a feedback

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.