Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.1.0-preview.1

Issue ID

1284946

Regression

No

[Android] Input.GetKeyUp(targetKeyCode) is triggered when Back Button is still on hold/pressed

Package: Input System

-

How to reproduce:
1. Open project "AndroidBackKeyTest.zip"
2. Build on Android
3. Hold the Back button and observe the LogView

Expected result: Input.GetKeyUp(targetKeyCode) does not get triggered while the Back button is held
Actual result: Input.GetKeyUp(targetKeyCode) gets triggered while holding the Back button after holding it for a few seconds

Reproducible with: 0.2.1-preview(2018.4.28f1), 1.1.0-preview.1(2019.4.13f1), 1.1.0-preview.1(2020.1.10f1), 1.1.0-preview.1(2020.2.0b9), 1.1.0-preview.1(2021.1.0a2)

Reproducible with:
VLNQA00277, Asus ROG Phone, Android: 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00006, Samsung Galaxy S7, Android: 8.0.0, CPU: Exynos 8 Octa 8890, GPU: Mali-T880
VLNQA00121, Samsung Galaxy S9, Android: 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72

Not reproducible with:
VLNQA00030, Lge LG G2, Android: 4.4.2, CPU: Snapdragon 800 MSM8974, GPU: Adreno (TM) 330

Notes:
- On Galaxy S7 after a second "Keyboard.current[Key].isPressed" becomes false, look at the "Screenshot_AndroidBackKeyTest_not_work_(long time).jpg"
- The issue in "Screenshot_AndroidBackKeyTest_not_work_(long time).jpg" does not reproduce in 0.2.1-preview(2018.4.28f1) on Galaxy S7

  1. Resolution Note:

    Back button is handled by the system, we only receive events from OS.

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.