Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug InputAction with two binds does not trigger when the binds are used simultaneously.

Discussion in 'Input System' started by Plybs, Jun 3, 2023.

  1. Plybs

    Plybs

    Joined:
    Jan 22, 2021
    Posts:
    7
    This was asked months ago here and on StackOverflow, but nobody replied.

    If there is more than one binding present on an InputAction, not only will pressing the second while the first is held down not trigger the "On Press" action, it will prevent the "On Release" action for the first key. This results in the first key getting stuck down until it is pressed again.

    I would like both binds to trigger press and release events. This seems like an easy fix, but I can't find a setting for it or where it is handled in the InputSystem code.
     
    Last edited: Jun 3, 2023