Search Unity

Unity 5.6 issue with bluetooth controllers on Android and iOS (MFI)

Discussion in 'Scripting' started by Banky, May 26, 2017.

  1. Banky

    Banky

    Joined:
    Sep 10, 2014
    Posts:
    24
    Hi all,

    I have an issue with bluetooth controllers both in iOS and Android. Input.GetJoystickNames ().Length is always returning 0 when running on the device (iOS and Android). For iOS I am using a MFI controller and I have added GameController framework, but still no luck. For Android, I am using a regular bluetooth controller (8bitdo)

    In the editor (I'm working on a Mac), it is working perfectly and Input.GetJoystickNames ().Length is returning 1 for the same bluetooth controller (8bitdo) I'm using with Android. Of course, the controller is working perfectly fine in Android for other games and is being detected by the phone without a problem.

    Any idea on what can be happening here? Is it a bug on 5.6 or maybe I am missing something?

    Thanks!