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

Package: Input 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.