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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.