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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Add comment