Lobby unloads when spectating another player

I don’t really know where to put this, but I need help with this glitch(?

Basically when a player spectates another (low graphics), then stops spectating, the lobby unloads. I haven’t figured out what causes it, and if somebody can explain to me, I may find a way to fix it.

When the player being spectated dies, the lobby just dissapears for the client that was spectating. There are no errors, no bugs, actually the game still works and when you play again or spectate again, everything works fine.

Sadly I do not know what caused this issue because you have not shown me any code nor more context.

I didn’t thought code was necessary, because theres no code!. Nothing in my script changes the lobby, in fact, it isn’t even referenced in a variable (only the doors). The only thing that changes during spectate is the camera subject and its CFrame. If you still want the code tho, I’ll post it in a minute.

About context, those are the only few steps to make it happen. Spectate, stop spectating, boom lobby is not there anymore, even your own character seems to unload.

Maybe you’re unloading the map and the character when that happens? Or the map and the character is just not shown because maybe those models are far away from the camera? I don’t know man…

The camera being locked to the ceiling caused this weird glitch, i just removed it and i will look for a different way to do it

1 Like