Touch phase changes to Ended before I take my finger off the screen (Cardboard)

Hey everyone,

I’m trying to create a system to fire an event when you hold your finger on the screen for more than 1 second. Should be pretty simple except the phase of the current touch is not correct.

Even if I press the screen and rest my finger there, I get 3 phases changing frame after frame. It goes from Began to Stationary and Ended even though my finger is still there, pressing the screen.

I ran adb logcat and when I take my finger off the screen I can see an event being sent from the OS, but Unity is not getting it.

I tried Input.touches[0].phase and Input.GetMouseButtonDown(0) with no success.

Obs: I’m using Cardboard SDK, just to mention it.

Cheers!

I found out:
You must turn off ‘Tap is Trigger’ on the Cardboard script, which is attached to the parent Game Object of the Cardboard camera structure.