Search Issue Tracker

Fixed in 1.1.0-preview.3

Votes

0

Found in [Package]

2019.4

2019.4.3f1

2020.2

Issue ID

1286865

Regression

Yes

[New Input System] Began, Moved, and Ended touch phases are not reported when a second scene is loaded

Package: Input System

-

The issue is reproducible on all platforms supporting touches:
* Editor (requires touch monitor)
* WindowsStandalone (requires touch monitor)
* Android
* iOS

This is a generic problem with input system package 1.1.0-preview and up

How to reproduce:
1. Open the attached (case_1286865-TouchPhaseIssueSmallV3.zip (26.3 KB) at the bottom of the bug, don't take 450MB project, since it has Library folder)
2. Build for Windows Standalone (have a touch monitor)
3. Run
4. Touch the screen to see the touch phases
5. Observe that Began, Moved, Stationary, and Ended are returned
6. Once the second Scene opens, touch the screen to see the touch phases

Expected result: Began, Moved, Stationary, and Ended touch phases are returned
Actual result: Stationary phase is returned

P.S In editor touch phase is always stuck in Stationary
P.S. It seems you can fix it by re initialising the Enhanced Touch in start().

Reproducible with: 1.1.0-preview.1, 1.1.0-preview.2(2019.4.15f1, 2020.1.14f1, 2020.2.0b9)
Not reproducible with: 1.0.0( 2019.4.15f1, 2020.1.14f1, 2020.2.0b9, 2021.1.0a6)
Could not test with: 2018.4.29f1 New Input System is not present,1.1.0-preview.1, 1.1.0-preview.2(2021.1.0a6) package versions are not available in Package Manager)

Reproducible with:
iPhone 8+ (iOS 12.0)
iPhone XR (iOS 13.4.1)
iPad 9.7’ 6th gen (iOS 14.2)
VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
Editor
Windows Standalone

  1. Resolution Note (fix version 1.1.0-preview.3):

    Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1250
    The fixed package version is available from 2019.4.0f1 and up

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.