Search Issue Tracker
Fixed in 0.9.X
Votes
0
Found in [Package]
0.2.0-preview
Issue ID
1135980
Regression
No
[UI] The Binding option "touch [Touchscreen]" does not work.
From GitHub: https://github.com/Unity-Technologies/InputSystem/issues/332
When using UI, the "touch [Touchscreen]" binding option does not bind the Action to any input.
When examining the actual binding path, it is "<Touchscreen>/touch". However, there is no Control in Touchscreen device is named touch, and probably the reason it doesn't work.
The workaround is to manually put in "<Touchscreen>/<touch>", and bind the Action to all touch input detected.
Repro:
1. Download package and project from: https://github.com/Unity-Technologies/InputSystem
2. Go to Assets -> Demo -> SimpleDemo
3. Open SimpleControls Input Action UI
4. Select "fire" in the middle section, then change Type in the right section to "Any" and check "Pass Through"
5. Change the Binding "PrimaryAction" to "touch [Touchscreen]", and remove all the Interactions
6. Save Input UI and close
7. Run it on a device with touch support and observe the scene.
Workaround:
8. Select the touch binding just added
9. In the right section, click "T" button next to the Type drop down menu.
10. The drop down menu turns into a text field, put in "<Touchscreen>/<touch>" instead.
11. Try to run it again
Actual: "touch [Touchscreen]" option in the UI doesn't bind to any input.
Note: Rene said in the spread sheet he has a fix but needs to be implemented. Not sure if it is in place, but the bug still happens.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment