Search Issue Tracker

Fixed in 2018.1.X

Votes

0

Found in

5.6.4p1

Issue ID

962417

Regression

Yes

[iOS] Input.touchPressureSupported is true on some devices that don't support force touch

iOS

-

To reproduce:
1. Open project attached by QA
2. Build it for iOS (make sure "a" scene attached in the build settings)
3. Run on a device and check Xcode console

Expected result: Input.touchPressureSupported should always return false on devices that don't support 3D (force) touch

Reproduced with: 5.6.3p2, 2017.1.2p2, 2017.3.0b6, 2018.1.0a2
Not reproducible with: 5.5.5p1, 5.6.3p1
Regression since 5.6.3p2

Device: iPad Pro 10.5" iOS 10.3.3 A10X SoC

Not reproducible on iPod touch 6th gen, iPhone 6 Plus iOS 8.0

By Design:
'TouchPressureSupported' returns 'true' on iPad Pro because pressure is supported when using the Apple Pencil. So 'maxPressure' is ~4.1 when touch.type is 'Stylus' and 1.0 for normal 'Direct' touches. We can't change the actual 'pressure' and 'maxPresure' values because they are reported by Apple's API and we do not wan't to introduce any inconsistencies.

Comments (2)

  1. Maksim_Narchuk

    May 28, 2019 11:37

    2018.2.6f1 reproduced

  2. KyryloKuzyk

    Mar 15, 2018 23:40

    It seems I have the same issue on iPad Pro 10.5". This is a critical bug for my game because it detects false positive force touch presses.

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.