Escape key not working

I was playtesting my game and I hadn’t tested the pause menu in a few hours (after adding some new menus), but it’s just not working. Here is the code I am working with:

if(Input.GetKeyUp(KeyCode.Escape))
{
Debug.Log("Button Registered");
}

This code works with literally every other key except the escape key. And I’ve tried it with 2 keyboards to be sure.

What’s happening here?

I’m not positive, as it works for me just fine.

What you could try doing is using Input.GetButtonUp(“EscapeFix”)

Edit > project settings > input, and then you can make a button called EscapeFix. Set the positive/negative button to “escape.” If that doesn’t work, then not quite sure what will.