Incorrect x position for touches when using the Remote

Hi!

I’m rather new to Unity and even more so to Unity iPhone, but I did browse through the forum some before I posted this new topic, so here goes:

When using the remote, just reading the different touches gives me incorrect .position.x values.
At first I thought that it was because of the Screen.width differing from the iPhone, but the coordinates are still within the span of 480 pixels (width of the iphone screen in landscape mode). The x position collected from the unity remote ranges from Screen.width - 480 to Screen.width. So I guess I can work around this problem, but it’s still a bit anoying.

The y’s range from 0 to 320 which is totally correct.

Is this a known problem perhaps ?

Best regards, Linus

I’ve never had any problems reading touch positions’ x or y values. I get 0-320 on y, and 0-480 on x (after setting my orientation to horizontal) both when using the remote app and when creating a build. There must be something else causing issues here.

Yes this is a known problem

also you might want to use the iPhone xxx modes when playing the game in the editor. they are in the dropdown above. that already helps quite a bit.

Yes, I later found out that the iPhone view options in the drop-down mentioned above corrected the problem.

Thanks for the fast replies!