Bug: First Touch Position is always (0,0)

I have the same issue as here:

and here:

https://stackoverflow.com/questions/67877267/unity-new-input-system-returns-zero-when-accessing-touch-position-on-first-call

I have not been able to find a fix.

Can anyone help? No matter what setup I try, the very first touch position is (0,0). After that it’s fine.

IIRC this has been fixed in one of the 1.1 previews. Should be fine as of 1.1-pre.6.

1 Like

Oh wow, so good to hear! Do we know when that version will be out? I think I’m still on like 1.0something but I have to check. Don’t have the project open now.

1.1-pre.6 was pushed yesterday. Unfortunately, being a pre-release, it requires pre-release packages to be enabled in the package manager UI in order for the version to be shown. That or just replacing the version number manually in Packages/manifest.json.

1.1 final, however, should also be out pretty soon and then become the default version selected by the package manager.

1 Like