Input.acceleration always Vector3.Zero

I can’t find any answers to my problem from searching…

Suddently my game has stopped receiving Input.acceleration values - they’re always 0. I’ve exported the project as a package, imported into a fresh project - but nothing.

I’m only building to Android, there’s no settings to control this as per iOS devices.

I’m using the CrossPlatformInput - its enabled, prefabs in my scene and was working last time I used it!

Same happens when built or with Unity Remote.

My game is now late, so any help would be appreciated. :slight_smile:

Thanks,

This was solved by simply doing it on another PC - builds just fine.

I guess its a Unity bug - as nothing in the project or setups is different - just one PC doesn’t read any Input.acceleration values and wont build an APK that does either… ?

Not really a “solution” - in fact, having to do it on a different machine is a massive headache - but it might offer a workaround if this happens to anyone else.