[SOLVED] New Input System: Input Actions Asset not registering any input

None of the devices work(Dualshock 4 and keyboard).

I tried to reinstall the package and restart the editor, nothing happens.

Action & bindings
6960722--819809--upload_2021-3-22_10-46-53.png

Properties
6960722--819806--upload_2021-3-22_10-46-25.png

Input System version
6960722--819821--upload_2021-3-22_10-47-45.png

Unity version: 2020.3.0f1 (LTS)

Code

//using input actions interface

void OnMove(InputActions.CallbackContext context){
     dir = context.ReadValue<Vector2>();
     Debug.Log(dir);
}

Console(Play Mode)

6960722--819803--upload_2021-3-22_10-45-37.png

i forgot to make an instance of my input class and set callbacks

1 Like