Search Issue Tracker

By Design

Votes

0

Found in

2021.3.33f1

2022.3.14f1

2023.2.3f1

2023.3.0a16

6000.0.0b11

7000.0.0a1

Issue ID

UUM-57972

Regression

No

[Android] Duplicate fingers reported in InputSystem.EnhancedTouch.Touch.activeFingers array

--

-

Reproduction steps:
1. Open the attached project “ReproProject”
2. Build and Run on Android
3. Touch the screen with one finger
4. Observe the screen

Expected result: 1 cube GameObject appears
Actual result: 2 cube GameObjects appear

Reproducible with: 2021.3.33f1, 2022.3.14f1, 2023.2.3f1, 2023.3.0a16

Reproducible with these devices:
VLNQA00498 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 13
VLNQA00592 - Google Pixel Tablet (Pixel Tablet), CPU: Google Tensor G2 (GS201), GPU: Mali-G710, OS: 13
VLNQA00593 - Google Pixel Fold (Pixel Fold), CPU: Google Tensor G2 (GS201), GPU: Mali-G710, OS: 13

Not 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
VLNQA00591 - Samsung Galaxy S23 (SM-S911B), CPU: Snapdragon 8 Gen 2 (SM8550), GPU: Adreno 740, OS: 13
VLNQA00500 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 14
VLNQA00467 - Galaxy S21 Ultra 5G OS Android 13; SOC_MODEL-Exynos 2100; GPU_RENDERER-Mali-G78
VLNQA00500 - Google Pixel 7 (Pixel 7), CPU: Google Tensor G2, GPU: Mali-G710, OS: 14
iPhone 12 mini (iOS 14.1)
iPad Air 4th Gen (iOS 15.2.1)
Dell XPS 15 Touch Screen Laptop

Testing environment: macOS (Intel) 14.0 Sonoma

  1. Resolution Note:

    Some phones like Google Pixel 7, when touching screen produces an event which is both touch and pen.

    In your project you have TouchSimulation script assigned to Box game object, as stated in https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/api/UnityEngine.InputSystem.EnhancedTouch.TouchSimulation.html, it produces events from Pointer types, so in this case since Input System receives both touch & pen event from backend, TouchSimulation treats it as two fingers.

    Not sure why you're using this script, because EnhancedTouchSupport works without the need of TouchSimulation.

    In other words remove TouchSimulation script

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.