hi, i am facing problem during save and load my custom type dictionary<int, custom_Class>
```
ES3.Save<Dictionary<int, F_saveLoad>>("customDic", obj);
Dictionary<int, F_saveLoad> dic = ES3.Load<Dictionary<int, F_saveLoad>>("customDic");
F_saveLoad loadedDic = dic.Single(s => s.Key == 1).Value;
Debug.Log(loadedDic) //output Null
```
when it load the result it return null
its due to data save is incorrect or loaded
can you provide any example or solve my problem?
problem while saving custom dictionary via ES3.
-
- Posts: 3
- Joined: Sat May 08, 2021 11:50 am
Re: problem while saving custom dictionary via ES3.
Hi there,
We've had no reports of Dictionaries saving improperly. Please could you send me your F_saveLoad script, and the contents of Assets/Easy Save 3/Types (if it exists).
All the best,
Joel
We've had no reports of Dictionaries saving improperly. Please could you send me your F_saveLoad script, and the contents of Assets/Easy Save 3/Types (if it exists).
All the best,
Joel
-
- Posts: 3
- Joined: Sat May 08, 2021 11:50 am
Re: problem while saving custom dictionary via ES3.
Hi there,
You appear to have sent me your F_initializePlayer script, not your F_saveLoad script.
All the best,
Joel
You appear to have sent me your F_initializePlayer script, not your F_saveLoad script.
All the best,
Joel