I have this code: Unity Game Main Script - Pastebin.com
In the void load() wich gets executed at start of the game. it loads all relevant variables. and sets them if needed. But when it sets the resolution/FOV/Fullscreen they simply don’t save. it’s the same in saveOptions() and cancelOptions(). when I Debug.Log them, they’re simply empty strings.
Found the mistake. It’s the clearworld() method that gets executed when i save the game. this deletes all playerprefs and rewrites the world. but the settings also get cleared. I just need to copy my settings to the new playerprefs.