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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment