IsolatedStorageException and UnathourizedAccesException
Posted: Wed Feb 08, 2017 6:29 pm
Hello! I'm using Easy Save, but sometimes when I save on android I get an UnathourizedAccessException or an IsolatedStorageException. There doen't seem to be any pattern to it, the same code sometimes works and sometimes gets this exception. Any idea about how to fix that?
These are examples of code that throw that exception:
The error message on logcat:
These are examples of code that throw that exception:
Code: Select all
ES2.Save<string>(identifier,"save_name");
ES2.Save<float>(AudioManager.Instance.musicSource.volume, identifier+"music_volume");
ES2.Save<float>(AudioManager.Instance.soundSources[0].volume, identifier+"sound_volume");
Code: Select all
for(int i = 0; i < levelScores.Count; i++)
{
ES2.Save(levelScores[i], SaveManager.Instance.identifier + "_levelScores_"+i);
}