Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

TextMesh Pro (Android) TextMesh Pro InputField is showing password on keyboard

Discussion in 'UGUI & TextMesh Pro' started by HNKMaster, Feb 28, 2018.

  1. HNKMaster

    HNKMaster

    Joined:
    Aug 31, 2012
    Posts:
    19
    I'm trying to do some password inputs on a Android app, but everytime I select an InputField with Password option, the Input Preview from the keyboard always shows what I'm writing. I tried the Secure Input Text example (found here), but it didn't work (Called it using the OnSelect event from the Input Field). Is there a way to fix that Input?
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,596
    How does it behave with the normal UGUI Input Field?
     
  3. HNKMaster

    HNKMaster

    Joined:
    Aug 31, 2012
    Posts:
    19
    Same, so it's mostly an Unity issue. I tried the example here:

    Code (CSharp):
    1. TouchScreenKeyboard.Open("", TouchScreenKeyboardType.Default, false, false, true);
    Calling it during the OnSelect event of Inputfield, but it didn't work.
     
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,596
    I would suggest submitting a bug report on this. Please be sure to include a repro project and post the case # here afterwards.
     
  5. HNKMaster

    HNKMaster

    Joined:
    Aug 31, 2012
    Posts:
    19
    Sorry for the late reply. When I made this thread, I was working on 2017.1, but after upgrading to 2017.4.1, password text was fixed and now works as expected. Thanks everybody!
     
    Stephan_B likes this.