Search Issue Tracker

Fixed in Unity 5.4.5

Votes

1

Found in

5.4.0p1

Issue ID

834172

Regression

Yes

[iOS] Input.touchPressureSupported returns 'false' on Force Touch enabled devices the first time an app is launched

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Input.touchPressureSupported returns 'false' on Force Touch enabled devices the first time an app is launched. Launching the app for the second time returns 'true'.

Steps to reproduce:
1) Open the attached project.
2) Build for iOS.
3) Run on a Force Touch enabled device (iPhone 6S or later).
- 'Input.touchPressureSupported == False' is shown on the screen.
4) Close the app fully (swipe it away).
5) Re-open the app.
- 'Input.touchPressureSupported == True' is shown on the screen.

This occurs only the first time the app is launched. Minimizing and restoring the app doesn't make the issue disappear, the app needs to be closed fully for it to function properly after reopening.

Reproduced on:
5.5.0b4, 5.4.1p2

Did not reproduce:
5.3.6p6, 5.2.4f1

Device tested:
iPhone 7 iOS 10.0.1

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.