Saving wizard settings in an easier way?

I love to extend the unity editor in different ways. However one thing I still don’t quite get is why I can’t save the settings of my wizards in any easier way? Have I missed something?

Is using EditorPrefs the only way? How would you for example save the reference to a material? By it’s asset path?

What I have done so far is to create a game object that holds all the data and then create an editor for that game object instead. This makes Unity automatically save the settings for that game object with it’s built in serialization.

Can’t I use something similar to have Unity automatically save all my settings for a Wizard window?

No one knows?

Solved this by base64 serializing my objects and saving to PlayerPrefs, still whish there was an easier way to do this since Unity does this automatically for things all the time. Would like to tap into that functionality.