Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleSceneTMPro.unity” Scene
3. Build and Run on an Android device
4. In Player, select the TextBox
Expected result: Text caret exists
Actual result: Caret is not present
Reproducible with: UGUI 2.0.0 (2023.2.5f1, 2023.3.0b1)
Could not test with: TMP 3.2.0-pre.6 (2021.3.33f1), 4.0.0-pre.2 (2022.3.17f1), UGUI 3.0.0-exp.1 (2023.3.0b1), 3.0.0-exp.3 (2023.3.0b1) (“NullReferenceException: Object reference not set to an instance of an object“)
Reproducible with devices:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
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
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Does not reproduce in Play Mode
- Reproduces with Legacy Input Field and TMP
- Could not test with Windows Standalone Player due to the Error “Assets\Scripts\Vibrator.cs(23,13): error CS0103: The name 'Handheld' does not exist in the current context”
- Reproduces with Mono and IL2CPP