Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

iOS gyro readout = 0? (Bug report Case: 830832)

Discussion in '5.5 Beta' started by RolfBertram_dot_me, Sep 10, 2016.

  1. RolfBertram_dot_me

    RolfBertram_dot_me

    Joined:
    Mar 1, 2011
    Posts:
    128
    This worked fine in 5.4. In 5.5 it reads zero:

    Code (CSharp):
    1. voidUpdate(){Physics.gravity=newVector3(Input.gyro.gravity.x,Input.gyro.gravity.y,Input.gyro.gravity.z);}
     
    MrEsquire likes this.
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
    If this works in 5.4 and does not in 5.5, then I suspect you found a bug.

    I recommend to submit a bug-report. If Unity has that bug-report in their system, it will increase the chance to get this issue fixed considerably.

    Don't forget to attach a small test project that can be used by Unity to easily reproduce the issue and test their fix against. You might want to post the bug-report case number in this thread as well, as this might speed up the process a little as well.