How to make X button work in 5.5.3f1 - Google VR SDK ?

I tried to add following to Update, and attached those script to an empty object:
if (Input.GetKey(KeyCode.Escape))
{
Application.Quit();
}

I’m using latest version of GVR. I don’t use 5.6.0f3 because of this.

Try

 if (Input.GetKeyDown(KeyCode.Escape)){
Application.Quit();
}

No difference.

Weird, it should work. No idea than. You sure the script is getting called and active? If yes, you sure if ever gets inside the getkey ?

Not sure. I’m not interested in this issue anymore. I use Unity 5.6 now. Thanks.