Search found 4 matches

by ColdFire
Sun Apr 14, 2024 4:55 pm
Forum: General Discussion
Topic: OverFlowException when caching a file(ES3.LoadRawBytes)
Replies: 2
Views: 1404

OverFlowException when caching a file(ES3.LoadRawBytes)

Hi Joel, Today I found that when caching a file, the line "var bytes = new byte[stream.Length]" in ES3.LoadRawBytes() limits the maximum cached data to about 2GB (due to the array length being restricted to within the maximum value of an int), while my save files may exceed 2GB when there ...
by ColdFire
Thu Apr 11, 2024 3:14 pm
Forum: General Discussion
Topic: Loading Bug (ES3JsonReader)
Replies: 3
Views: 1227

Re: Loading Bug (ES3JsonReader)

Thank you for your advice, which confirmed me that the issue was caused by a specific component rather than random data corruption. I added some debug code to precisely locate the problem and finally managed to reproduce the bug consistently. I rely on the ES3GameObject to save custom components wit...
by ColdFire
Wed Apr 10, 2024 3:22 pm
Forum: General Discussion
Topic: Loading Bug (ES3JsonReader)
Replies: 3
Views: 1227

Loading Bug (ES3JsonReader)

Hi, I'm glad to have purchased Easy Save 3, this powerful plugin that adds saving functionality to my game. Now, I've encountered a tricky issue that needs to be resolved. When using Easy Save 3, I save many different objects in the same file. In fact, I save an entire world block in a single file. ...