Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

XBox One Controller not detected (Still works with old input)

Discussion in 'Input System' started by MateusWinwin, Nov 2, 2019.

  1. MateusWinwin

    MateusWinwin

    Joined:
    Aug 12, 2019
    Posts:
    4
    I connected an XBox One Controller to my computer via USB, and it works fine for all applications, including Unity's old input system. But it doesn't show up in the Debugger and nothing happens when I try to control my player object with it. The same player object works fine when using a mouse or keyboard.
    upload_2019-11-2_12-2-11.png

    PlayerInput is set to use Gamepad and not Auto-Switch, but it still picks up the mouse rather than the gamepad
    upload_2019-11-2_12-3-23.png
     
  2. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Which platform?

    Please file a bug with the Unity bug reporter. We'll have a look.
     
  3. MateusWinwin

    MateusWinwin

    Joined:
    Aug 12, 2019
    Posts:
    4
    Windows 10, with Unity 2019.2.8f1
    Just submitted the bug report: Case 1196047
     
    Rene-Damm likes this.
  4. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,070
    I took a look and your project works with our xbox one controller using latest package and unity.

    What is the exact model of your controller? Should be listed on the label in the battery compartment.
     
  5. MateusWinwin

    MateusWinwin

    Joined:
    Aug 12, 2019
    Posts:
    4
    Model 1708
     
  6. TheLastHylian

    TheLastHylian

    Joined:
    Jan 10, 2013
    Posts:
    12
    same issue model 1697
     
  7. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,070
    ok, seems we need to find one of these. We have a 1537 here. Off to the shops!
     
  8. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,070
    Me and another colleague tried this again with two different 1708s but sadly couldn't repro the issue you guys are seeing :(

    If you can add any additional to the case please reply to the emails you've got. Sorry to not have better news.
     
  9. MateusWinwin

    MateusWinwin

    Joined:
    Aug 12, 2019
    Posts:
    4
    I replied via email to the issue I posted, but at least in my case, I found out that the issue was on my PC. The controller was also buggy when plugged in via USB with some games I play.
    Here's how I fixed it:

    I went into Devices and Printers:
    upload_2019-11-18_9-16-23.png

    I right-clicked the Controller item and selected "Remove Device":
    upload_2019-11-18_9-16-52.png

    Then I followed the prompts, unplugged the controller and restarted the PC for good measure.
    When I plugged it in again, it worked as expected with both Unity (old and new input systems) and the games I play.
     
  10. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,070
    Glad to hear that you were able to fix the issue on your end!
     
  11. Karsten

    Karsten

    Joined:
    Apr 8, 2012
    Posts:
    187
    I have the same Problem with the newest Windows 10 function updates , The Xbox Controller is shown as just "Controller" with a shody PC tower Graphic in the Device Panel and does not work even if you uninstall /install ect , if you use a PS4 Controller it works instantly and has
    a fancy controller icon in the panel.
    Playstation rulez :D
    Really poor from Microsoft to not properly detect their own controller on thier own OS ...
     
  12. vipotaenko02

    vipotaenko02

    Joined:
    Jun 21, 2022
    Posts:
    1
    Sorry for offtop, but have you fixed somehow this issue? I'm also having Xbox One S Controller which cannot be recognized as controller and instead just other device. So the system didn't even use it, it's like dead.