Removing an Object from the Scene and not Having it Reappear on Reload

Hello guys.

I’ve been trying to figure this out for quite some time. I’ve been trying to remove a gameobject from the scene with Destroy but when the scene is loaded again, the object reappears.

There are many objects in the scene with this behaviour, so a static variable isn’t really an option.

How do I stop the object from reappearing when the scene is loaded again?

Reloading your scene is like starting the game up again, if you could remove a game object and it didn’t come back on reload, it would be gone forever.

What are you trying to accomplish? There might be a better way to approach it. Generally you’ll want to track your state in a variable (either static or use a GameObject that’s marked as Don’tDestroyOnLoad) and use that information to remove/add objects when the scene starts.