Search found 8 matches
- Thu Feb 01, 2024 3:17 pm
- Forum: General Discussion
- Topic: Loading Dictionary of Dictionary with scriptable objects
- Replies: 7
- Views: 1190
Re: Loading Dictionary of Dictionary with scriptable objects
Yeah that's what I understood, but that's not the case. All the SOs are in the project, I have another SO acting as library referencing them, and that library is referenced in the scene. And as mentioned I did add them manually as well with the right click method. I found a workaround for it without...
- Thu Feb 01, 2024 4:27 am
- Forum: General Discussion
- Topic: Loading Dictionary of Dictionary with scriptable objects
- Replies: 7
- Views: 1190
Re: Loading Dictionary of Dictionary with scriptable objects
Fair enough. I did modify my save routine to follow that idea, but I still have the same error. Also I tried to implement the same trick that worked earlier, save a list of objects rather than a dictionary for a new scriptable object I have, but this time it fails, all the references are -1: "_...
- Mon Jan 29, 2024 6:03 pm
- Forum: General Discussion
- Topic: Loading Dictionary of Dictionary with scriptable objects
- Replies: 7
- Views: 1190
Re: Loading Dictionary of Dictionary with scriptable objects
Hy there! Thanks for the fast answer :) I am on the last version of the asset store, I updated the package last week (3.5.6) You are right, I did load and save with the ES3File API. With my dictionary routine, I now modified it to follow this logic, let me know if that makes sense: [SerializeField] ...
- Sun Jan 28, 2024 10:42 pm
- Forum: General Discussion
- Topic: Loading Dictionary of Dictionary with scriptable objects
- Replies: 7
- Views: 1190
Loading Dictionary of Dictionary with scriptable objects
I have a dictionary of dictionary that looks like this: [SerializeField] private Dictionary<OverworldData, Dictionary<ObjectiveData, (bool hermit_0, bool hermit_1)>> _overworldDataObjectives = new(); OverworldData is a serialised object that contains 3 Objectives, which each are expressed in a serie...
- Thu Dec 29, 2022 9:47 am
- Forum: General Discussion
- Topic: InvalidOperationException: Collection was modified; enumeration operation may not execute.
- Replies: 3
- Views: 862
Re: InvalidOperationException: Collection was modified; enumeration operation may not execute.
Thanks for the fast answer!
Looks like I'm on 3.5.3 which I believe is the last version on the asset store.
I will try, but the project I'm using it with is very big, it might take a while.
Thanks a lot!
Best
Giezi
Looks like I'm on 3.5.3 which I believe is the last version on the asset store.
I will try, but the project I'm using it with is very big, it might take a while.
Thanks a lot!
Best
Giezi
- Wed Dec 28, 2022 9:08 pm
- Forum: General Discussion
- Topic: InvalidOperationException: Collection was modified; enumeration operation may not execute.
- Replies: 3
- Views: 862
InvalidOperationException: Collection was modified; enumeration operation may not execute.
Hy I upgraded to the latest version of ES3 and since then I get the following error when I save my data (still works, and I am not sure where the error exactly comes from): InvalidOperationException: Collection was modified; enumeration operation may not execute. System.Collections.Generic.Dictionar...
- Thu May 06, 2021 12:26 pm
- Forum: General Discussion
- Topic: Scene independent save of Scriptable Objects
- Replies: 2
- Views: 788
Re: Scene independent save of Scriptable Objects
Hei
That makes sense, thanks a lot for the fast answer! Guess I will use a Scene Object then
Best
Giezi
That makes sense, thanks a lot for the fast answer! Guess I will use a Scene Object then
Best
Giezi
- Thu May 06, 2021 12:09 pm
- Forum: General Discussion
- Topic: Scene independent save of Scriptable Objects
- Replies: 2
- Views: 788
Scene independent save of Scriptable Objects
I have a question about saving scriptable objects using ES3. I have a couple of scriptable objects I would like to save (and later load), and the references to these scriptable objects are in another scriptable object, so not in the scene. I would like to make the saving and loading scene independen...