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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment