Android Input.touch strange behaviour

Hi everyone,

I was working on an android project with multitouch input, and i noticed something really strange.
With some devices, touches has really bad values.
I found 2 behavious, with the HTC OneX (android 4.0.3) and with the galaxy S2 (android 2.3.4, and it’s seems to be the same with 4.0.4).

On the HTC OneX,
When i’ve got 3 finger on the screen, input.touches is block to 1 touch with the id1, and it stay detected when i remove my fingers.
I can still touch the screen with 1 finger, but unity detect 2 fingers, the one on the screen (id0), and the blocked one(id1).
To remove the blocked touch input, i have to use 2 fingers one screen.

With the Galaxy S2,
i didn’t have the HTC OneX problem.
i can use several fingers, and it’s not blocking.
However, with 2 fingers and more, the only correct information seems to be the Touch.position, Touch.deltaPosition is just correct for the first finger, and the Touch.deltaTime is bad for every touches.

i got a lot of script that use Touch.deltaPosition, and Touch.deltaTime, and because of that, they are not working really well.

Does anyone notice these thing on other android phones and have a solution for that ?
Any bug fix coming soon ?

Thanks,

(PS, i’m sorry for my english, and hello from France :wink: )

Edit : I sent a Bug Report for that, now i’m waiting

I am also seeing bad behaviour, I’m seeing touches more than 8, and touch ID’s well into double figures…

What unity version are you running? If not one of the latest try upgrading. We did a lot of fixes in regards to touch input in 3.5.7 and 4.0.

ps. Having touch id’s with high numbers are totally fine. They are just id’s and doesn’t necessarily reflect the number of touches.