Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[5.2] Can't navigate ui with gamepad after update

Discussion in 'UGUI & TextMesh Pro' started by kingofmyworld324, Sep 9, 2015.

  1. kingofmyworld324

    kingofmyworld324

    Joined:
    Sep 24, 2013
    Posts:
    10
    After updating to 5.2, I can no longer navigate between UI buttons using a 360 gamepad. However, repeating delayed navigation input still works. In other words, I can't navigate one space, but I can navigate multiple spaces if I hold the stick in a direction.

    The keyboard arrow keys still work as they should.
    I tried deleting and readding the eventsystem but that didn't help.

    Anyone have any idea what is going on?
     
    Last edited: Sep 9, 2015
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,852
  3. kingofmyworld324

    kingofmyworld324

    Joined:
    Sep 24, 2013
    Posts:
    10
    I just submitted the bug report.
    The case number is 726591.
    Thanks.
     
    Johnnemann and karl_jones like this.
  4. kingofmyworld324

    kingofmyworld324

    Joined:
    Sep 24, 2013
    Posts:
    10
    Still not working in 5.2.2. Are there any updates on this? Is anyone else experiencing this?
     
  5. Johnnemann

    Johnnemann

    Joined:
    Mar 20, 2012
    Posts:
    11
    I was experiencing this in 5.2 and pretty annoyed about it; however for this and other reasons I went back down to 5.1.3 and will upgrade when Unity gets their act together, so I can't confirm that it's happening in 5.2.2.
     
  6. kingofmyworld324

    kingofmyworld324

    Joined:
    Sep 24, 2013
    Posts:
    10
    Actually, I think I just fixed it! I made a modified InputModule using the code provided here.
    In SendMoveEventToSelectedObject(), I added the following code after Vector2 movement = GetRawMoveVector();

    Code (CSharp):
    1. if (movement != Vector2.zero)
    2.             {
    3.                 if (movement.magnitude > .5f)
    4.                     movement.Normalize();
    5.                 else
    6.                     movement = Vector2.zero;
    7.             }
    Now thumbstick ui navigation appears to work as it should!
    I will update this post if I run into anymore problems.
     
  7. helgewt

    helgewt

    Joined:
    Jul 21, 2015
    Posts:
    12