Can't really fight some of the bosses correctly

So some times when the boss dies and the player dies at the same time ( though it sometimes is the player dies for no reason) then respawns at check point and goes to fight the boss again the boss doesn’t come out. then you can’t get out of the dome(because it’s a boss fight), what i am trying to say is that the boss dosent come out after the player dies at the same time the boss does.

Well, today I died for no reason because the boss died. Said I killed myself. sarcastic Great coding went into the game