Search Issue Tracker
Fixed in 0.9.0-preview
Votes
0
Found in [Package]
0.0.9-preview
Issue ID
1091903
Regression
No
[Windows][Touch] A new touchId isn't assigned to stylus input after the "Ended" state.
Migrated bug from GitHub: https://github.com/Unity-Technologies/InputSystem/issues/170
Original Title: A new touchId isn't assigned after the "Ended" state if between taps the distance between the screen and the pen is very little
Device: Microsoft Surface Pro (Model: 1796) + Microsoft Surface Pen (Model: 1776)
There's this special behaviour with surface pro, where it detects input even if the stylus is not touching the screen directly (dot shaped cursor)
When you stop touching (with the distance between the screen and pen being up to 1cm or so) it switches to "Ended". BUT, when you touch again, it gets the same ID, unless you make the aforementioned distance larger (and the dot shaped cursor disappears) then touch again.
I'm not sure if it's intended
Rene-Damm commented on Jul 18
ATM we don't really have stylus support/handling in the Windows touch input code path. So, not surprised that we're getting into issues when the "touches" are actually coming from the pen. Anyway, ultimately the code should handle that reliably so the reuse of IDs here is likely to be an issue we want fixed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment