Why won't touch-screen buttons work on Sony ExperiaZ

Hi, I sent my APK to a friend for testing. He has a Sony Experia Z.
It is the one with the sony buttons.

The problem is NO buttons will work for him. (Not the gamepad buttons, the touch buttons on-screen).

Why won’t my buttons work on this device?
They work on every other phone I have tested on?

Cheers,Tim

I’ve never used GUITexture.HitTest, but my guess is that it uses GUI space coordinates (in which (0,0) is bottom-left of screen), whereas Touch.position uses screen space coordinates (where (0,0) is top-left of screen).

Try inverting the y coordinate before performing the hittest, with something like:

new Vector2(touch.position.x, Screen.height - touch.position.y)

Alternatively, if your buttons are rectangular, try rewriting the Hittest something like:

if(Lowbeam.GetScreenRect().Contains( touch.position)) {
....
}