Search found 5 matches
- Mon Jun 13, 2022 2:36 pm
- Forum: General Discussion
- Topic: Using ES3 Reader key not found exception
- Replies: 4
- Views: 1037
Re: Using ES3 Reader key not found exception
I see, thanks! Got it working. I was confused by the paradigm, but it makes sense now.
- Thu Jun 09, 2022 10:37 pm
- Forum: General Discussion
- Topic: Using ES3 Reader key not found exception
- Replies: 4
- Views: 1037
Re: Using ES3 Reader key not found exception
Ah, that explains. Thanks. One more question: How do I write the cache to a file? ES3.StoreCachedFile() stores it to the default file. ES3.StoreCachedFile("myfile"); says "FileNotFoundException: The file 'myfile' could not be stored because it could not be found in the cache. Do I hav...
- Thu Jun 09, 2022 1:39 pm
- Forum: General Discussion
- Topic: Using ES3 Reader key not found exception
- Replies: 4
- Views: 1037
Using ES3 Reader key not found exception
I'm using ES3 and getting a KeyNotFoundException. Code is like so: using (ES3Reader reader = ES3Reader.Create(filename)) { long dateTime = reader.Read<long>("myDateTime"); long gameTime = reader.Read<long>("myGameTime"); } My save file looks like this: { "myDateTime" : ...
- Wed Mar 08, 2017 10:24 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Circular References
- Replies: 5
- Views: 16410
Re: Circular References
Hi there, Easy Save does not detect cyclic references because there is a very significant overhead of doing this at runtime. Unity's own editor serialiser doesn't actually allow cyclic references either (though it does detect them), and instead they suggest that you create an array of references to...
- Wed Mar 08, 2017 8:00 pm
- Forum: (Legacy) Easy Save 2 General Discussion
- Topic: Circular References
- Replies: 5
- Views: 16410
Circular References
Hi! I just got Easy Save 2 and on the surface I like the elegance and simplicity, but I have a problem. Some of my code is structured as follows: Class Scheduler has two Dictionary Lists, locations and units. Location is a list of 'Location' Objects, units is a list of 'Unit' Objects. Each location ...