Search Unity

Bug InputField click bug in 2017.4.40

Discussion in 'Android' started by dongch007, Dec 19, 2020.

  1. dongch007

    dongch007

    Joined:
    Jan 8, 2014
    Posts:
    41
    1. Click InputField : Keyboard show
    2. Click background : Keyboard hide
    3. Click InputField : Keyboard not show

    if you click background twice and then click InputField, Keyboard will show.

    I tried 2017.4.21 and 2017.4.34, there's no this problem.
    I replace 2017.4.40's unity-classes.jar with 2017.4.34's in android project, this bug disapeared.
    Is this operation safe? Or I should use old version Unity?


    Here's the simplest project, only one defalt InputField in scene
    You can run this apk
    https://github.com/dongch007/InputFieldTest
     
    Last edited: Dec 19, 2020
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,919
    It's not safe, since Unity's native layer might call something from unity-classes.jar or vice versa, and if something mistmatches, the app will crash, but if it works - it works.

    Also 2017 version is no longer supported, 2018 support is also ending in few months, it might be worth to switch to 2019.