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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Add comment