Unity WebGL seams to have a lot of issues with Touch Input. First of all, when I test it in the editor with an android device as a remote device, Input.touchsupported always returns false and I cannot really test it. After that, if I use a code which includes touch, if I place an Input.touchsupported check, it runs fine on the editor using the other inputs - mouse and keyboard. When I run it in a browser though, no input works.
Anything I’m missing with WebGL and TouchInputs?
if (Input.touchsupported && Input.GetTouch(0).phase == TouchPhase.Begin) {
}
The above code works in Editor ( It doesn’t work with touch but it doesn’t break the other inputs too), but it doesn’t work in the build - it breaks all input.
Are these common WebGL issues, or am I doing something wrong? The way it behaves now, it’s impossible to use touch input for webgl with Unity. Has anyone managed to make use of it?
I cant use it on 2019.3.13 either, so sad