Have a problem with SetActive

Hi, i tryied to use SetActive but it doesn’t work. It works really werid :frowning:

When I put SetActive there, it works:

if (isNextStep)
{
     miniStep3_GO.SetActive(true);
     if (currentTime - executedTime > timeToWait)
     {
         //
     }
}

BUT when I put SetActive there, it doesn’t work:

if (isNextStep)
{
     if (currentTime - executedTime > timeToWait)
     {
         miniStep3_GO.SetActive(true);
     }
}

Could someone help me?
Thanks

@Waterstudios11 yes and if (currenttime... section works correctly

Show your whole script please.