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.

Wireless controllers no longer detected by Input.GetJoystickNames()

Discussion in 'Input System' started by M_J_James, Feb 14, 2022.

  1. M_J_James

    M_J_James

    Joined:
    Jan 24, 2018
    Posts:
    10
    Hi,

    Since migrating to Unity 2020.3.25 LTS from 2020.3.9, a wireless Xbox controller no longer shows up in Input.GetJoystickNames(). The editor never recognized it anyway, but I used to be able to rely on it showing up in a published Windows build. Is there any logical reason why this would now happen? I don't know whether to revert back to 2020.3.9 or double down on 2020.3.28?
     
  2. M_J_James

    M_J_James

    Joined:
    Jan 24, 2018
    Posts:
    10
    Sorry, my mistake. My own code was disregarding controllers with no name ("").