I have a Open Inventory action in the Gameplay action map, and a Close Inventory action in the UI action map. Both are mapped to the i key. When I open the inventory, I switch to the UI action map. The inventory is immediately closed. I put a breakpoint, and it’s as if I pressed the action. The actions are set to Button. I would have assumed that it would only perform the action when the button is pressed and released. I’ve tried explicitly setting the interaction to Press & Release, but that didn’t make a difference.
How are you accessing your Open/Close inventory actions? Are you invoking unity events on your Player Input component or some other method? Also could we see some code for these actions?