ScriptableObject 'name' field not saved

Discussion and help for Easy Save 3
Post Reply
Gladyon
Posts: 30
Joined: Thu Sep 07, 2017 6:51 am

ScriptableObject 'name' field not saved

Post 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?
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: ScriptableObject 'name' field not saved

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply