I have set up a variable storage structure for my Total Conversion, where I have a Settings Notebook initially generate it, load it with all of the default variables, and then creatures and objects and things draw their settings from it. All of this works fine usually, but if I so much as think about changing any variables or logic in either the dino’s or the object (which cast between one another through various events), then specifically the object gets corrupted. If I try to load the DevKit with the object in my mod’s folder, then it will not start. This makes my life very inconvenient as this settings object is one of the most important objects in my TC, and I will frequently be adding new variables to it. I would rather not have to rebuild the object from a functional backup every time I want to change anything.
More Specific Information: The Object itself is an Indestructible, Unstasisable Tek Foundation, which all dino’s perform a small line trace to initially find, and then keep as a variable for future reference. It contains a name tag sorting algorithm (For my Settings Notebook, to make it easier to select a specific dino), a Dino Update Function (Casts to all dino’s of a given class, and commands them to update their settings from it), and the initialization of many variables, mostly Arrays as they can store information specific to each dino neatly, such as Scale or Health. It is initially spawned when a player opens the Settings Notebook for the first time, and will remain in that world permanently. I have arrays which are accessed by the notebook set to Public, and some which are Private.