Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.3.5f1
Issue ID
815918
Regression
No
[Android] Calculating delta position (manually), gives different results from Touch.deltaPosition
Reproduction steps:
1) Open Unity Remote on a device
2) Open "case_815918-DeltaPositionBug.zip" project
3) Open "scene" and enter playmode
4) Swipe on screen using Unity Remote and check results in console output
5) Exit playmode and build game for Android device
6) Swipe on built project and check debug output in adb logcat
- Notice that user's calculated delta position in built project is very different than in case using Unity Remote
Note:
User's formula for delta position: touch.position - LastPosition // last position is updated in LateUpdate()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment