Search Unity

Touch.deltaPosition giving odd values on Android (Unity 5)

Discussion in 'Android' started by PedroGV, Mar 13, 2015.

  1. PedroGV

    PedroGV

    Joined:
    Nov 1, 2010
    Posts:
    415
    After upgrading my project to Unity 5, I've noticed the Touch.deltaPosition gives odd results on Android devices. Basically, many times it is reset to zero on many update loops which is wrong. And I've also noticed that values tend to be more accurate as touches approach the center of the device's screen.

    A question has been posted in the answers section about the issue: http://answers.unity3d.com/question...g-jerky-movement-on-androi.html#answer-922689

    It's worth mentioning here that the same code worked fine on Unity 4.6.

    Has anyone experienced this issue?
     
  2. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    Please file a bug on this issue and supply repro projects for both Unity 4 and Unity 5.
     
  3. PedroGV

    PedroGV

    Joined:
    Nov 1, 2010
    Posts:
    415