If I’m understanding what this class (SaveableEntity) does, it seems to do two main things
a) saves and loads components we want to save (i.e. ISaveable) on gameobjects we want to save. It does this during gameplay
b) it generates unique identifiers while we are editing our scene (but doesn’t generate unique IDs for game objects are spawned/instantiated during play)
Is this right? These two tasks seem unrelated and just want to do a reality check here. I may have follow up questions after that.
I’m also curious - where does the persistence for our static Dictionary member variable live if it gets updated during edit mode and lasts between scenes? Does it ever get wiped / What actions trigger it getting cleared out?