Running Unity 3.5.7f6 on Android basic.
I’ve been able to repro this problem on 3 devices now: Kindle Fire, HTC® One S phone and LG-VS840 phone. All running Android 4.0+
My application relies on Touch.fingerId to as a means to report how many fingers are touching the screen.
If they power off the device while the application is running, the number that fingerId reports back becomes incremented by 1 for some odd reason. So my checks for fingerId 0 1 to do a pinch/expand motion become unreliable and broken. The Touch.fingerId also continues to become more incremented the more the device is powered off and then back on (if the app hasn’t been exited). So in theory it could end up reporting a touchId of a ridiculously high number when only one finger is touching.
I haven’t been able to find any further info on how to deal with this situation other than one dead end. Other threads have suggested this might be an issue with Android itself. I’m not having this issue with iOS.
I should probably mention that I’m relying on the FingerManager script in the Unity Wiki to handle touches.
Is there some way to reset fingerId when the application regains focus?