Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Input Actions Asset Editor Bindings with Supported Devices list problem?

Discussion in 'Input System' started by Fenrisul, Apr 21, 2020.

  1. Fenrisul

    Fenrisul

    Joined:
    Jan 2, 2010
    Posts:
    617
    upload_2020-4-21_13-11-31.png

    So... if I don't define ANY Supported Devices in my InputSystem Settings,
    I can create a new Input Action Asset, define an Action Map, define an Action, and define a Binding, and Listen works fine.

    If I define supported devices, I cannot see ANY paths other than Usage (which ironically is useless because it won't actually listen to any input in this state).

    If I define supported devices, and I define a Control Scheme that specifically Uses one of those Support Devices, then it properly shows up in the binding context menu.

    This is SUPER un-intuitive, and possibly broken?

    If I don't define a Control Scheme, shouldn't it show any possible inputs from my Supported Devices instead of literally nothing?
     
  2. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    This looks like a bug. Would you mind filing a ticket with the Unity bug reporter?

    I'm not sure why the control picker ends up filtering out everything. Without any device requirements from control schemes taking effect, it should filter things down to the selected "Supported Devices".

    The only *valid* scenario I can come up with is if the action type is set to a type of control that none of the "Supported Devices" have. E.g. it's set to "Value" and type "Touch". In that case, with the given "Supported Devices" list, I would indeed expect no devices to show up in the control picker.
     
  3. Fenrisul

    Fenrisul

    Joined:
    Jan 2, 2010
    Posts:
    617
    Case 1241003
     
    Rene-Damm likes this.
  4. Fenrisul

    Fenrisul

    Joined:
    Jan 2, 2010
    Posts:
    617
    Case closed because I didn't provide an example project. FYI @Rene-Damm
     
  5. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Thanks for letting me know. Reactivated it and will have a look.
     
  6. OlivaDevelop

    OlivaDevelop

    Joined:
    Mar 26, 2017
    Posts:
    3
    The same thing happens to me
    upload_2021-11-16_17-4-24.png