Android text entry weird bug

Hi,

When I press my editable text, it creates an android text entry box and I press that and it pops up my android keyboard.

When I press done, the game crashes.

Shouldnt the keyboard popup straight away when I press my editable text ?
If not then why is it crashing when I submit text ?

thanks

Hey Dannyk90,

In order to better assist you, could you please provide me the logs of your crash off of your device? You’re going to need to go to: C:\NVPACK\android-sdk-windows\tools and open to “Monitor.bat” and obtain the logs from your device. Please upload them as a .txt file.

Please also provide the full reproduction steps in order for us to recreate this on our side and submit a Jira for the bug.

Thank you and have a nice day!

There were many logs so I got them all.

It’s just like I said, press an editable text on your device, it pops up a text entry box that is part of the android os, then click in there and it brings up the keyboard, enter some text and press done, which closes the keyboard and brings text to the android os text box, then press ok on that to send it to the game text which then crashes it. This is using the launch button to get the game on my device.

link text

Hey Danny,

Thanks for reporting this issue. I verified that it does only happen on the Android OS, I could not reproduce it on iOS or Windows. I have entered a Jira for this issue, which is: UE-20728.

If you have any further questions, please let us know!

thank you :slight_smile:

I’ve just discovered some useful informaiton.

This only happens when I use the launch button.

But if I package my game and then use the batch file to install it to my phone, then open it from my phone, it works perfectly.

I believe I had found and fixed this issue. I’ve checked in the fix to GitHub here:

GitHub commit to Master

I am experiencing the same issue, I have noticed it crashes much less often if using the Google keyboard from app store, the android keyboard crashes app every time upon text commit. Builds built on v4.9 always crash on text entry, either on text changed or text commited. Builds from 4.8.3 seem to be more reliable but the issue also randomly occurs. I cant wait to carry on with my app and this simple issue is preventing progress. Is there any other way to input text other than the android keyboard? I know I could make my own virtual keyboard , but iv read something about ue4 having one built in, how to access this keyboard either from blueprints or c++? The github link is giving me a 404 and I cannot find any more help or insight into the issue. Much appreciated. Jeremy smith

I am experiencing the same issue, I have noticed it crashes much less often if using the Google keyboard from app store, the android keyboard crashes app every time upon text commit. Builds built on v4.9 always crash on text entry, either on text changed or text commited. Builds from 4.8.3 seem to be more reliable but the issue also randomly occurs. I cant wait to carry on with my app and this simple issue is preventing progress. Is there any other way to input text other than the android keyboard? I know I could make my own virtual keyboard , but iv read something about ue4 having one built in, how to access this keyboard either from blueprints or c++? The github link is giving me a 404 and I cannot find any more help or insight into the issue. Much appreciated. Jeremy smith

Hi there, experiencing the same problem with UE4.9 and Text Box on Android. I will try to follow Dannyk90s suggestion and package the game. And yes, link is down. Would be nice to get this problem solved :slight_smile:

it would be extremely nice to have the keyboard popup first and not have it create a whole new text entry box.

Yes, i recently upgraded to 4.9.1 and the crashing bug is gone now! But there is still the problem with the upcoming android textbox before the virtual keyboard is shown.

It is very anoying for a chat system on android =/. Is it somehow fixable? Or as a workaround: Maybe it is possible to remove the android-keyboard completely to implement an own virtual keyboard in ue4?!

I recently updated to 4.9.1 and as DrWelz stated the bug had disappeared.
Although I am now experiencing the same issue a couple days on. I didn’t change the build at all within the editor nor my phone and strangely a few days later the bug occurred again.

I then updated any phone manufacturer apps from the play store (HTC service PNS, Android Webview ect.) After updating the apps and restarting my phone the problem dissapeared and has not happened again since.

Due to this I believe the origin of the issue may lie within Android? seeing as using Google keyboard from the app store also helps stop the issue.

EDIT: issue has literally JUST reappeared. Not changed anything. Just reopened the app on phone, and it crashes as soon as I attempt to input text. God damnit …

Please provide the logs from the device for further investigation. If you’re not sure how to obtain those logs, please look at my very first comment on this thread. Could you also include screenshots of how your text widget blueprint is set up.

Looking forward to hearing back from you, thanks!