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

PlayerInputManager unable to join multiple controllers when using JoinAction

Discussion in 'Input System' started by David_CGA, Jul 14, 2020.

  1. David_CGA

    David_CGA

    Joined:
    Apr 27, 2018
    Posts:
    7
    I have a very small scene set up to try and create a screen where players can join with there controllers (Press A to join) using the Unity Input system.
    I am having an issue with using the JoinAction as a reference from my InputActionReference asset
    I have two Controller schemes set up one for Consoles using a basic gamepad and another for mouse and keyboard and I have the JoinPlayer action set up on both schemes.

    I have an issue of pressing the Start button to join on controller 1 works but pressing the Start button on the second controller doesn't add a second player to the game
    I have also done a combo of controller and mouse and keyboard but trying to join the second player doesn't work when using a JoinAction reference

    If I create the action on the PlayerInputManager it works but using a reference from the InputAction asset doesn't work

    This would be a handy feature to have working if it is available
     
  2. zackblack

    zackblack

    Joined:
    May 17, 2015
    Posts:
    73
    I just encountered this bug as well using two Playstation 4 controllers. It works if using a control tag like "Start" or "Button West" but not when using a reference from the actions. Submitted a bug report.