Auto Save Problem!!

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
oknust
Posts: 3
Joined: Sat Sep 02, 2017 7:49 pm

Auto Save Problem!!

Post by oknust »

Hi,
I'm making a fps game and try to use easy save.. After "enable Auto Save for this scene" choosing some.. but one of them I'm getting this error..

Assets/Easy Save 2/Types/ES2UserType_SystemCollectionsGenericList`1[vp_ItemInstance].cs(10,93): error CS1056: Unexpected character ``'

Problem is there `1 I try to change syntax but does not accept.. What should i do? Thanks..
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Auto Save Problem!!

Post by Joel »

Hi there,

By the looks of it you're trying to add support for a generic list, but generic lists are already supported by Easy Save. Instead you just need to add support for the vp_ItemInstance class, and then you can save and load lists of that class using the ES2.Save and ES2.LoadList methods.

I'm not sure how you're able to select this class in Auto Save however. Would you be able to PM me the Component which you selected to cause the error so I can see how this is happening?

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Locked