Players Are Disconnecting Randomly
Recently, our players have reported disconnecting randomly from the game without warning. This has been reported to happen upon connecting to a room as well as while playing in a room.
We don't receive many errors. However, in editor, we sometimes get issues connecting to rooms. It appears to happen this way:
1. We attempt connection to a room by calling realtime.Connect with the medium room size.
2. We get the debug log from Realtime: "Realtime: Connection to room '<room name>'"
3. Because normcore takes a long time, we call realtime.Connect with the same room name every second for 10 seconds.
4. Because we're still disconnected, we attempt a realtime.Connect call with a different room name.
5. We get the debug log from Realtime: "Realtime: Connection to room '<room name>'"
6. Then we get an error message from realtime: "Realtime (native): BidirectionalClient: Connection Error: Unable to connect to normcore-matcher.normcore.io on port 3000, error: No such host is known.
7. Our system then kicks the player back out to the main menu because they were disconnected for too long.
2. The "Cannot set lifetime flags on model ..." error has happened for months now and hasn't broken anything. Therefore, we can suppose that it's unrelated.
We don't receive many errors. However, in editor, we sometimes get issues connecting to rooms. It appears to happen this way:
1. We attempt connection to a room by calling realtime.Connect with the medium room size.
2. We get the debug log from Realtime: "Realtime: Connection to room '<room name>'"
3. Because normcore takes a long time, we call realtime.Connect with the same room name every second for 10 seconds.
4. Because we're still disconnected, we attempt a realtime.Connect call with a different room name.
5. We get the debug log from Realtime: "Realtime: Connection to room '<room name>'"
6. Then we get an error message from realtime: "Realtime (native): BidirectionalClient: Connection Error: Unable to connect to normcore-matcher.normcore.io on port 3000, error: No such host is known.
7. Our system then kicks the player back out to the main menu because they were disconnected for too long.
A couple of notes about the screenshot:
1. I haven't yet turned on "debug logging". I'll do that soon.2. The "Cannot set lifetime flags on model ..." error has happened for months now and hasn't broken anything. Therefore, we can suppose that it's unrelated.
