Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
4.3.3f1
Issue ID
585683
Regression
Yes
Input.GetJoystickNames() contains disconnected controllers
This is a regression from Unity 4.2.2f1. When the controller is disconnected while the application is running, Input.GetJoystickNames() still returns the name of that controller as if it was still connected.
Reproduced on:
Google Nexus 5 with Android 4.4.2
with a wired Sony PlayStation 3 controller
Reproduced with:
Unity Version 4.3.3f1 (c8ca9b6b9936)
Fix:
If a joystick is disconnected it will now show up as an empty string in the GetJoystickNames() array.
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Tset_Tsyung
Jun 08, 2018 09:51
This issue isn't resolved. Still happening to me on Unity 2014.3.1f1.
Vercin
Mar 24, 2014 14:27
Is should be fixed in 4.3.4f1 ? Im using Unity 4.3.4f1 and when testing on nexus 4 + gamestick controller after disconnect it still returns "Boradcom Bluetooth HID" and not empty string