Search Issue Tracker

Fixed

Fixed in 2022.3.12f1, 2023.1.18f1, 2023.2.0b15, 2023.3.0a10

Votes

5

Found in

2022.3.2f1

2023.1.2f1

2023.2.0a19

2023.3.0a3

Issue ID

UUM-42824

Regression

No

[WebGL] App freezes on Android when the InputField is set to only take numbers

--

-

Reproduction steps:
1. Open the attached project “WebglProject”
2. Build the project for the WebGL Platform
3. Run the WebGL app on an Android device
4. Input some text in the first InputField
5. Observe the app

Expected result: The Input is accepted by the user
Actual result: The app freezes and an error popups “InvalidStateError: Failed to execute 'setSelectionRange' on 'HTMLInputElement': The input element's type ('number') does not support selection.“

Reproducible with: 2022.3.2f1, 2023.1.2f1, 2023.2.0a19
Couldn’t test with: 2021.3.28f1 (Element 'UnityEngine.UIElements.IntegerField' has no registered factory method) error was thrown in the Editor

Reproducible with these devices:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 12
VLNQA00414 - Galaxy Note10+ 5G (SM-N976V), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 9
VLNQA00278 - Xiaomi Redmi Note 7 (Redmi Note 7), CPU: Snapdragon 660, GPU: Adreno 512, OS: 9.0.0
VLNQA00139 - Vivo Xplay6 (vivo Xplay6), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 7.1.1
VLNQA00132 - Xiaomi Mi 5s (MI 5s), CPU: Snapdragon 820 MSM8996, GPU: Adreno 530, OS: 6.0.1

  1. Resolution Note (fix version 2023.3.0a10):

    Fixed in 2023.3

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.