Search Unity

Problem with using controller on android with new input system

Discussion in 'Input System' started by Hussien9, Oct 14, 2021.

  1. Hussien9

    Hussien9

    Joined:
    Feb 5, 2021
    Posts:
    2
    So I started development on a new game for android which has controller support and I decided to give the new input system a test. The controls work perfectly fine on unity editor with ds4 connected through USB but it doesn't work when I build for android. Is this a problem with my code or is controller for android not supported yet ?
     
  2. OscarLeif

    OscarLeif

    Joined:
    Jul 17, 2016
    Posts:
    69
    Well this need more details. Did you check the Input Manager ?
     
  3. Hussien9

    Hussien9

    Joined:
    Feb 5, 2021
    Posts:
    2
    I figured it out. Turns out the problem is with android 11 itself and not the unity I tried on other phones and it worked. Thank you for your help.
     
  4. OscarLeif

    OscarLeif

    Joined:
    Jul 17, 2016
    Posts:
    69
    I think you should report the issue. Are you using the latest version (1.1.1) ?
    I found that Package manager doesn't show the latest Input system you manually need to update by change this in the "manifest.json"
    Code (CSharp):
    1. "com.unity.inputsystem": "1.1.1",