Search Issue Tracker
Fixed in 1.0.0-preview.2
Votes
0
Found in [Package]
1.0.0
Issue ID
1193287
Regression
No
[New Input] "Cannot read value of type 'Vector2' " error thrown when using a simple Tap actction and UI Event System
This error keeps spamming the console when using a simple Tap/Touchscreen control and the UI Event System:
InvalidOperationException: Cannot read value of type 'Vector2' from control '/Touchscreen/primaryTouch/tap' bound to action 'New action map/Point[/Touchscreen/primaryTouch/tap]' (control is a 'ButtonControl' with value type 'float')
My use case: I want a Tap Control for pressing buttons.
To repro:
- download this project
- Open the sample scene
- press play
- try to press the button
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 JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Add comment