Search Issue Tracker

Fixed

Votes

1

Found in [Package]

1.3.0

Issue ID

1417650

Regression

No

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

Package: Input System

-

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:

    Fixed in 2022.2.0a16

  2. Resolution Note:

    Fixed in 2020.3.39f1

  3. Resolution Note:

    Fixed in 2019.4.40f1

  4. Resolution Note:

    Fixed in 2021.3.5f1

  5. Resolution Note:

    Fixed in 2022.1.4f1

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.