Touch controls and Webgl export

Hello all, I am testing out the webgl exporter and we are looking at using touch controls but it seems like it’s not working. I’ve tried them in chrome and firefox and so don;t believe it’s browser related. Any and all help on this would be awesome. I searched and searched for unity webgl touch examples or anything talking about it but came up empty handed.

Cheers,
Jason

Do you have some code I can take a look at? If anything I am sure its a small issue if you have it working in editor.

int fingerCount = 0;
                foreach (Touch touch in Input.touches) {
                    if (touch.phase != TouchPhase.Ended && touch.phase != TouchPhase.Canceled)
                        fingerCount++;
                   
                }
                if(fingerCount ==3)
                {
                   
                    StartCoroutine(SetStateNumber(2));
                }
                else if(fingerCount ==2)
                {
                   
                    StartCoroutine(SetStateNumber(1));
                }
                else if (fingerCount ==1)
                {
                       
                    StartCoroutine(SetStateNumber(0));
                }

quite simple, this is running in the update function. I was trying to use touch kit but that was not working.

Any and all help would be awesome as always.

Jason