With the latest version of unity 5.5.1f1 Input from the keyboard seems to be broken.
From a new project if a create an object an place this script that checks for Input.GetButtonDown(“Vertical”) and Input.anyKeyDown. When i hit play i will only get the a response from anyKeyDown and then only from a mouse press, the keyboard has no effect.
I hope someone can help with this.
Cheers
Pete
public class TestKey : MonoBehaviour
{
// Use this for initialization
void Start ()
{
}
// Update is called once per frame
void Update ()
{
if(Input.GetButtonDown("Vertical"))
{
Debug.Log("Vertical Key Down");
}
if(Input.anyKeyDown)
{
Debug.Log("Any Key Down");
}
}
}
2950852–218769–Test Key.zip (3.6 MB)