I think the problems in the input project setting. You have to swap to use Enhanced Input Action to make it works.