Search Issue Tracker

Fixed in 5.5.0

Votes

11

Found in

5.1.2p1

Issue ID

734151

Regression

Yes

[UI] Input Delay in 5.2 (not in 5.1)

UI

-

In version 5.2 there is a delay when attempting to navigate through UI using an axis, which is not present in version 5.1.

Reproduction Steps:
1. Connect a controller/gamepad
2. Open the attached project using Unity 5.2
3. Run the scene and attempt to navigate between the buttons
4. Observe a noticeable delay before navigation occurs

Desire outcome: When navigating, the first movement should be instantaneous, only delaying between subsequent events.

Note that when pulling the StandaloneInputModule from the 5.1 branch of our UI repro on Bitbucket, this issue is resolved, so a workaround is available at the moment.

Comments (7)

  1. bronzewulf

    Feb 03, 2016 19:48

    @CodeHorizon

    Your solution worked perfectly. Thanks!

  2. Svnyster

    Dec 18, 2015 19:37

    @CodeHorizon

    Thanks for the workaround! It's working great in 5.3.0f4.

  3. CodeHorizon

    Dec 15, 2015 10:35

    @Cenda

    Goto: https://bitbucket.org/Unity-Technologies/ui/src/a2fac7823eb6006b7be7141a7d549fc2ecbfa0ae/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs?at=5.2&fileviewer=file-view-default

    Select branch 5.1, and the latest commit from it: 5.1.1f1

    Copy all the StandaloneInputModule class code and paste it to your project script class, eg. FixedInputModule.cs.

    Change class name and constructor in FixedInputModule.cs from StandaloneInputModule to FixedInputModule

    In EventSystem game object, delete StandaloneInputModule and add your new FixedInputModule.

    Works for me ;)

  4. CodeHorizon

    Dec 15, 2015 10:08

    Same problem here. Looks like the Event System / Standalone Input Module is having trouble with handling a gamepad.

  5. Cenda

    Dec 14, 2015 04:32

    There are many new bugs in the Unity 5.2 with gamepad :( I reported it before 2 months, but nothing. Can you explain how use bitbucket for fix? Thanks

  6. svenneve

    Dec 03, 2015 14:29

    Still persists in 5.2.3f1.

    Had to switch to get latest Oculus drivers (0.8) working, and of course it introduces so much crap again (UI scaler bugs) and to top it of, this bloody delay bug.

    Seeing someone already fixed the bitbucket source, i wonder why this hasn't been added to the trunk of Unity.

  7. soulareus

    Nov 06, 2015 00:47

    This bug is really disruptive to our project. Could cause a delay in Steam release if not fixed very soon.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.