I renamed the default player map from ‘Player’ to ‘Walking’ in my inputactionasset.
I double-checked that the PlayerInput instance knew the new name, and the Inspector showed it switched automatically to ‘Walking’.
I start Play, and the keyboard responds correctly but the mouse fails to have any effect, and the console shows:
Cannot find action map ‘Player’ in actions ‘GenericPlayerInputs (UnityEngine.InputSystem.InputActionAsset)’
UnityEngine.InputSystem.PlayerInput:OnEnable () (at Library/PackageCache/com.unity.inputsystem@1.4.4/InputSystem/Plugins/PlayerInput/PlayerInput.cs:1619)
The source code line in PlayerInput does not obviously have a reference to the old name ‘Player’.
using (InputActionRebindingExtensions.DeferBindingResolution())
{
AssignPlayerIndex();
InitializeActions();
AssignUserAndDevices();
ActivateInput(); << line 1619
}
If I rename the action map back to ‘Player’ everything works again.