Search Issue Tracker

Fixed

Fixed in 2023.2.20f1, 6000.0.0b14

Votes

0

Found in

2023.2.13f1

6000.0.0b1

Issue ID

UUM-65277

Regression

No

[GameActivity][UI Toolkit][Android] Text field becomes multiline during edition in the Player when the Multiline option is disabled in the UI document TexField settings

--

-

How to reproduce:
1. Open the “IN_69695” project
2. Open the “New UXML Template” asset
3. Select the “TextField”
4. In the Inspector make sure the “Multiline” option is disabled
5. In the Build Settings make sure the Android Platform is selected
6. In the “Run Device” dropdown, select the desired device
7. Press Build And Run
8. In the Player type a letter in the Text Field -> press return -> type another letter

Expected result: Letters are typed in the same line
Actual result: The second letter is typed into the second line

Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.13f1, 2023.3.0b10

Testing environment: Windows 10 Pro
Not reproducible on: No other environments tested

Reproducible on these devices:
VLNQA00267, Samsung Galaxy S10+ (SM-G975F), Android 12, CPU: Exynos 9 (9820), GPU: Mali-G76
VLNQA00178, Xiaomi Redmi Note 4 (Redmi Note 4), Android 6.0, CPU: MediaTek Helio X20 MT6797M, GPU: Mali-T880
VLNQA00120, Google Pixel 2 (Pixel 2), Android 8.1.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00489, Htc 10 (HTC 10), Android 6.0.1, CPU: Snapdragon 820 MSM8996, GPU: Adreno (TM) 530

Not reproducible on these devices:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS

Notes:
- Tested with Unity UI 1.0.0, 2.0.0, 3.0.0-exp.1 and 3.0.0-exp.3 but all of these package versions had this issue (only Android Player)
- Not reproducible in the Play Mode
- Not reproducible on Windows Standalone and iOS Player (others not tested)
- Couldn’t test on VLNQA00321, Xiaomi MI 9 (MI 9), Android 10, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640 due to TextField not responding to touch

  1. Resolution Note (fix version 6000.0.0b14):

    The issue happens with GameActivity 2.0 version. You can switch to Activity to temporarily workaround this

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.