Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
11
Found in
2021.2.0b1
2022.1
Issue ID
1349226
Regression
Yes
[WebGL] Touch events do not work when in built Player
1. Open a project that uses UI buttons, e.g., https://github.cds.internal.unity3d.com/unity/webgl-openurl-test
2. Build project for WebGL
3. Open build on a device that supports touch inputs, e.g., on a phone or use Chrome Developer Tools with device toolbar
4. Click on any UI button
Expected: The UI button is clicked and the connected event handler is triggered.
Actual: The UI button is not clicked and no event handlers are triggered.
Reproducible with: 2021.2.0b1, 2021.2.0b4, 2022.1.0a2
Not reproducible with: 2019.4.29f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0a21
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] The mouse wheel input is inverted when scrolling in the Build
- TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
dock
Jul 01, 2022 14:09
WebGL Touch is not working in 2021.3.5f1. I tried the WebGL build on various browsers on Windows 10 and iPad.