Stop spawning object on scene loading?

Hey guys.

In my Main Menu scene i have a GameMaster object.
However, whenever i return to the Main Menu it spawns a new GameMaster object.
How do i limit it to 1 GameMaster object?
So it checks that if there is already 1 GameMaster object it will destroy the second.

You could perform a test in the Awake function to check whether there is already a GameMaster object in the scene by using GameObject.FindObjectOfType. If there is already one, Destroy the awaking one.