Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
12
Question by maxnorth · Mar 10, 2015 at 09:44 PM · inputmacxboxcontroller

Xbox Wireless Controller On Mac Not Working In Unity 5 Editor

Ever since I downloaded Unity 5 my wireless xbox game pad has stopped working in Unity. I use it pretty heavily and I'm worried that it is not supported any longer. I know that the computer is receiving the input. There is a profiler for the controller in Mac system preferences that reacts when I use any button or axis, but if I try using "Input.anyKey" in unity, the only thing it reacts to is the keyboard. I am also not having any trouble with my mouse input axes.

I mainly want to know if this problem is unique to me, or if any/every one else with this set up is having the same problem. I haven't turned up anyone else discussing it by searching. Any suggestions for fixing it are welcome, of course.

UPDATE: Clearly this bug is consistent with at least a few people. I have opened a case for it in the bug reporter but it has not yet gotten a public page where people can go to up-vote and comment on it, so it may help the process along if we collect info about it here in the mean time. If you are working with the same hardware and have/haven't had this same experience, please comment about it to help shape the scope of how consistent this bug is. Or if you use a different controller or are on a different platform, but have these same problems, it couldn't hurt to mention it.

BUG BEHAVIOUR-

  • Mac controller will work when the controller is connected and active during Unity Editor startup (one report of this not even working with wired controller).

  • If the controller is activated or reactivated while the editor is open, it will have no functionality.

  • Any use of the controller outside the editor, such as in a standalone build, works as normal.

I have also found that the editor is not the only affected platform. While testing a web player version made using cloud build the same behavior listed above occurred. I have not yet tested a web player version outside of cloud build. I'm going to keep a list of platforms below to help keep track of this bug.

AFFECTED PLATFORMS:

  • Unity 5 Editor (still active as of 5.1)

  • Unity 5 Web Player (tested with Cloud Build version)

Comment
Add comment · Show 12
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Owyoow3 · Mar 10, 2015 at 11:07 PM 0
Share

I'm having the same issue with my xbox controller on mac. It doesn't work in the editor anymore after upgrading to unity 5, but if I build my project for mac it works in the build.

avatar image maxnorth · Mar 11, 2015 at 02:50 AM 0
Share

Hmm, well good to know it's not just me. I had no problem reading input in a $$anonymous$$ac build either. I've submitted a bug report for the issue and I'll add a link to it as an answer once it goes up on the site. I'm hoping people will upvote it and get it some attention, so we can get it fixed quickly.

avatar image H4nsi_Kursch · Mar 18, 2015 at 12:53 PM 0
Share

Any progress on this? I'm having about the same issue. Only in my case the controller works on the editor if I open Unity with the controller already on. If the controller goes off while on the editor and I turn it on again, it won't work.

avatar image maxnorth · Mar 18, 2015 at 04:03 PM 0
Share

Good catch! I replicated this myself, so at least this bug is consistent. I opened a case about this through the Unity Editor, but the bug has not yet gotten a public page. I updated the first post in the hopes of shaping this page into a site to log information on the problem, so if you've noticed anything else about this bug please post it.

avatar image maxnorth · Mar 21, 2015 at 09:55 PM 0
Share

Posted an update with another affected platform.

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by Akta · Jun 19, 2015 at 02:59 PM

I think we actually found what it is, at least for us. The Cintiq we have plugged to our iMac seems to screw up the connection with the XBox controller. Maybe they conflict with each other, so here it is our workaround:

  • Turn off the Cintiq

  • Close Unity

  • Plug your XBox controller

  • Try to play, should work now

  • You can now safely turn back on your Cintiq

This should be applicable to anything that interferes with the Mac input system. Hope this helped! :)

Comment
Add comment · Show 7 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image maxnorth · Jun 19, 2015 at 03:12 PM 0
Share

Once you have done this, can you unplug the controller, plug it back in, and continue to use it?

avatar image Akta · Jun 19, 2015 at 03:24 PM 0
Share

No, that bug still persists, but at least I can use the controller somehow in the Unity editor. Haven't had a chance to try it out on a standalone or a web build.

avatar image Lovecraft-Petrichor · Jun 19, 2015 at 10:08 PM 0
Share

Wow, I am also using a cintiq on my i$$anonymous$$ac. I'm going to give this a try -- I didn't even think that this might be the issue -- Thanks!

avatar image Lovecraft-Petrichor · Jun 19, 2015 at 11:32 PM 0
Share

Akta your workaround did the trick for me! Thanks, I can move development back to my preferred platform. Strange that the Cintq and Xbox controller should do that weirdness in Unity. I don't $$anonymous$$d bugs when there is an easy workaround. Thanks again!

avatar image jaketa · Jun 28, 2015 at 11:22 AM 0
Share

So, something similar was happening to me and doing the same worked.

Normally I use a wireless Logitech mouse (Anywhere $$anonymous$$X, with the small USB dongle). Unity won't recognise the Xbox 360 controller while using this mouse, but unplugging it and starting Unity again with another mouse on (bluetooth Apple $$anonymous$$ighty $$anonymous$$ouse) did the trick. No problem now using the controller, wired or wireless.

I'm on OS X 10.9.5, Unity 5.0.1f1, using tattiebogle 0.11 drivers.

EDIT: Doing a little bit of testing, seems like once I have started Unity without the interfering mouse, I can then plug it in again and everything will still work fine.

It also looks like I need to start Unity without the USB dongle plugged in, not only with the mouse turned off. If I've been using the mouse and I turn it off and keep it plugged in, Unity sometimes still won't recognise the controller.

Show more comments
avatar image
3

Answer by kevin_saltarelli · May 12, 2015 at 09:20 AM

I've only had this issue on my Mac if I turn on the Xbox controller while Unity is already open. If my controller is already on before opening Unity then it works perfectly.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Lovecraft-Petrichor · Jun 13, 2015 at 05:54 AM 0
Share

I can't get any joystick to work with Unity 5 in editor OR standalone. (Running 5.0.2f on Yosemite) $$anonymous$$y other mac applications see them fine (wired and bluetooth) -- nada in Unity. I shouldn't have to purchase Rewired to get something that should just work in a game engine working. I mean come on, it's a GA$$anonymous$$E editor, one would think a GA$$anonymous$$E controller might work there.

avatar image Thorny2000 · Jan 02, 2016 at 11:58 PM 0
Share

Xbox One controller connected on $$anonymous$$ac via USB. Reloading Unity after connecting fixed my issue. Thanks $$anonymous$$evin.

For anyone else looking to connect an Xbox One controller to your $$anonymous$$ac here is a good free driver (I'm on El Capitan, latest Xbox One controller version): https://github.com/360Controller/360Controller/releases

avatar image
0

Answer by HakJak · Apr 09, 2015 at 04:28 AM

I highly recommend purchasing Rewired from the asset store and using that for all of your controller inputs instead. It works extremely well, supports a huge variety of controllers, and is easily customized. I bought it a couple of months ago and couldn't imagine doing controllers any other way now. Well worth the $40!

Go here to check it out

EDIT: I actually bought InControl first, got it to work, but was very unhappy with it. Rewired is farrrrr better.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image timmydude · Apr 09, 2015 at 02:21 PM 0
Share

Thanks for your advice! I have tried a similar plugin; InControl. This didn't work, so I am not sure if Rewired will do the trick.

avatar image afleuryhibernum · May 11, 2015 at 03:20 PM 0
Share

PS4 controller on $$anonymous$$ac OS Yosemite works in the Unity editor when using Rewired (tested using Unity 5.1.0b5).

avatar image ElectricMonk · May 17, 2016 at 09:55 PM 0
Share

I haven't tried ReWired but I do like InControl. This bug is outside of their realm and is as mentioned above, tied to the wacom tablet being plugged in. Thanks for the answer!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Xbox One/360 Controller trigger input drops out Mac OSX 0 Answers

Trouble with the xbox controller on Mac 0 Answers

Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers

In-app purchase "Invalid product" on Mac Store build 0 Answers

How do you properly deal with analog joystick input on multiple controller inputs? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges