Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug WithMatchingEventsBeingSuppressed does not work with a PS4 controller during rebinding.

Discussion in 'Input System' started by emredesu, Oct 9, 2022.

  1. emredesu


    Aug 12, 2021
    I have an action that is assigned to turn off the options menu when the "Circle" key is pressed. My current rebinding function usage looks as follows:

    Code (CSharp):
    1.         var rebindOperation = action.PerformInteractiveRebinding()
    2.             .WithControlsHavingToMatchPath("<DualshockGamepad>")
    3.             .WithBindingGroup("PC_DualshockGamepad").
    4.             .WithTimeout(10f)
    5.             .WithMatchingEventsBeingSuppressed()
    6.             .OnCancel(OnCancelledBinding)
    7.             .OnComplete(operation => OnSuccessfulBinding(operation, rebindComponent))
    8.             .Start();
    However, while the WithMatchingEventsBeingSuppressed() option works with other controllers I tested it with (keyboard and Xbox One Gamepad), it does not seem to work with a PS4 gamepad. I found this ( bug tracker link from a while ago that claims to have fixed this issue with input system 1.1, however I am still having the same issue with input system 1.3. What do? What kind of a workaround can I create for this issue? I tried disabling the actions that turn off the options menu, however that doesn't seemed to have worked either.
    Last edited: Oct 10, 2022