why is my servers still going

I paused my server. But when I get on the game. My game still connects?
4 Replies
kapa.ai
kapa.ai2mo ago
Hi @Myles/Jayme/Ziporded. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- When the last player leaves a room in NormalVR, the room server will remain running for about 30 seconds before it's shut down. Any objects that are not flagged to destroy will be written to persistent storage. The next time someone joins this room, they will be restored instantly. This could be why your game still connects even after you've paused your server. If you're still having issues, it might be worth checking your code for the connection to the server. When you connect to a room server using either Connect() on Realtime or Room, you can pass an optional ConnectOptions struct. This struct supports an optional RoomServerOptions struct. If you're requesting a specific room server configuration, it might be causing the server to remain active. Here's an example of how to connect to a room server:
class ConnectionManager {
[SerializeField]
private Realtime _realtime;

private void Start() {

// Connect to "My Room" and request a Medium room server configuration.
_realtime.Connect("My Room", new Room.ConnectOptions {
roomServerOptions = new Room.RoomServerOptions {
configuration = "medium"
}
});

}

}
class ConnectionManager {
[SerializeField]
private Realtime _realtime;

private void Start() {

// Connect to "My Room" and request a Medium room server configuration.
_realtime.Connect("My Room", new Room.ConnectOptions {
roomServerOptions = new Room.RoomServerOptions {
configuration = "medium"
}
});

}

}
If you're still having issues, it might be worth reaching out to NormalVR's support at help@normalvr.com. Sources: - What happens to my objects when a room server shuts down? (https://normcore.io/documentation/realtime/common-questions#what-happens-to-my-objects-when-a-room-server-shuts-down) - Room Server Options (https://normcore.io/documentation/room/room-server-options) ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai2mo ago
<@911443990715457576> kapa.ai is still learning and improving, please let us know how it did by reacting below
maxweisel
maxweisel2mo ago
pausing takes an hour to propagate
Myles/Jayme/Ziporded
Ok Thanks