I have a big "Level_Data" gameobject containing other gameobjects.
I am trying to save level_Data and then load it.
However I am having problems with loading some of the children inside "Level_Data".
Some of them are static gameobjects and they loose their Mesh filter reference on load.
Code: Select all
ES3.Save("level_Data", level_Data, "Save_Files/" + _save_file_Name + ".es3");
.....
ES3.Load("level_Data", "Save_Files/" + save_file_Name + ".es3", level_Data);
I dont really need to save the static gameobjects so it will be fine if there is some way to ignore saving them.
I tried disabling the static type for gameobjects inside the easy save menu, but that resulted in a cast exception error when saving.