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..
Auto Save Problem!!
Re: Auto Save Problem!!
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
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