Playerprefs not saving

I’m saving a username entered into an input box using playerprefs. Oddly enough I can access the playerpref when I switch to another scene but not when I go back to the menu or when I quit the application.

I am always using .Save() and I’m making sure I’m not erasing the playerpref on script load or anything like that and making sure I’m always using the same name.

Any ideas?

The best way is tracing and debug. Use print and Debug.Log after save and load.
You can easily solve it or put your code here.