Help Asap ! loading game object (game over)

hello i need to submit this tomorrow , the comment in health<=0 is working but the game over (game object) pop up is not :frowning: it is not loading

public float health;
 int numOfHearts = 6;
public Image[] hearts;
public Sprite fullHeart;
public Sprite emptyHeart;

public GameObject dieMenu;

public static HealthManager instance;

void Awake()
{
    instance = this;
}

void Start()
{
    
}


void Update()
{

    if (health > numOfHearts)
    {
        health = numOfHearts;

    }

    for (int i = 0; i < hearts.Length; i++)
    {
        if (i < health)
        {

            hearts*.sprite = fullHeart;*

}
else
{
hearts*.sprite = emptyHeart;*
}
if (i < numOfHearts)
{
hearts*.enabled = true;*
}
else
{
hearts*.enabled = false;*
}
}
}
public void Hurt()
{
health -= 1;
}
public void HurtSeconds()
{
health -= 1 * Time.deltaTime;
}
public void AddHealth()
{
health += 1;
}
/// help heree
public void FixedUpdate()
{
if (health <= 0)
{
Debug.Log(โ€œdeadโ€);
dieMenu.SetActive(true);
}
}

Just in case, the behaviourโ€™s events are called like

Awake - OnEnable - Start - FixedUpdate - Update - Your other logics - LateUpdateโ€ฆ

Reference will help

You may be careful of order of the events.
For example, dieMenu.SetActive(true); will run before Update() and
Other methods are called after FixedUpdate, Update

If it still bothers you, concern not using ~Update(), just make it called by event when occurred