Input system stop working after unity upgrade to v6000.2.7f2

I had to upgrade unity because of the security issue and wanted to use the 6000.2.7f2 version, but when I load my game in editor the input action seem to stop to work.

I’m not sure why but the only thing that works is my
public void OnJump(InputAction.CallbackContext context) Like my character jump in place and thats all.

I downgrade the unity version it works I upgrade unity it stops working
Tried version 1.14 and 1.15 of the input system package.

I saw somebody post this but it didnt work for me.

using UnityEngine;
using UnityEngine.InputSystem;

// Fix issue where input actions are not registered when domain reload is disabled
public static class EnableProjectWideInputActions
{
    [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
    public static void OnSubsystemRegistration()
    {
        InputSystem.actions.Enable();
    }
}

Anybody has a solution?

Is how I do it

public InputActionAsset inputActions; // Reference to the Input Action Asset

var playerActionMap = inputActions.FindActionMap("Player");
moveAction = playerActionMap.FindAction("Move");
moveAction.performed += OnMove;
moveAction.canceled += OnMoveCanceled;
moveAction.Enable();

I’ve went ahead and replaced all my public InputActionAsset inputActions; to use InputSystem.actions.FindActionMap

Didn’t change anything…

Is the “Player” action map enabled?

Do you use PlayerInput component somewhere? This may turn off action maps.

Don’t jump between versions. Downgrading is unsupported. Doing so can lead to issues, including loss of data!

@michaeltoladenis Did you ever fix this issue? I am having the same problem. When I try to assign an Input Action Reference to a prefab, it doesn’t stay chosen. The prefab file itself show’s fileID=0 for that field.

1 Like

Nope, my theory is that the Input action asset component itself has changed. What I think may “fix it” would be to just create a new one and start remapping thing but honestly I don’t know.
I downgrade back 6000.2.7f2 and called it a day.

Sometimes unity is just weird, maybe right click your input action asset → show in explorer delete the .meta file and see if that works?

For those still looking for a solution, it was related to the eventsystem gameobject specifically the InputSystemUIInputModule I removed the ActionAsset and it fixed my issues