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
- UI Text color is incorrect when text is rendered on SubMeshUI
- "Invalid SortingGroup index set in Renderer" errors when making many modifications in same frame
- Crash on GizmoBufferSizeHistory::GetBuffer() when opening a specific scene
- RenderTexture is not initialized when it is set as Material's Texture
- Branch node outputs a random value instead of a constant on the false conditon
Add comment