ScriptableObject 'name' field not saved
Posted: Mon May 14, 2018 6:07 pm
I have a lot of ScriptableObject ('.asset' files) which I use to configure my game.
In the editor, their 'name' field is filled correctly.
But when I save them in an ES3File, the 'name' field isn't serialized.
I realize that it may have been done on purpose, and it's not really a problem as I can easily add my own 'Name' field, or even use the name of the file directly.
My question is: has it been done on purpose or have I missed something?
And if it has been done on purpose, is there a technical reason for that choice?
In the editor, their 'name' field is filled correctly.
But when I save them in an ES3File, the 'name' field isn't serialized.
I realize that it may have been done on purpose, and it's not really a problem as I can easily add my own 'Name' field, or even use the name of the file directly.
My question is: has it been done on purpose or have I missed something?
And if it has been done on purpose, is there a technical reason for that choice?