For a 3D game, I need to save the player's coordenates using a ConfigFile and in the next game, load it.
I used the following GDScript code:
config.set_value("values", "player_position", $Player.position)
For saving it and the following for loading it:
$Player.position = config.get_value("values", "player_position")
I think the game stores this data in the config file as a Vector3(), but it doesn't work.
The error message is the following:
Invalid call. Nonexistent function 'loadencryptedpass' in base 'Nil'.
Someone can tell me how I can fix this error?
Thanks in advanced.