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

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?

Hi,

Can you report this to us? Ideally provide a project which demonstrates the issue in 5.1 and 5.2 :wink:

I just submitted the bug report.
The case number is 726591.
Thanks.

2 Likes

Still not working in 5.2.2. Are there any updates on this? Is anyone else experiencing this?

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.

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();

if (movement != Vector2.zero)
            {
                if (movement.magnitude > .5f)
                    movement.Normalize();
                else
                    movement = Vector2.zero;
            }

Now thumbstick ui navigation appears to work as it should!
I will update this post if I run into anymore problems.

There is now a pull request for a correct fix for this issue:
https://bitbucket.org/Unity-Technologies/ui/pull-requests/35/bugfix-for-menu-navigation-via-analog/diff

A detailed description of why 5.2 broke analog input navigation:
https://bitbucket.org/Unity-Technologies/ui/pull-requests/33/bugfix-for-menu-navigation-via-analog/diff