Search Issue Tracker

By Design



Found in






Issue ID




[iOS][OldInput] Touch is ignored when the application is resumed from the background



Reproduction steps:
1. Open the attached project ""
2. Build and Deploy the Scene "SampleScene" to a device
3. Touch and hold the screen of the device with a finger
4. Minimize the application by pressing the Home button
5. Remove the finger from the screen
6. Maximize the application
7. Touch the screen in the same spot as before
8. Drag the finger around the screen, then release it
9. Observe the Xcode Console

Expected result: The Touch is correctly registered, and TouchPhase is correctly reported
Actual result: The Touch is ignored

Reproducible with: 2019.4.32f1, 2020.3.23f1, 2021.2.2f1, 2022.1.0a15

Reproduced on:
- iPhone 6 (iOS 12.4.8)
- iPhone 7 (iOS 12.3.1)

Does not reproduce on:
- iPhone 12 Mini (iOS 14.1)
- iPhone 13 (iOS 15.0)
- VLNQA00391, Xiaomi Redmi 9A (M2006C3LG), Android 10, CPU: MediaTek Helio G25 (MT6762G), GPU: PowerVR Rogue GE8320
- VLNQA00313, Huawei Y6 Ⅱ Compact (HUAWEI LYO-L01), Android 5.1, CPU: MediaTek MT6735, GPU: Mali-T720
- ----------, Oppo Reno Z 中国版 (PCDM10), Android 11, CPU: NOT FOUND, GPU: PowerVR Rogue GM9446
- VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77

- Issue is not reproducible on devices that do not have a Home button
- Touching the screen in a different spot than the first time does not reproduce the issue

  1. Resolution Note (2022.1.X):

    This is expected behavior. Old input uses information querying to retrieve active inputs. When the app is suspended (going to background, etc.) script execution is suspended as well, therefore the check to see that events were canceled does not happen. To handle lifecycle events use OnApplicationPause and OnApplicationFocus.

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.