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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
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.