Search Issue Tracker

Fixed

Fixed in 1.3.0

Votes

0

Found in [Package]

1.3.0

Issue ID

ISXB-237

Regression

No

[WebGL] Return key is captured as the string "Enter" when using Keyboard.onTextInput

Package: New Input System Bugs

-

Reproduction steps:
1. Open the attached project "unity-webgl-enter-bug.zip"
2. Build and Run the Scene "SampleScene" with WebGL
3. In the Build, press the return key on your keyboard

Expected result: No characters are added to the text field
Actual result: The string "Enter" is added to the text field

Reproducible with: 1.3.0 (2021.3.0f1, 2022.1.0b16, 2022.2.0a8)
Could not test with: 1.2.0 and below (due to builds failing on 2019.4 and 2020.3), 2022.2.0a9, 2022.2.0a10 (WebGL builds fail)

Notes:
- Not reproducible in Editor and macOS Player

  1. Resolution Note (fix version 1.3.0):

    Fix verified with:
    2022.2.0a16.2406
    Revision: trunk 17114ee23d5f
    Built: Thu, 02 Jun 2022 22:06:20 GMT

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.