- Home /
Issues after updating to Unity 5
Hello,
I've just updated my current 2d project to Unity 5 and I'm having some issues (I'm working on a mac):
The gamepad (XBox 360 Controller) is not working properly. It only works if I start Unity with the gamepad already on. If the gamepad turns off while Unity is open it stops working. I have to restart Unity to make it work.
The colliders on pretty much all of my prefabs are messed up. I will have to redefine them all. Has something changed on that regard on Unity 5?
I have a weird FPS behaviour. The game that before was running smoothly is now having a lot of FPS variation. The FPS values are weird as well. It goes from 120 up to 780. It's really inconsistent.
Is anybody having the same issues? Any clues on how can I fix them?
Thank you!
I'm having exactly the same problems. I can just say that the controller doesn't work at all inside the editor, but if you make a build the left stick works correctly (and sadly not all the buttons).
Anyway I'm also having issues with the FPS. It was working much better before the upgrade.
i used to have a problem with my fps, and also with the program, when import a character the programa get lagged, but seems to be a problem with layouts, i restored to the default settings and lag goes
Same issue, I can't understand how this hasn't gotten more attention / been fixed. Surely its happening to everyone, right?
Yes unity 5 seems to be having some issues with external controllers. I am not even using any and I am getting alot of random errors. Fortunately, they do not affect my project. Bug reports have probably been submitted already but you can try submitting another to put some pressure on the devs. As for your FPS problem...I think this is related to something else. FPS will fluctuate depending on your hardware and the current load on your GPU. Used to happen to me even in 4.6. Try disabling DirectX 11 too...I have no explanation as to why but it causes a lot of problems in my projects.
I'm having the same problems since 5.0. I'm at 5.1.1f1 now and still no Xbox controller. 4.6 is the last version I have it working with.
Answer by ElectricMonk · Jun 20, 2015 at 01:57 AM
I think I found at least a partial solution. I've been having the same problem since 5.0 (now 5.1.1f1) where unity won't detect my wired Xbox controller on mac. I found that if my Wacom tablet is plugged in while unity starts up it seems to block the controller from being detected. The only thing I've found to work is unplug the Wacom, restart Unity (with the xbox controller already plugged in!) then I can plug the wacom back in like normal. Hope this helps someone else whos having issues! Try unplugging USB peripherals and restarting unity with the controllers plugged in. Best of luck!
As an additional note, once its working, unplugging the xbox controller and plugging it back it doesn't remove the profile ( it still comes up in Input.GetJoystickNames() ) but it seems to be dead to actual input.
Your answer
Follow this Question
Related Questions
How do you change gravity with a press of a button? Unity 2D 2 Answers
2D Game has very bad lag because of one script? 0 Answers
Is it correct to animate the player spritesheet and external gameobjects in the same animation? 0 Answers
After resuming the game - wrong position of player 1 Answer
convert unity versions, 0 Answers