Dictionary of Lists
Posted: Thu Apr 09, 2020 10:59 pm
Attempting to save a dictionary of lists. But im getting an error. Saving lists by themselves work but not in a Dictionary. Any ideas on a workaround?
Dictionary<MechanicJobsQueName, List<string>> MechanicJobsQueDict = new Dictionary<MechanicJobsQueName, List<string>>(); //MechanicJobsQueName is an enum
ES2.Save(MechanicJobsQueDict, SaveFileName + "?tag=MechanicJobsQueDict");
System.Collections.Generic.List`1[System.String] is not currently supported or it's ES2Type was not found, but you may be able to add support for it through Assets > Easy Save 2 > Manage Types
UnityEngine.Debug:LogError(Object)
Dictionary<MechanicJobsQueName, List<string>> MechanicJobsQueDict = new Dictionary<MechanicJobsQueName, List<string>>(); //MechanicJobsQueName is an enum
ES2.Save(MechanicJobsQueDict, SaveFileName + "?tag=MechanicJobsQueDict");
System.Collections.Generic.List`1[System.String] is not currently supported or it's ES2Type was not found, but you may be able to add support for it through Assets > Easy Save 2 > Manage Types
UnityEngine.Debug:LogError(Object)