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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

XBox 360 controller isn't detected by Unity editor

Discussion in 'Editor & General Support' started by davidcole, Apr 4, 2015.

  1. davidcole

    davidcole

    Joined:
    May 23, 2013
    Posts:
    9
    I hope someone can help with my problem. Unity editor simply doesn't seem to detect my Xbox 360 controller. I have tried solutions suggested in other posts here, but nothing seems to help.

    I'm running Unity 5.0.0f4 on Mac OS X 10.10.2, with the official XBOX 360 controller and the latest Tattie Bogle driver 0.14, which supports Yosemite.

    When I try to log the available joysticks using

    Code (JavaScript):
    1.     Debug.Log(Input.GetJoystickNames().length);
    2.  
    3.     // outputs "0"
    It always outputs "0" to the console, indicating it doesn't think any controllers are plugged in. There have been other posts regarding issues with the Xbox 360 controller on Mac, but solutions in those posts didn't seem to help. I've tried unplugging and replugging in the controller while Unity editor is running, I've tried closing and restarting Unity editor while the controller is plugged in, I've tried restarting my Mac without touching the controller and I even upgraded to Yosemite and the latest Tattie Bogle driver, but the result is always the same: the Tattie Bogle driver picks up the controller perfectly, but Unity seems to know nothing about it. I have had no issues playing commercial games (such as Portal 2) with the controller.

    A lot of others seem to have the controller working on Mac, so I must be going wrong somewhere, but where?

    Any assistance would be greatly appreciated.
     
  2. davidcole

    davidcole

    Joined:
    May 23, 2013
    Posts:
    9