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

Question Unity won't detect more than 4 controllers for local multiplayer using new input system.

Discussion in 'Input System' started by theisaaccarpenter, Jul 18, 2023.

  1. theisaaccarpenter

    theisaaccarpenter

    Joined:
    Feb 19, 2014
    Posts:
    3
    I've been developing an 8 player local multiplayer game and the game is working fine with 1-4 players. The Player Input Manager has no limit on the amount of players that can join, and I tested my game on a setup that has worked with 8 players before on games developed by other people without an issue. Is this an issue with Unity and is there anyway around it?
     
  2. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,067
    What Unity and OS version do you use? On older Windows versions we are using the XInput backend which has a limit of 4 controllers. in 2022.3 we switched to Windows' new Windows.Gaming.Input backend which should work with more gamepads at the same time.
     
    tabulatouch likes this.
  3. theisaaccarpenter

    theisaaccarpenter

    Joined:
    Feb 19, 2014
    Posts:
    3
    Thank you for the reply! I'll update my unity version, I was on 2022.1.
     
  4. tabulatouch

    tabulatouch

    Joined:
    Mar 12, 2015
    Posts:
    21
    Hello @Schubkraft , can you confirm which is the limit of XInput gamepads?
    I read from the Windows.Gaming.Input documentation that it could be 8 but maybe that depends on Unity internals setup.
    Thank you ,that's quite important for local multiplayer party games.