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
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
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.