Can one somehow keep Inspector values upon renaming a Serializable class?

This question had me discover that renaming a Serializable class wipes everything the Inspector knows about it. Is any way at all known to prevent this, be it a trick or an editor extension?

So it turns out you don’t have a problem at all.

Just did this, worked fine

  1. Opened a script in MonoDevelop
  2. Renamed the script (file and class name)
  3. Dragged the new script in to the inspector where it said missing
  4. Metadata was intact

The ISerializationCallbackReceiver interface was exposed to help dealing with serialization layout changes as well.

I remember some gists (and tweets) where @lucas-meijer-1 talks about manually deserialize old data into a new layout (e.g. one, two, three). That’s before they came up with the current ISerializationCallbackReceiver interface.