Search Issue Tracker

Won't Fix

Votes

1

Found in

2022.3.63f1

6000.0.51f1

6000.1.7f1

6000.2.0b5

Issue ID

UUM-121312

Regression

No

[iOS] The pressure of the Pen input is sometimes registered incorrectly on an initial touch

-

How to reproduce:
1. Open the “ApplePencilPressure.zip“
2. Open the “SampleScene“
3. Build and Run for iOS
4. With an Apple Pencil Pro lightly tap on the middle of the screen
5. Observe the “Pen Pressure: “ logs in the Debug Console on Xcode

Expected result: Pressure is logged accordingly (< 0.08)
Actual result: Sometimes the “Pen Pressure: “ is logged as 0.08

Reproducible with: 2022.3.63f1, 6000.0.51f, 6000.1.7f1, 6000.2.0b5

Reproducible environment: macOS 15.4.1  (M4 Max)
Not reproducible environment: No other environment tested

Reproducible with these devices:
VLNQA00635, iPad Pro 11-inch 5th Gen (MVV83KN/A), OS: 18.3.1

Notes:
- The 0.08 is logged on an initial touch
- The “ApplePencilPressure.zip“ project has the New Input System integration, but something similar happens with the Old Input System too. But instead of the “Pen Pressure: “ being logged as 0.08, it logs 0.33 on an initial touch (You can check it out with the “ApplePencilPressureOld.zip“ project)

  1. Resolution Note:

    We receive the values directly from Apple API. The "Force" in the new input system is UITouch.force ÷ UITouch.maximumPossibleForce. On the initial touch we receive 0.3333... and the maximum force is 0.416666...
    In the old input system we return the UITouch.force directly, so the value is 0.3333
    It may or may not ne an intentional behaviour from Apple or an Apple bug

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.