gyro.enabled = true when I have no gyro?

I have an Acer Predator laptop. When I set Input.gyro.enabled = true, and read it back, it stays true. Yet I am pretty sure there is no gyroscope in my laptop. Certainly, when I rotate it, the attitude reported by the “gyro” doesn’t change (it’s always 0, 0, 0). Yet, when I run the same code on my Galaxy Tab A, which also has no gyroscope, reading back Input.gyro.enabled reports false.

Why is my laptop reporting Input.gyro.enabled as true?

Could be a few things:

  • perhaps we are misinterpreting the meaning of .enabled in this context.

  • perhaps the OS always says it has a gyroscope, even when it doesn’t. Could be intentional, could be a driver error, could be something else.

  • maybe it is a legitimate Unity bug

Alas, I was hoping the answer would be that I do have a gyro in my laptop, and I’m just doing something wrong when I read its attitude. I suppose it’s also possible that it has to do with being in play mode in the editor. (That is, a stand-alone game might report correctly; I’ll try that, just so we know.)

Well, whaddayaknow? It does report false in a stand-alone game, but true while running in play mode in the editor. No mention of this in the doc. Think it warrants a bug report?