JsonUtilities not working properly

Hey Guys,

I have a major problem with saving my gamesettings file as a .json file.
At first everything worked like a charm, but after some time it didn’t save anymore.
In the built game the development console prints out:

I already talked with a moderator over at Gamedev.net and he didn’t have a clue either. So he sent me here. The path is exactly the same as it should be. If it is important for you, here is the code for saving the json file:

public void SaveSettings()

    {
        string jsonData = JsonUtility.ToJson(gameSettings, true);
        File.WriteAllText(Application.persistentDataPath + "/gamesettings.json", jsonData);
    }

Hoping for fast reply and help,
SanguineTunic

How exactly is this a problem with JsonUtility?

Have you checked all the folders in the path exist exactly as written?