Search Issue Tracker

By Design

Votes

0

Found in

2018.4

2019.4

2019.4.1f1

2020.1

2020.2

Issue ID

1257383

Regression

No

[Android] Number Pad Keyboard symbols are not registered on InputField

Mobile

-

Reproduction steps:
1. Open the SampleScene Scene in the attached "1257383.zip" project
2. Build the project on Android
3. Press the InputField on an Android Device
4. Enter the '-', ',' or space symbol from the Number Pad

Expected result: The InputField captures the '-', space, ',' symbol
Actual result: The InputField does not register the Number Pad symbols

Reproduces on: 2018.4.24f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a16

Reproduced on:
- VLNQA00314, Lge Nexus 5X (Nexus 5X), Android 8.0.0, CPU: Snapdragon 808, GPU: Adreno (TM) 418
- VLNQA00273, Vivo V1821BA (V1821A), Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
- VLNQA00069, Motorola Moto G (5) Plus (Moto G (4)), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 405
- VLNQA00052, Xiaomi MI MAX (MI MAX), Android 7.0, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
- VLNQA00320, Xiaomi - (Redmi Note 8 Pro), Android 9, CPU: MediaTek Helios G90T MT6785T, GPU: Mali-G76 MC4

Not reproduced on:
- iPhone XR (iOS 13.4.1)
- iPhone 8 Plus (iOS 12.0)
- iPad Air 2 (iOS 11.0.3)

  1. Resolution Note (2020.2.X):

    While the exact behavior depends on device, in general this is by design. The NumberPad keybord type is documented to allow inputing only 0-9 characters:
    https://docs.unity3d.com/2020.2/Documentation/ScriptReference/TouchScreenKeyboardType.NumberPad.html

    For it was actual behavior on iPhone 6s.

    You probably want a different keyboard type, such as DecimalPad, or NumbersAndPuntuation.

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.