Page 1 of 1

ScriptableObject 'name' field not saved

Posted: Mon May 14, 2018 6:07 pm
by Gladyon
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?

Re: ScriptableObject 'name' field not saved

Posted: Tue May 15, 2018 7:10 am
by Joel
Hi there,

We don't save the name for performance reasons, as it's very rare that the name is actually used. However, if you do wish to save the name, you can create an ES3Type by going to Window > Easy Save 3 > Types, searching for your type, and checking the name box beneath properties.

All the best,
Joel