Search Unity

New Input system gamepad not working in web gl

Discussion in 'Input System' started by Pixitales, Aug 30, 2021.

  1. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    227
    I have a xbox controller and its not working at all in webgl, but the keyboard and mouse works fine. Game controller works fine too in window platform build. I have my player setting set to both using new and old input system. I even have my Web gl gamepad standard mapping setup. Using latest LTS version of unity. Tested on firefox and google chrome. I have a warning that said I need permission to use gamepad. Anyone know how to fix?
     
    Last edited: Aug 30, 2021
  2. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    227
    Still having problems even with the latest version and even unity controller starter kit asset
     
  3. rossiegulgowski

    rossiegulgowski

    Joined:
    Dec 21, 2021
    Posts:
    2
    Test your gamepad on this site https://gamepadtest.com/ while using the recent most chrome version and check if detects your gamepad at first, if it doesn't detect your controller you can also try pressing the buttons to trigger the event by forcing it to work. if it works fine and maps all key functionalities there might be a support issue for your Xbox controller.
    May be you should consider using other controller to check if it works for you.
     
  4. babbel-ford

    babbel-ford

    Joined:
    Nov 24, 2017
    Posts:
    9
    upvote, seeing same problem in a build I just made