Upgrades system using Scriptable Object, losing data when renaming a variable

Hey guys.

I made a simple upgrade system for my game, and I am happy with how it works, however the game is in development and things change all the time. Each time I rename a variable in my Upgrades Scriptable Object class - the data gets lost and I have to put all the values again. Is there any better approach to store data like that during development?


You can use FormerlySerializedAsAttribute
Examples are on old blog.