Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

ES2 Can't save Dictionary

$
0
0
Hello! I'm not 100% sure if I should post here about this. Please tell me if that's the case. I have a problem with the [Easy Save asset](https://www.assetstore.unity3d.com/en/#!/content/768) from the asset store. It says in the [documentation](http://docs.moodkie.com/easy-save-2/supported-types/) that Dictionary is a supported type, but when I try to save a dictionary, it gives me an error. This is my code: ES2.Save(unlockedBackgrounds, "save.txt?tag=unlockedBackgrounds&encrypt=true"); Where unlockedBackgrounds is a Dictionary with both key and value of type String. I get this error: Easy Save does not support saving of type System.Collections.Generic.Dictionary`2[System.String,System.String]. What should I do to fix this? I read that you can manually add types, but I shouldn't have to do that since Dictionaries should be supported. Does anyone know? Thanks. /Alex

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>