Godot Version
4.2.2
Question
Does anyone know why the file is null when being read, but not when trying to write? And even though the file isn’t null when trying to write, it doesn’t seem to actually write anything to the file (only an unknown symbol). I’m trying to save the player’s high score, which is just an int.
I asked on Discord and a kind user provided the use of ResourceSaver and ResourceLoader as an alternative which worked, but I’d like to understand why the file system didn’t work as expected.