Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.37f1

2021.3.6f1

2023.1.0a3

Issue ID

UUM-8829

Regression

No

[Android] InputSystem.EnhancedTouch misses touch Ended event when touch is released while taking screenshot

--

-

How to reproduce:
1. Download the attached project "MyInputTest.zip"
2. Add "MyInputTest" Scene to build
3. Build and Run on Android
4. When app loads, press and hold the touch screen
5. Press (or press and hold on some devices) power and volume down buttons to take a screenshot
6. Release the touch while the screenshot overlay is still visible

Expected result: Cancelled or ended event is printed on the screen
Actual result: Cancelled or ended event is not printed on the screen

Reproducible with: 1.0.1 (2020.3.37f1), 1.3.0, 1.4.1 (2020.3.37f1, 2021.3.6f1, 2022.1.8f1, 2022.2.0b1, 2023.1.0a3)
Could not test with: 1.0.0 (2020.3.37f1) (compile errors)

Reproducible with:
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540

Not reproducible with:
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
N/A, Huawei - (NOH-NX9), Android 10, CPU: NOT FOUND, GPU: Mali-G78
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
iPhone 11 (iOS 13.5)

  1. Resolution Note:

    As a rule Unity will clear any touches it has when the app goes into background, when the screenshot overlay is on the screen this counts as being backgrounded therefore for safety all touches are cleared and never reach the Ended state.

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.