Search Issue Tracker
By Design
Votes
0
Found in
2022.3.58f1
6000.0.38f1
6000.1.0b6
6000.2.0a3
Issue ID
UUM-97392
Regression
No
"TouchScreenKeyboard.isSupported" always returns true when the selected platform is WebGL
Reproduction steps:
1. Open the attached “IN-93683” project
2. Open the Build Settings (File > Build Settings)
3. Set “WebGL” as the selected Platform
4. Build and Run the project
5. Observe the Player console output
Expected result: “TouchScreenKeyboard.isSupported” prints out “false”
Actual result: “TouchScreenKeyboard.isSupported” prints out “true”, even when touch screen is not supported
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6
Reproducible on: Windows 10
Not reproducible on: No other environments tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
Thank you for reporting a bug to Unity.
On the Web platform, this value is always true even if on-screen keyboards aren't supported. The on-screen keyboard may or may not appear depending on the device and OS configuration.
We have updated our documentation https://docs.unity3d.com/6000.2/Documentation/ScriptReference/TouchScreenKeyboard-isSupported.html to reflect the intended behaviour.
Today we will be closing this case. Thank you again for taking the time to report this issue.