It seems that in versions 4.6.7p2 and 4.6.7p3, the Input class no longer registers touches properly. I created an empty project with a scene containing one game object with this simple Component attached:
using UnityEngine;
using System.Collections;
public class TouchTest : MonoBehaviour
{
void Update () {
if (Input.touchCount > 0)
Debug.Log("touchCount: " + Input.touchCount);
if (Input.touches.Length > 0)
Debug.Log("touches.Length: " + Input.touches.Length);
}
}
But as I tap onto the screen no message comes up to indicate that a touch is being registered. Can someone confirm that this is a bug or am I doing something wrong?