IsolatedStorageException and UnathourizedAccesException

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
vitorlanna
Posts: 1
Joined: Tue Feb 07, 2017 7:55 pm

IsolatedStorageException and UnathourizedAccesException

Post by vitorlanna »

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:

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);
        }
The error message on logcat:
Image
Locked