- Home /
UI Input fields not working properly in Unity 5 on Android
In Unity 4.6 my input fields were working just fine on my android device, but now that I have upgraded to Unity 5 they are unpredictable. When I tap them to bring the keyboard up and type into them, they work just fine, but when I click the "OK" button on the keyboard to enter the text, sometimes it clears the text in the input field when the keyboard goes away and sometimes it does not.
I have tried creating new input fields instead of using the ones that were upgraded from the previous project, but the same problem persists. I am testing on a Galaxy Tab 2.
Answer by Yury-Habets · May 15, 2015 at 06:39 AM
Folks, can you please use search or at least look through first page of Android answers?
I just answered same question yesterday: http://answers.unity3d.com/questions/966656/unity-5-input-field-unable-to-store-user-input.html
http://answers.unity3d.com/questions/954231/problem-with-ui-input-field-in-android.html
http://answers.unity3d.com/questions/963842/textfield-on-android-clears-the-text-when-user-tap.html
You should update to Unity 5.0.2.
Your answer
Follow this Question
Related Questions
Why Android device need to loose Inputfield focus to listen to others events ? 0 Answers
Input Fields not actually taking in user data on android build 0 Answers
Android Keyboard Stuck / Won't Hide? 1 Answer
Unity 5 input field unable to store user input 1 Answer
Input field crashes on Android 4.1.2 (Unity 5.1.1f1) 0 Answers