Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

TouchScreenKeyboard text property

Discussion in 'Editor & General Support' started by AlainBirchmeier, Mar 23, 2020.

  1. AlainBirchmeier

    AlainBirchmeier

    Joined:
    May 8, 2019
    Posts:
    6
    Hi,

    I recently encountered a problem with the TouchScreenKeyboard class. It seems setting its text property doesn't work.

    I explain, we are working on an Hololens 2 app and wanted to use the MixedRealityKeyboard but this ones has a problem which makes it unusable : we can't erase text with the backspace.
    After some investigation, it seems that the call on line 239:
    Code (CSharp):
    1. keyboard.text = Text;
    Doesn't work. No exception or message is triggered, but the value of keyboard.text stay the same as before the call.

    So I'm wondering if this is a known bug or if the text property of the TouchScreenKeyboard should be marked readonly ?

    Cheers,
    Alain
     
  2. Scanlia

    Scanlia

    Joined:
    Apr 13, 2017
    Posts:
    5
    I have a similar problem, did you find a solution?
     
  3. AlainBirchmeier

    AlainBirchmeier

    Joined:
    May 8, 2019
    Posts:
    6