I have a project for a client which specifies for a WebGL build to be supplied, but the game breaks as the build does not seem to support the detection of any mouse presses using the Input class, although it does recognise mouse clicks on UI Canvas elements.
I have tried unchecking the ‘strip engine code’ option in the player settings but that has made no difference.
I am at a loss to know how to debug WebGL but I’m interested to know if anybody could suggest a solution or workaround. I am on Unity 5.5.1p3 on Mac. Thank you.