Ask a Question

Ask a Question
Back to All

PID Reverting to another game

Hi! we're seeing a strange error on our side, we have an Editor script that we use to delete the player save, it works as follow
BeamableSaveService.RequestPlayerDataFileLocation_Editor(path =>
{
if (string.IsNullOrEmpty(path))
{
return;
}
System.IO.File.Delete(path);
}
When we execute it, everything works fine except that the next time that we start the game in the Editor, the config-default.txt file is changed and the PID is reverted to another game (which is the first in our list of games).
This forces us to have to open the toolbox and switch game everytime.
Do you have any idea what could be causing this? (edited)