if you using unity maybe I could help you fixing it you can use the same esc button to close the pause screen that would help my discord is segooi#5014 if u want help on it