List of ScriptableObjects lost on project reload

I’m trying to create a list of scriptableobjects, Grid, but for some reason I can’t figure out, the instances of the Grid get reset when I restart the project. The actual list will have the same amount of objects in it, but they are all null.

How do I make sure the Grid objects are saved.

The instances don’t get deleted when I switch between editor and play mode. It’s just on project reload.

133802-gridislands.png
133803-grid.png

To me, the idea behind ScriptableObjects is so you can have data as assests and work with them within the editor. With that said, if you have several ScriptableObject assests that you created that you want in a list, I would make a public array of them, drag and drop them onto the array in the editor, then convert the array into a list on start if wanted.

public Grid[] gridArray;
List<Grid> gridIslands;

void Start() {
	gridIslands = new List<Grid>(gridArray);
}

[133804-capture.png|133804]