Search Issue Tracker

Active

Votes

4

Found in

2018.3.8f1

Issue ID

1135106

Regression

Yes

[iOS] [MFI Controller] Input.GetButtonDown fires multiple times when holding down a button

Mobile

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Reproduction steps:
1. Connect a gamepad controller to an iOS device.
2. Open the attached "1135106.zip (17.4 KB)" project.
3. Build and run the "New Scene" to an iOS device.
4. Hold the "A" button and check the Xcode Console.

Actual behavior:
- Input.GetButtonDown is continuously returning True when the button is being held (number counts from 1 and increments by 1 (1, 2, 3, etc)) (Screenshot attached).

Expected behavior:
- Only 1 click is triggered on each button press.

Reproduced with:
iOS: 2018.3.0a8, 2019.2.0a7
HORIPAD ULTIMATE
iPhone 8+ iOS 11.0, iPhone 6S iOS 12.1.2

Not reproducible with:
iOS: 2017.4.0f1, 2018.2.21f1, 2018.3.0a6
or
Android

Regression introduced in:
2018.3.0a7 (Build doesn't work on iOS) or 2018.3.0a8

Note:
The duplicate case was reproduced with GetKey, GetKeyDown, and GetKeyUp. Both cases are regressions, so this is most likely caused by the same root issue.

Comments (2)

  1. 588e582e0e06e430231cb95652f2a2a2?d=mm

    Nickjd331

    May 19, 2019 18:19

    I'm having the same problem. Have spent weeks trying to fix it.

    Does anyone have a workaround.

    I'm also seeing the right stick returning duplicate values of the left stick which I cannot remove.

  2. 395c2b4d514d5449adec780734abd13f?d=mm

    TomekLykke

    Apr 30, 2019 09:17

    I have similar problem with Siri Remote on apple TV 4th gen. I map the touch area click (joystick 14) and play pause button (joystick 15) they call Input.GetButtonDown every frame it completely breaks my game. Any info from Unity ?

All about bugs

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