Search found 4860 matches

by Joel
Wed May 22, 2024 2:25 pm
Forum: General Discussion
Topic: How can I have more than one savefile at the same time?
Replies: 3
Views: 33

Re: How can I have more than one savefile at the same time?

Hi there, You shouldn't be using ES3File, this is an internal API which was deprecated quite a few years ago and isn't in our documentation. You should be using caching instead: https://docs.moodkie.com/easy-save-3/es3-guides/performance/#improving-runtime-performance-using-caching All the best, Joel
by Joel
Tue May 21, 2024 4:23 pm
Forum: General Discussion
Topic: How can I have more than one savefile at the same time?
Replies: 3
Views: 33

Re: How can I have more than one savefile at the same time?

Hi there,

You can simply specify the filePath parameter of the Easy Save methods. See the Getting Started guide for more information:

https://docs.moodkie.com/easy-save-3/ge ... me-or-path

All the best,
Joel
by Joel
Sun May 05, 2024 8:05 am
Forum: General Discussion
Topic: UnauthorizedAccessException on .tmp file?
Replies: 3
Views: 303

Re: UnauthorizedAccessException on .tmp file?

Glad you managed to resolve your issue. Just to clarify, disabling global references (i.e. enabling that scripting define) is unrelated to storage, so wouldn't be capable of triggering the error you were receiving.

All the best,
Joel
by Joel
Fri May 03, 2024 9:16 am
Forum: General Discussion
Topic: UnauthorizedAccessException on .tmp file?
Replies: 3
Views: 303

Re: UnauthorizedAccessException on .tmp file?

Hi there, As we can't officially support Switch because they do not provide Asset Store publishers with the middleware license legally required to do so, I'm afraid I can't provide support with anything Switch-specific. However, if you show me the code you're using and a screenshot of your settings ...
by Joel
Fri May 03, 2024 9:12 am
Forum: General Discussion
Topic: File being replaced with 0's
Replies: 1
Views: 224

Re: File being replaced with 0's

Hi there, The ES3File API was deprecated quite a long time ago and is only used internally, so we cannot provide support for it. You should instead use caching as described here to achieve what you're doing: https://docs.moodkie.com/easy-save-3/es3-guides/performance/#improving-runtime-performance-u...
by Joel
Thu Apr 25, 2024 7:35 am
Forum: General Discussion
Topic: How can i make a null check for getkeys?
Replies: 2
Views: 2262

Re: How can i make a null check for getkeys?

Hi there,

You don't appear to be using the latest version of Easy Save judging by your line numbers. Please try updating and see if that resolves your issue.

All the best,
Joel
by Joel
Mon Apr 22, 2024 7:14 am
Forum: General Discussion
Topic: How to set up serialization for a custom collection type?
Replies: 4
Views: 1907

Re: How to set up serialization for a custom collection type?

Hi there, Just a note, we wouldn't be able to provide support for modified source code and updating Easy Save in the future will revert your changes. An alternative is to convert your list to a List<T> before saving, and convert it back after saving, though this might not be any simpler in your situ...
by Joel
Sun Apr 21, 2024 7:09 am
Forum: General Discussion
Topic: How to set up serialization for a custom collection type?
Replies: 4
Views: 1907

Re: How to set up serialization for a custom collection type?

Hi there, To save your custom List you would need to make a concrete type for the List you are saving and use this. For example the concrete type for ObservableList<int> would be: public class ObservableListInt : ObservableList<int> { } In your case you would also need to make the inner list seriali...
by Joel
Mon Apr 15, 2024 1:34 pm
Forum: General Discussion
Topic: Crashing Unity when Types tab is clicked
Replies: 1
Views: 1466

Re: Crashing Unity when Types tab is clicked

Hi there, Judging by the error your Unity EditorPrefs is corrupt. In this case I recommend clearing EditorPrefs. You can do this by adding the following scripts to Assets/Editor/ and then going to Tools > Clear Editor Prefs. using UnityEngine; using UnityEditor; public static class ClearEditorPrefs ...
by Joel
Mon Apr 15, 2024 1:29 pm
Forum: General Discussion
Topic: OverFlowException when caching a file(ES3.LoadRawBytes)
Replies: 2
Views: 1670

Re: OverFlowException when caching a file(ES3.LoadRawBytes)

Hi there, Generally you would break your files down into smaller save files rather than having one extremely large monolithic save file, otherwise simply the operation of loading that file into memory and resaving it will be a significant bottleneck when actually you only need a small portion of the...