Search Unity

[Win 10 Universal] Surface Pro 2 vs Nokia Gyroscope

Discussion in 'Windows' started by jotapeh_, Mar 28, 2016.

  1. jotapeh_


    Nov 16, 2012

    I'm running into a bit of a difficult problem. On the Surface Pro 2 (and presumably other Surface devices,) the Input.acceleration axes are flipped from a Nokia Lumia 925 (and presumably other phones.) Meaning x is y and vice versa on either platform.

    Both are running Win 10, and the codebase is the same Windows Universal project for both devices.

    This leads to some obviously awkward behaviour, where objects fall sideways on the Surface and have correct gravity on the phone.

    How can I tell the difference between the devices? Is this a known bug with Surface Pros?

    EDIT: had to change the title. This is apparently specific to Input.gyro.gravity and Input.compensateSensors, which are inconsistent across the two devices
    Last edited: Mar 28, 2016
  2. Aurimas-Cernius


    Unity Technologies

    Jul 31, 2013
    Can we get a bug report for this? This is likely a bug on our side with sensor compensation. Thanks.