Search found 5090 matches

by Joel
Fri Apr 11, 2025 7:39 am
Forum: General Discussion for Easy Save 3
Topic: Unfortunate ecryption issue for an already released game
Replies: 3
Views: 7233

Re: Unfortunate ecryption issue for an already released game

Glad you managed to resolve your issue :)

All the best,
Joel
by Joel
Thu Apr 10, 2025 7:44 am
Forum: General Discussion for Easy Save 3
Topic: Unfortunate ecryption issue for an already released game
Replies: 3
Views: 7233

Re: Unfortunate ecryption issue for an already released game

Hi there, If your data is encrypted this means that you're trying to load encrypted data without encryption enabled. If your data isn't encrypted, this likely means that the data has become corrupted. There's more information about this in the System.FormatException section here: https://docs.moodki...
by Joel
Sun Apr 06, 2025 7:02 am
Forum: General Discussion for Easy Save 3
Topic: ES3.GetFiles(folder) when in Cache mode
Replies: 1
Views: 6341

Re: ES3.GetFiles(folder) when in Cache mode

Hi there, and thanks for getting in contact. The Cache and File are two different locations, and if we didn't allow these to be accessed separately then it would negate the benefit of caching (I.e. reducing expensive File I/O calls). The ES3 methods use the location provided to them. When you don't ...
by Joel
Fri Mar 07, 2025 4:45 pm
Forum: General Discussion for Easy Save 3
Topic: Saving prefabs with modified components
Replies: 5
Views: 42537

Re: Saving prefabs with modified components

Glad that's all working for you now Kevin :)

All the best,
Joel
by Joel
Fri Mar 07, 2025 10:55 am
Forum: General Discussion for Easy Save 3
Topic: Saving prefabs with modified components
Replies: 5
Views: 42537

Re: Saving prefabs with modified components

Hi there, I'm now instantiating my objects using PrefabUtility.InstantiatePrefab. This is an Editor method, so you can't use this at runtime outside of the Editor. However, using ES3.LoadInfo or Load does not keep this prefab link All prefab links are intentionally broken by Unity at runtime (regard...
by Joel
Fri Mar 07, 2025 7:07 am
Forum: General Discussion for Easy Save 3
Topic: Saving prefabs with modified components
Replies: 5
Views: 42537

Re: Saving prefabs with modified components

Hi Kevin, sorry to hear you've been encountering issues. 1. Save the actual modified mesh and material instances into the save file. This might be to heavy of a cost, but it would require the least amount of fixup if it can be done with reasonable performance. I recommend checking that you have warn...
by Joel
Fri Mar 07, 2025 6:56 am
Forum: General Discussion for Easy Save 3
Topic: Custom Type Usage
Replies: 2
Views: 6884

Re: Custom Type Usage

Hi there, MyCustomType has just one field, but in the Types Panel another field is also listed "m_CancellationTokenSource". What is the usage of this auto-generated field? This field isn't hardcoded by us and appears to be something to do with threading: https://learn.microsoft.com/en-us/d...
by Joel
Wed Mar 05, 2025 6:58 am
Forum: General Discussion for Easy Save 3
Topic: Loading and Saving a list Serialized script with different variable types
Replies: 3
Views: 9372

Re: Loading and Saving a list Serialized script with different variable types

I am trying to call this list of saved stuff into a new Itemslots list that is empty For this you should be using ES3.Load, not ES3.LoadInto (LoadInto is for loading into a populated list, not an empty list). I.e. itemSlot = ES3.Load<List<ItemSlot>>("itemSlot"); All the best, Joel
by Joel
Tue Mar 04, 2025 9:13 am
Forum: General Discussion for Easy Save 3
Topic: How can i choose what to NOT save?
Replies: 3
Views: 9052

Re: How can i choose what to NOT save?

Right, i didn't know it was under types, and that i need to input the class, as i see, gameobjects are not selected vy default, which is what i want. Thanks! Or you can just use the [ES3NonSerializable] attribute mentioned at the top of the guide if you don't want to implement an ES3Type. All the b...
by Joel
Tue Mar 04, 2025 8:33 am
Forum: General Discussion for Easy Save 3
Topic: How can i choose what to NOT save?
Replies: 3
Views: 9052

Re: How can i choose what to NOT save?

Hi there,

This is covered in the Choosing what is saved guide:
https://docs.moodkie.com/easy-save-3/es ... -is-saved/

All the best,
Joel