Destroying DontDestroyOnLoad

Hello Unity community :wink: lovely as always,

Okay so here is the question:
I’m developing a multiplayer game and all is swell, so far…
But the problem is the “LobbyManager” is dont DestroyOnLoad and that’s okay because it needs to be! But… after the match when all players are dead it goes back to the main menu and I need the “LobbyManager” do be removed… or it causes errors etc.

Any ideas?

Thanks in advance!

Give any tag to LobbyManager GameObject and get Object into the script by search by tag and delete it urself. When all players dead. Hope it works.