I have an InputField that works on most browsers, however on mobile the virtual keyboard does not pop up. everything else is working good on mobile for me except for that. I am wondering if anyone has gotten it to work. All i have found are posts about it not working. If this just doesnt work, I think my options are using my own virtual keyboard, or somehow sending form data to the webGL unity app. Has anyone encountered this? What did you do?
Hello guys, I managed to create a workaround for this problem and freely uploaded to github: https://github.com/dantasulisses/WebMobileInputFix
I didn’t test extensivelly but looks like it is working fine and the use is very simple
Thanks for this contribution. I implemented it in my own game and it does the job indeed, however, I found the following issues:
If you use the first option (native), there is a not-so-friendly pop up with information about the server/site, prompting to the text input via mobile keyboard. After submitting the text, the game exits full-screen mode (if so).
the second options (browser prompt) seems to prevent the issue described above, however, it depends on the resolution of both the game and the mobile browser. Perhaps there is a way to configure it in order to display it properly in case you having different resolutions? (e.g. your WebGL game is full-screen).
BTW I uploaded a sample game to itch.io using this asset. I haven’t tried via GitHub or any other server.
Thank you for your sample project.
It have problem: Input Field Native changed event On Value Change instead of Input Field default (On Value Change (string)). Can you help me how can I implement Input Field default event On Value Change (string)?
Adding support for bringing up the virtual keyboard is currently on our radar. We are hoping to land that in to 2021.2 (and possibly backport if code structure permits).
Im trying customers to login into a game made in WebGL and it’s frustrating that nothing happens. I’m feeling frustrated. It´s just a stupid thing and it doesn’t work. Is there a simply way to do it? I’m searching the whole web and nothing helps.
Do you guys have any time frame when this feature will be available?
I have a project for a customer which first was made for native mobile. But because of well considered reasons, we decided to switch to WebGL. Everything is working except for a stupid contact page.
Now 1 week before the deadline, I have to tell the customer it is not possible with Unity. Not even a workaround. I tried all the available “workarounds”, but none of them are working on all the platforms.
UPDATE:
I’m willing to use a beta version for it as well. Or some advice that I can use to make it work.
One solution I am considering is just making a separate HTML-based (with JS)-interface that communicates with an “API” provided by the Web Assembly that just accepts strings, so it can work as a text-based interface without having to use Unity’s own GUI. However, I am still in the exploration phase and I wonder how, or even if, this is feasible.
@brendanduncan_u3d this has been a detected problem since more than 2018.
Can you tell us a time frame to have this solved already?
It’s ridiculous that things like this are still a problem in a rental software, supposedly the change to rental only should provide a much bigger and better support, like fixing old problems like this one.
@Eorlinger this is ridiculous, but if you manage to solve this, please tell us your solution
We cannot give you a time frame, but it is part of our mobile support plan that has been in progress. I understand it is frustrating not having a built-in mobile keyboard solution.