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.

[Bug] Multiple Wireless XBox 360 Controllers

Discussion in 'Input System' started by Alex_Galbraith, Jan 20, 2017.

  1. Alex_Galbraith


    Nov 14, 2016
    In both the demo file, and the game I am currently working on, multiple wireless controllers throw the error:

    NullReferenceException: Object reference not set to an instance of an object
    UnityEngine.InputNew.PlayerHandle.ProcessEvent (UnityEngine.InputNew.InputEvent inputEvent) (at Assets/input-prototype/Input/PlayerHandle.cs:127)

    When starting the game, two of the four controllers will work (out of 3 wireless and one wired). The keyboard and mouse has no effect. If a controller has been assigned to a PlayerHandle, the non working controllers will start throwing the above error. Before the first controller is assigned, the non working controllers will do nothing at all.

    It appears that the last two controllers that were connected prior to the editor starting up are the two that work.
    Last edited: Jan 20, 2017