Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
0.0.9-preview
Issue ID
1091533
Regression
No
[Editor][Touch] TouchControl.pressure is not initialized
Migrated bug from GitHub: https://github.com/Unity-Technologies/InputSystem/issues/141
Try to do Touchscreen.current.touches[0].pressure.ReadObject() in Editor, run it on touch screen monitor, the returned pressure will be not initialized value, it should be either 1.0 (if pressure is not supported) or should vary beween [0..max value]
Rene-Damm commented on Jun 15
There shouldn't be any uninitialized memory (state memory is MemCleared immediately after allocation) so I'm wondering whether we're actually receiving some garbage data here.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
Add comment