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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
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.