Scriptable Objects dont save

I have made a class as scriptable object . I am saving data into it.
Its values changes and saves during play mode and while not playing.
The problem is when i close unity and reopen it. The values reset.
What to do?

I believe we might need to see what the code looks like. Are you using XML to store offline data?