Auto saving a Dictionary of custom class

Discussion and help for Easy Save 3
Post Reply
StudioDeLaPie
Posts: 6
Joined: Mon Sep 23, 2019 3:23 pm

Auto saving a Dictionary of custom class

Post by StudioDeLaPie »

Hello,

In my custom class "Connexion", I have a public variable of Dictionary<Connexion, OtherCustomClass> that I am trying to save with auto save but nothing is saved. I checked the file, the variable is here, but empty. I tried the same configuration with a Dictionary<OtherCustomClass, OtherCustomClass> and that worked just fine.

Connexion and OtherCustomClass are both MonoBehaviours.
Custom ES3Types of Connexion and OtherCustomClass are created and configurated.
Everything else works, except this specific Dictionary. Is this a known bug or something that I can't save using ES3 ?

Thanks per advance.
User avatar
Joel
Moodkie Staff
Posts: 4848
Joined: Wed Nov 07, 2012 10:32 pm

Re: Auto saving a Dictionary of custom class

Post by Joel »

Hi there,

Please could you PM me a basic project and instructions which replicate this? I've had no other reports of this, and it's not possible to tell what is happening from what you've said.

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