For a webGL build, I am unable to click on any UI elements. I am able to in the editor & Mac builds. In the webGL build, there are no errors so I think this may be a bug. I have also tried in Firefox which lead to the same issue. I’ve tried searching for answers and were unable to find any that solves my problem. Here are some screenshots of what I have set up.
Unity version: 2019.4.0f1
Using the old input system
Here I have the debug output for the event system object. When I hover over any UI elements, the “current raycast” should be set to that element, but it is not the case for WebGL. I do see the “position” vectors being updated though.
Here is what it shows in the editor which is correct.
Here is the Canvas:
Here is the Event System
Thank you for the help.