Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

WebGL Support Status

Discussion in 'Input System' started by Atomsk, Oct 18, 2018.

  1. Atomsk

    Atomsk

    Joined:
    Nov 16, 2012
    Posts:
    2
    Does the new input system currently support WebGL at all? I can't seem to get even simple mouse button binds to work.

    Sorry if this is already documented somewhere I couldn't find a solid answer anywhere!

    Thanks
     
    Seth-Robinson likes this.
  2. Seth-Robinson

    Seth-Robinson

    Joined:
    Aug 24, 2013
    Posts:
    8
    I'm another person wondering about the status of the webgl input support. I tried:
    Debug.Log("Found " + UnityEngine.Experimental.Input.Gamepad.all.Count  + " gamepads");

    in a webgl build for a test, but it doesn't seem to detect gamepads at least. (webgl gamepads do work in the old input code)
     
  3. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Mouse and keyboard for WebGL has landed and will be in 2019.1. Unfortunately, we missed the window for getting it backported into 2018.3.

    We're currently pushing for gamepad support for WebGL to land as well and hope to have a full-featured WebGL backend by the time 2019.1 hits beta.