Search Unity

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

Keyboard input WebGL Mobile

Discussion in 'WebGL' started by tmorelli, Nov 19, 2017.

  1. Lughinu

    Lughinu

    Joined:
    Nov 3, 2016
    Posts:
    11
    how to install text mesh pro experimental version:

    1 open Packages\manifest.json
    2 find textmeshpro line and change it with "com.unity.textmeshpro": "4.0.0-pre.2"
    3 go back to unity and wait until installation is finished
     
    Last edited: Mar 17, 2023
  2. fxlange

    fxlange

    Joined:
    Dec 20, 2016
    Posts:
    42
    Any Update on this? Unfortunately I don't have access to those tickets. Have the same email issue (email input) in 2022.2 with TMP 3.2.0 pre 4.
     
  3. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    63
    Same issue with also number fields
     
    Last edited: May 29, 2023
  4. tranhongdiep

    tranhongdiep

    Joined:
    May 27, 2016
    Posts:
    3
    Sorry, but are this feature released? I can't find any info about it.
     
  5. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    63
    yes on version 3.2.0-pre4, you have to install it manually or wait for the official stable release
     
  6. pogarra

    pogarra

    Joined:
    Nov 9, 2022
    Posts:
    1
    I'm having a problem where the keyboard won't show up when I full screen the WebGL build on mobile. Is there a workaround for this?
     
  7. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    280
    I have this problem
    I updated the project to unity 2022.3
    Now also if I enable the preview pachages I not see textmeshpro 3.2.0...why????
     
  8. SIC_App

    SIC_App

    Joined:
    Nov 2, 2021
    Posts:
    1
    Still by default keyboard input is not working in 2022.2.12f1
     
  9. Ed6i

    Ed6i

    Joined:
    Sep 10, 2021
    Posts:
    2
    any solution this problem?
     
  10. Ed6i

    Ed6i

    Joined:
    Sep 10, 2021
    Posts:
    2
  11. elliot_eserin

    elliot_eserin

    Joined:
    Jan 5, 2020
    Posts:
    38
    Which Unity version did you use this in? I tried doing this in the latest LTS - 2022.3.9 and it didnt seem to work for me, unless Ive missed something
     
  12. Gorki1337

    Gorki1337

    Joined:
    Mar 2, 2018
    Posts:
    31
  13. elliot_eserin

    elliot_eserin

    Joined:
    Jan 5, 2020
    Posts:
    38
    From my testing (this is on 2022.3.9 LTS) I have realised that mobile keyboard seems to work fine with the legacy input field but not TextMeshPro input fields. Maybe this is mentioned explicitly somewhere and I just missed it but this is what I was doing wrong. If you get it working with TMPro (maybe it is added in a pre-release or something) I would be interested to know how.
     
  14. Gorki1337

    Gorki1337

    Joined:
    Mar 2, 2018
    Posts:
    31

    I hope they will add support for TextMeshPro as well, but until then, I will continue to use this:
    https://github.com/kou-yeung/WebGLInput It works excellently on all input fields and is very easy to use and understand.
     
  15. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    944
    Support for mobile keyboard in Web platform builds did land into Unity some time ago now, like Brendan suggested.

    Also support for TextMeshPro should be there.

    However tracking the comments in this long thread, it looks like that support is partial or buggy.

    Searching our bug database, I find one ticket regarding TMPro, which was also linked to earlier in this thread:

    https://unity3d.atlassian.net/servicedesk/customer/portal/2/IN-33305 - [WebGL] TMPro input field does not prompt a keyboard when in fullscreen mode on a mobile browser

    I've bumped the priority of that bug to High.

    If that does not cover the seen use cases, I recommend opening a new thread about the issue (since this thread has a long history of several bugs) and reporting a bug - that way the conversation can be refocused on behavior in very specific conditions.
     
    De-Panther and Gorki1337 like this.
  16. AndreaGalet

    AndreaGalet

    Joined:
    May 21, 2020
    Posts:
    63
    I opened two bugs report about it sometimes ago:

    UUM-48974

    https://issuetracker.unity3d.com/is...text-in-the-input-field-using-mobile-keyboard

    UUM-42824

    https://issuetracker.unity3d.com/is...en-the-inputfield-is-set-to-only-take-numbers
     
  17. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    944
    Thanks for linking AndreaGalet.

    I see that both issues have been cleared by QA and reached the team backlog. These are also already assigned to developers, so I hope that there will be updates on these in the coming weeks.
     
    AndreaGalet likes this.