Unity3d, when I touch an InputField, the keyboard doesn't show










1














un opened keyboardWhen I tap on an inputfield on android device, i get a little text area and an ok button. But I have to touch the input field to get the keyboard to pop up.



Any ideas?



All I'm doing code wise is:



if (!wasFocused && TouchScreenKeyboard.visible && createAccountPanel.activeSelf)

wasFocused = true;
btnMat.color = validC;
else if (wasFocused && !TouchScreenKeyboard.visible && createAccountPanel.activeSelf)
wasFocused = false;
btnMat.color = invalidC;
//messageMNG.CreateMessage("Checking name: " + usernameChangeInput.text, true);
dbMNG.CheckName(usernamePreview.text);



When I do a check, it says that touchscreenkeyboard is visible.



**EDIT
I just created a new scene and added an input field and a text mesh pro input field and I get the exact same thing.



Empty scene still broken keyboard










share|improve this question























  • Did you modify the InputField properties in any way via code or the inspector? Also, have you seen this on multiple devices?
    – Alex Myers
    Sep 21 '18 at 15:09






  • 2




    edited question: All I'm doing is checking if keyboard is visible or not. it returns true. My suspicion is that i'ts not "active" but I can't access it like the docs suggest with touchscreenkeyboard.active.
    – DKinnison
    Sep 21 '18 at 15:57
















1














un opened keyboardWhen I tap on an inputfield on android device, i get a little text area and an ok button. But I have to touch the input field to get the keyboard to pop up.



Any ideas?



All I'm doing code wise is:



if (!wasFocused && TouchScreenKeyboard.visible && createAccountPanel.activeSelf)

wasFocused = true;
btnMat.color = validC;
else if (wasFocused && !TouchScreenKeyboard.visible && createAccountPanel.activeSelf)
wasFocused = false;
btnMat.color = invalidC;
//messageMNG.CreateMessage("Checking name: " + usernameChangeInput.text, true);
dbMNG.CheckName(usernamePreview.text);



When I do a check, it says that touchscreenkeyboard is visible.



**EDIT
I just created a new scene and added an input field and a text mesh pro input field and I get the exact same thing.



Empty scene still broken keyboard










share|improve this question























  • Did you modify the InputField properties in any way via code or the inspector? Also, have you seen this on multiple devices?
    – Alex Myers
    Sep 21 '18 at 15:09






  • 2




    edited question: All I'm doing is checking if keyboard is visible or not. it returns true. My suspicion is that i'ts not "active" but I can't access it like the docs suggest with touchscreenkeyboard.active.
    – DKinnison
    Sep 21 '18 at 15:57














1












1








1


3





un opened keyboardWhen I tap on an inputfield on android device, i get a little text area and an ok button. But I have to touch the input field to get the keyboard to pop up.



Any ideas?



All I'm doing code wise is:



if (!wasFocused && TouchScreenKeyboard.visible && createAccountPanel.activeSelf)

wasFocused = true;
btnMat.color = validC;
else if (wasFocused && !TouchScreenKeyboard.visible && createAccountPanel.activeSelf)
wasFocused = false;
btnMat.color = invalidC;
//messageMNG.CreateMessage("Checking name: " + usernameChangeInput.text, true);
dbMNG.CheckName(usernamePreview.text);



When I do a check, it says that touchscreenkeyboard is visible.



**EDIT
I just created a new scene and added an input field and a text mesh pro input field and I get the exact same thing.



Empty scene still broken keyboard










share|improve this question















un opened keyboardWhen I tap on an inputfield on android device, i get a little text area and an ok button. But I have to touch the input field to get the keyboard to pop up.



Any ideas?



All I'm doing code wise is:



if (!wasFocused && TouchScreenKeyboard.visible && createAccountPanel.activeSelf)

wasFocused = true;
btnMat.color = validC;
else if (wasFocused && !TouchScreenKeyboard.visible && createAccountPanel.activeSelf)
wasFocused = false;
btnMat.color = invalidC;
//messageMNG.CreateMessage("Checking name: " + usernameChangeInput.text, true);
dbMNG.CheckName(usernamePreview.text);



When I do a check, it says that touchscreenkeyboard is visible.



**EDIT
I just created a new scene and added an input field and a text mesh pro input field and I get the exact same thing.



Empty scene still broken keyboard







android unity3d input






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 23 '18 at 22:14

























asked Sep 21 '18 at 14:38









DKinnison

8011




8011











  • Did you modify the InputField properties in any way via code or the inspector? Also, have you seen this on multiple devices?
    – Alex Myers
    Sep 21 '18 at 15:09






  • 2




    edited question: All I'm doing is checking if keyboard is visible or not. it returns true. My suspicion is that i'ts not "active" but I can't access it like the docs suggest with touchscreenkeyboard.active.
    – DKinnison
    Sep 21 '18 at 15:57

















  • Did you modify the InputField properties in any way via code or the inspector? Also, have you seen this on multiple devices?
    – Alex Myers
    Sep 21 '18 at 15:09






  • 2




    edited question: All I'm doing is checking if keyboard is visible or not. it returns true. My suspicion is that i'ts not "active" but I can't access it like the docs suggest with touchscreenkeyboard.active.
    – DKinnison
    Sep 21 '18 at 15:57
















Did you modify the InputField properties in any way via code or the inspector? Also, have you seen this on multiple devices?
– Alex Myers
Sep 21 '18 at 15:09




Did you modify the InputField properties in any way via code or the inspector? Also, have you seen this on multiple devices?
– Alex Myers
Sep 21 '18 at 15:09




2




2




edited question: All I'm doing is checking if keyboard is visible or not. it returns true. My suspicion is that i'ts not "active" but I can't access it like the docs suggest with touchscreenkeyboard.active.
– DKinnison
Sep 21 '18 at 15:57





edited question: All I'm doing is checking if keyboard is visible or not. it returns true. My suspicion is that i'ts not "active" but I can't access it like the docs suggest with touchscreenkeyboard.active.
– DKinnison
Sep 21 '18 at 15:57













1 Answer
1






active

oldest

votes


















0














I was having a similar problem today, but found the reason no keyboard was showing was due to building and launching onto a locked phone. When I made sure the phone was unlocked when I clicked the input, the keyboard showed up below that box/ok portion.






share|improve this answer
















  • 1




    Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
    – DKinnison
    Oct 1 '18 at 2:49










  • Did you get any response from them yet?
    – serge
    Nov 20 '18 at 22:04










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52446050%2funity3d-when-i-touch-an-inputfield-the-keyboard-doesnt-show%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I was having a similar problem today, but found the reason no keyboard was showing was due to building and launching onto a locked phone. When I made sure the phone was unlocked when I clicked the input, the keyboard showed up below that box/ok portion.






share|improve this answer
















  • 1




    Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
    – DKinnison
    Oct 1 '18 at 2:49










  • Did you get any response from them yet?
    – serge
    Nov 20 '18 at 22:04















0














I was having a similar problem today, but found the reason no keyboard was showing was due to building and launching onto a locked phone. When I made sure the phone was unlocked when I clicked the input, the keyboard showed up below that box/ok portion.






share|improve this answer
















  • 1




    Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
    – DKinnison
    Oct 1 '18 at 2:49










  • Did you get any response from them yet?
    – serge
    Nov 20 '18 at 22:04













0












0








0






I was having a similar problem today, but found the reason no keyboard was showing was due to building and launching onto a locked phone. When I made sure the phone was unlocked when I clicked the input, the keyboard showed up below that box/ok portion.






share|improve this answer












I was having a similar problem today, but found the reason no keyboard was showing was due to building and launching onto a locked phone. When I made sure the phone was unlocked when I clicked the input, the keyboard showed up below that box/ok portion.







share|improve this answer












share|improve this answer



share|improve this answer










answered Oct 1 '18 at 0:01









Eric Marley

1




1







  • 1




    Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
    – DKinnison
    Oct 1 '18 at 2:49










  • Did you get any response from them yet?
    – serge
    Nov 20 '18 at 22:04












  • 1




    Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
    – DKinnison
    Oct 1 '18 at 2:49










  • Did you get any response from them yet?
    – serge
    Nov 20 '18 at 22:04







1




1




Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
– DKinnison
Oct 1 '18 at 2:49




Very interesting. I'll pass that along to Unity. We have narrowed it down to only Pixel and Pixel 2's. I'm awaiting an answer from them and will report back as soon as I have a solid answer! Thanks so much for your help!
– DKinnison
Oct 1 '18 at 2:49












Did you get any response from them yet?
– serge
Nov 20 '18 at 22:04




Did you get any response from them yet?
– serge
Nov 20 '18 at 22:04

















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52446050%2funity3d-when-i-touch-an-inputfield-the-keyboard-doesnt-show%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Top Tejano songwriter Luis Silva dead of heart attack at 64

政党

天津地下鉄3号線