Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

Keyboard not showing up when input field is touched

Discussion in 'Android' started by dreamer-, Jan 6, 2019.

  1. dreamer-

    dreamer-

    Joined:
    Dec 9, 2016
    Posts:
    25
    The keyboard does not show up when input field is selected. Instead a text area and an OK button is shown. On clicking the text area the keyboard pops up. This occurs in Android Pie devices when "Target API Level" is set to 28(highest installed). I have tested with Unity 2017.4.1f1 and 2018.2.20f1. How to resolve this issue?

    The same issue has been pointed out by another person in stackoverflow also.
    https://stackoverflow.com/questions...-touch-an-inputfield-the-keyboard-doesnt-show
     
  2. josh_kuttler

    josh_kuttler

    Joined:
    Aug 22, 2017
    Posts:
    1
    I have the same problem and don't what to do.
     
    Chefty likes this.
  3. Chefty

    Chefty

    Joined:
    Jun 17, 2015
    Posts:
    43
    Same here...
    It's been a while i'm trying to fix this one, no results so far.
     
  4. smeller105

    smeller105

    Joined:
    Nov 19, 2014
    Posts:
    2
    Downgrade your target API level to 27, fixed it for me. Not sure the solution for using 28+
     
  5. henriqueranj

    henriqueranj

    Joined:
    Feb 18, 2016
    Posts:
    168
    Unfortunately, this won't be a workaround for very long due to Google PlayStore requirements (https://developer.android.com/distribute/best-practices/develop/target-sdk):
    I saw this issue ticket being marked as solved but someone commented that still happens with Unity 2018.4.2: https://issuetracker.unity3d.com/is...putfield-is-touched-with-android-api-level-28
     
  6. Chefty

    Chefty

    Joined:
    Jun 17, 2015
    Posts:
    43
    Hi,
    I gave up a while ago on using only Unity's built-in GUI feature.
    I found from another forum this wonderful external plug-in:
    https://github.com/mopsicus/UnityMobileInput
    It works like a charm on mobile phone compare to default Unity Inputfield/Keyboard system.
    However, for those who can update to Unity 2019, this issue has been fixed. The keyboard is now showing up properly. They mentioned it on those update logs and I tested it.
    Wish you all good luck, working with unity's UI elements is a world of pain.
     
    Last edited: Jul 5, 2019
  7. mentalup

    mentalup

    Joined:
    Dec 14, 2017
    Posts:
    6
    Anyone found a solution to this issue? We are using 2019.6.1f and still happening on some Android devices, its annoying for the registration flow.
     
  8. dominykasm

    dominykasm

    Unity Technologies

    Joined:
    May 27, 2018
    Posts:
    70
    @mentalup Could you report the issue and attach a small repro project? Post the ID here
     
  9. rodimus_strom

    rodimus_strom

    Joined:
    Oct 26, 2012
    Posts:
    3
    if anyone active, try Navigation to none. Solved my Issue though.
     
    mentalup likes this.
  10. SevenPointRed

    SevenPointRed

    Joined:
    Feb 3, 2016
    Posts:
    167
    This seems to be an issue in the latest 2018.4
     
  11. mohammedghabyen

    mohammedghabyen

    Joined:
    Feb 25, 2019
    Posts:
    18
    Me too unity 2018.3
     
  12. IMWinter

    IMWinter

    Joined:
    Nov 18, 2013
    Posts:
    3
    @dominykasm still happening. So far only Google Pixel 3 and 4 devices have reported this issue, the input fields work fine for everyone else.
     
  13. dominykasm

    dominykasm

    Unity Technologies

    Joined:
    May 27, 2018
    Posts:
    70
    Are those pixels on Android 11?
     
    joao_casella likes this.
  14. ZachRD

    ZachRD

    Joined:
    Mar 24, 2017
    Posts:
    1
    My users are reporting this issue on their Pixel 4s using Android 11. They tap the input fields and no keyboard shows up.

    Project is using Unity Version 2019.3.9f1
     
  15. Martin_Gonzalez

    Martin_Gonzalez

    Joined:
    Mar 25, 2012
    Posts:
    358
    Same here.
    Tested with Unity 2018.4.16 & 2018.4.28 on Pixel 2 Android 11 (API 30) Emulator. Can be easily reproducible
     
  16. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,056
    It's fixed in upcoming 2018.4.29 and 2019.4.13f1
     
    ltomov and Martin_Gonzalez like this.
unityunity