Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2021.2.X
Fixed in 2021.2.X, 2022.1.X
Votes
0
Found in
2021.2.0b1
2021.2.11f1
2022.1
2022.2
Issue ID
1405517
Regression
Yes
WebGL Input System interactions are delayed or played preemptively when the project is built
How to reproduce:
1. Open the user attached "HoldInteractionBug.zip" project
2. Build the project in WebGL (File -> Build Settings -> Build and Run)
3. Open the browsers console (Right Click -> Inspect -> Console)
4. Press and or Hold the Left Mouse Button in the Game Screen of the Browser
Expected result: Mouse Button inputs are correctly called
Actual result: Only "Hold Performed" and "Hold Cancelled" is called and together
Reproducible with: 2021.2.0b1, 2021.2.16f1, 2022.1.0b12, 2022.2.0a7
Not reproducible with: 2019.4.36f1, 2020.3.31f1, 2021.2.0a17, 2022.2.0a8
Note:
- Not an Input System package issue but WebGL due to 1.3.0 working differently on 2019.4 and 2021.2
- Hold Performed and Hold Cancelled are called together at the same time, but Hold Cancelled should be called after
- Starting from 2021.2.0a18 project either becomes unbuildable or the localhost does not work
- To be able to build using the versions from 2021.2.0a18 a Third Party Software was used "Web Server for Chrome"
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
- Crash on __pthread_kill when initializing Vuplex WebView while entering the Play Mode
- Crash on FindSurface when adding a custom Renderer Feature to a 2D Renderer Data Asset
- [Android] [Vulkan] [UI Toolkit] Application crashes when the device is rotated when it has UI Toolkit TextField on Vulkan devices
- Crash on DualThreadAllocator<DynamicHeapAllocator>::TryDeallocate when opening a specific project
- Crash on memset_repstos when pressing a UI button while in Play Mode
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a8
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b13
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.17f1