- Home /
WebGL Fast Left Mouse Click issues (Sometimes they are not recognized in Chrome)
I am having a Problem with my webGL export from Unity, you can reproduce it if you click quite quickly in my game in "Chrome" (while moving the mouse around, seems to only happen in chrome):
https://loktor.itch.io/the-last-light
Sometimes it happens that the mouse down event isn't registered (the cursor switch then sometimes to the text selection cursor or the not allowed cursor), any ideas how to fix this issue to allow for a quick succession of clicks in chrome?
I am using the https://docs.unity3d.com/ScriptReference/Input.GetMouseButtonDown.html during the Update method:
if (Input.GetMouseButtonDown(0))
I would be really happy if someone could help me out here :)
$$anonymous$$aybe this is your problem: https://forum.unity.com/threads/web-gl-mouse-input-glitch-on-chrome.468362/