Search found 11 matches

by c166
Sat Oct 15, 2022 4:08 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, Just wanted to say that I managed to resolve the problem following some advice from the asset kit creator. I ended up saving the ids of the scriptable objects + creating a new instance of that object in the other scene instead of trying to save the game object itself. That turned out to be...
by c166
Sat Oct 01, 2022 1:45 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, I have asked the asset owner if they'd be able to make an exception for me to create a minimum build/ share the code with you. In the meantime, if you've got ideas for me to try - that'd be great. Can you clarify what "being generated at RunTime" means?? Does it mean that things ...
by c166
Sun Sep 25, 2022 12:01 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, The version of EasySave I am using is "Version 3.4.2 - April 24, 2022" which seems to be the latest version. Unfortunately, I got the response of Generally speaking, you cannot redistribute the contents of the kit to third parties without them having an appropriate license as wel...
by c166
Sat Sep 24, 2022 2:03 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, I'll see if I can replicate it in a minimal project but it may take a while to do so. I have asked the asset owner (building off another asset from the Unity Store) about whether they'd be okay with me sharing their code/ base asset. In the mean-time I think I've worked out the mechanism b...
by c166
Thu Sep 22, 2022 3:24 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, Didn't expect to have to come back so quickly -> but I've bumped into related issues. So everything appears to work in edit mode (i.e. everything loads) -> but when I tested using build mode -> the problems that were resolved (missing sprites + effects) seems to have come back. easy_save_b...
by c166
Thu Sep 22, 2022 2:46 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, Thanks for the detailed explanation; that makes a bit more sense now. However, if they were, you wouldn't need 5 different lists as you could just add them all to a List<ScriptableObject>. You would need five FindObjectsOfType calls unless Thanks for that -> didn't think of just creating a...
by c166
Sat Sep 17, 2022 2:15 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, Thanks for that, the tip with regards to selecting the scriptable objects and then adding it directly to the scene has got me a bit further -> and the game appears to load/ use the scriptable objects as expected. I'm a bit confused as to why that's the case though. Using the first method t...
by c166
Sat Sep 10, 2022 1:55 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, So I've added about 5 lists of different objects to Save/ Load between the scenes (still would want to know whether there is an alternative way of doing this as it feels super finicky/ clunky/ inefficient -> I'm searching through each CardTemplate and then looping through each of it's comp...
by c166
Fri Sep 09, 2022 11:57 pm
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, Appreciate that reply, that's gotten me to the next set of errors haha I think I can resolve it in the same way as you've suggested for CardTemplate -> i.e. create a separate save object with a list of references for each set of objects/ types; however, I'm wondering if there's a cleaner s...
by c166
Sun Sep 04, 2022 3:18 am
Forum: General Discussion
Topic: Saving Nested Dict/ List of custom classes
Replies: 19
Views: 3117

Re: Saving Nested Dict/ List of custom classes

Hey Joel, I've tried to extract the components into a scene; but there are a lot of finicky components that I'll need to sort out. After giving that a bit of a crack and seeing how much work that involves, I'm wondering if it'll just be more straightforward to try to directly figure out my problem b...