Newly added field in ScriptableObject class not being put into assets of its type. Is this something todo with how Scriptable Objects work? Is there a way to update a scriptable object asset without losing existing info in already populated fields?
My ScriptableObject class has a bunch of strings for animation:
public class SO_AnimStringNames : ScriptableObject {
public string FirstAnim;
public string SecondAnim;
public string ThirdAnim;
}
I've created a ScriptableObject asset via this class, and added names to the strings, and used it as data within another object type, that uses those strings.
Just now, added a fourth string to the ScriptableObject class, so now it looks like this:
public class SO_AnimStringNames : ScriptableObject {
public string FirstAnim;
public string SecondAnim;
public string ThirdAnim;
public string FourthAnim; // newly added field
}
but it's not seen/updated within the ScriptableObject asset, and there's no obvious way to update this asset.
Is this a limitation of ScriptableObjects, or is something else wrong?