gameObjects in array dont persist across scenes

I’m storing gameObjects in a list that is on a gameObject that is set to dontDestroy. The list has missing objects when the other scene is opened.

try to set the gameobjects in the array to dont destroy on load, you can also
function Awake()
{
MyArray = GameObject.FindGameObjectsWithTag(“MyOBJ”);
}
//This is written from a phone so it might not be 100% accurate