I’m deleting a key from PlayerPrefs while running the game, but when I create the same value, I somehow get back the previous result. However, if I quit the game before creating the same key again, I will get the expected default result. This is why I think there might be a cache, but it doesn´t make sense, and I haven´t seen any information about this in the documentation (although it might have slipped my attention).
To give some more details, I´m storing game options for each player in the PlayerPrefs. I delete a player which also calls PlayerPrefs.DeleteKey() and I know it succeeds, because it disappears from the registry (I’m on windows). Then I create a new player, but with the same name, but if I don’t exit the application first, it will get back the same game options values from the PlayerPrefs.
So the question is, are values in PlayerPrefs cached during a run? Thanks in advance for any information!