Search Issue Tracker

Fixed

Fixed in 1.7.8

Votes

0

Found in [Package]

1.7.7

Issue ID

UVSB-2285

Regression

Yes

NewInput system node break VS in 1.7.7 if the input system package is older than 1.2.0

Package: Visual Scripting

-

When getting VS 1.7.7, even if you have your project settings set to use the old input system, the project will throw errors in playmode, when the input system package is older than 1.2.0.

*Steps to Reproduce:*
# Open a project with VS 1.7.6 in it.
# Add the new input system package with an older version than 1.2.0.(You may need to do it in the manifest.
# Add a new input system node in a graph
# Go in play mode. Everything should be fine
# Update to VS 1.7.7
# Go in play mode.
# It should now send those errors.

{code:java}
Library\PackageCache\com.unity.visualscripting@1.7.7\Runtime\VisualScripting.Flow\Framework\Events\Input\InputSystem\OnInputSystemEvent.cs(127,46): error CS1061: 'InputAction' does not contain a definition for 'WasPressedThisFrame' and no accessible extension method 'WasPressedThisFrame' accepting a first argument of type 'InputAction' could be found (are you missing a using directive or an assembly reference?) {code}

*Expected Results:*
* If the player settings are set to use old input system, user should get no errors even if the new input system package with inferior version in installed in the project.
* If using the new input system with the input system package older than 1.2.0, the previously working code should still work and no errors should be thrown.

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.