Simply put, hitting the menu button sets Time.timeScale = 0, and the game pauses, but nothing can unpause it or happen during the period. The Debug statement gets called the first time, and then nothing.
private void TogglePause()
{
Debug.Log("Pause was hit");
isPaused = !isPaused;
if (isPaused)
{
AudioListener.pause = true;
Time.timeScale = 0;
}
else
{
AudioListener.pause = false;
Time.timeScale = 1f;
}
}
Any reason why the new Input System would not receive/send InputAction.Performed?