Search found 4854 matches

by Joel
Tue Mar 12, 2024 8:46 am
Forum: General Discussion
Topic: Saving a list of gameobjects with only floats gives errors
Replies: 2
Views: 137

Re: Saving a list of gameobjects with only floats gives errors

Hi there, Your two ES3.Save calls are using the same key. This means that you're just overwriting the float you're saving with the int you're saving. So when you come to load the float, the data will instead be the int that you've saved, which is why you're getting that error. Usually you would appe...
by Joel
Wed Mar 06, 2024 6:31 pm
Forum: General Discussion
Topic: How can i save a list of gameobjects?
Replies: 11
Views: 448

Re: How can i save a list of gameobjects?

Thanks Notso :) @Recktardeded: Just to double-check, have you followed the Saving and Loading GameObjects guide? I had assumed you had, but I suspect you might not have (this is the workflow Notso is describing): https://docs.moodkie.com/easy-save-3/es3-guides/saving-loading-gameobjects-prefabs/ Hel...
by Joel
Tue Mar 05, 2024 6:03 pm
Forum: General Discussion
Topic: How can i save a list of gameobjects?
Replies: 11
Views: 448

Re: How can i save a list of gameobjects?

Hi there, I'm not 100% what the purpose of what you're describing would be, but as that's part of your logic I wouldn't be able to assist with that. Also, ES3 Gameobject(for the plant gameobject) would just save just transform, box collider and plant_Data. Does this sound like a propper way to aproa...
by Joel
Mon Mar 04, 2024 5:53 pm
Forum: General Discussion
Topic: How can i save a list of gameobjects?
Replies: 11
Views: 448

Re: How can i save a list of gameobjects?

Could you be more specific when you say it doesn't reload: is the script missing from the loaded object, or are it's variables left as their default values? Regarding what fields of a script will be saved, please see the Supported Types and Choosing what is saved guides: https://docs.moodkie.com/eas...
by Joel
Mon Mar 04, 2024 8:27 am
Forum: General Discussion
Topic: How can i save a list of gameobjects?
Replies: 11
Views: 448

Re: How can i save a list of gameobjects?

Hi there, but it does not load the variables mannualy assigned as a prefab I'm not sure I understand what this means, please could you clarify? Also as mentioned in the guide, you shouldn't simply select all of the Components on an ES3GameObject unless you know they're serializable and need to be sa...
by Joel
Wed Feb 28, 2024 4:38 pm
Forum: General Discussion
Topic: Saving material Instances
Replies: 1
Views: 168

Re: Saving material Instances

Hi there, For saving the instantiated prefabs themselves you would follow this guide: https://docs.moodkie.com/easy-save-3/es3-guides/saving-loading-gameobjects-prefabs/ With regards to saving the Materials, this section explains what you will need to do: https://docs.moodkie.com/easy-save-3/es3-gui...
by Joel
Tue Feb 27, 2024 4:58 pm
Forum: General Discussion
Topic: Problem with loading when changing data in Scriptable Objects
Replies: 3
Views: 199

Re: Problem with loading when changing data in Scriptable Objects

Glad you managed to resolve your issue, and thanks for the kind review :)
by Joel
Tue Feb 27, 2024 4:02 pm
Forum: General Discussion
Topic: Prefab Error
Replies: 6
Views: 1327

Re: Prefab Error

Hi there, The behaviour they were experiencing was explained by the guide here: https://docs.moodkie.com/easy-save-3/es3-guides/saving-and-loading-references/#reference-could-not-be-found-warning I.e. you can't load a reference to something which doesn't exist. See the guide for information on how t...
by Joel
Tue Feb 27, 2024 3:12 pm
Forum: General Discussion
Topic: Setting Loaded Gameobjects as GameObject variables
Replies: 1
Views: 122

Re: Setting Loaded Gameobjects as GameObject variables

Hi there, Setting a tag is possible but changing the parent isn't just like also getting the transfrom (seems not to have a transform) I'm not sure I understand. It's impossible for a GameObject to exist without a Transform, and I've never heard of behaviour like this before. Please could you replic...