I’m using the new Input System and I’ve got most of it working. UI navigation and player controls via keyboard and gamepad work well. The only issue is pausing the game with the gamepad. It works fine using the Escape key on the keyboard but not with the Option, or any other button I’ve tried, with my DualSense controller. I feel like I’ve set it up the same way, as I hope the screenshots will show, so I’m not sure what I’m missing.
Has anyone experienced this before or have any ideas what else I could try to fix this?
try giving this a try maybe you find the issue, also you can try a different package version, maybe is just a bug in the latest version if you have that one
I updated Unity to version 2022.3.48 with no effect
Tried out the input debugger and the good news is it does confirm that the start button is firing an event (value changes to 1 in the “Controls (Editor State)” view) but of course that doesn’t lead to the event in code actually getting called. I also tried narrowing the Action in the Action Map down to just the Start button, but that did not make a difference. Pausing with either the Escape key or clicking on the button has continued to work fine throughout the process. Controlling the player with the joysticks and navigating the UI choices with the controller continue to work fine (aside from pausing, of course).
It might also be worth noting that the event view gets spammed (see screenshot) when my controller is connected which doesn’t happen with the keyboard. I’m guessing it’s just the joystick axes reporting, but I’m not sure yet.