How it's possible a number of messages per second in a room get higher than 15 * N² ?

Options
Hi everyone!

I was looking at the graphics trying to indentify why after the 6th player join the room it start to have a small laggy... Then I saw a lot of moment like this one:

-3 players online at exactly time 12:48 (no exactly but just for example)
-215 messages per second were sent at 12:48

I used to think the number of messages per room was 15 * 3 * 3 (in this case, because there was three players) which would be 135. Why it's says 215 in console graphics time?

I checked if there had 4 players some minutes before that and wasnt.

Another weird thing is our PhotonNetwork.sendRate is equal to 6. So should I thinkv the number of messages per second should be 6*3*3 ?

We are using culling too, which make everything weirdest.

Any analyise about this case?

Best Answer

  • Andrebirnfeld
    Answer ✓
    Options
    Just in case someone needs this answer:

    With RPC's, it's separated messages. Not counted in "sendrate". Sorry if it is too obvious.

Answers

  • Andrebirnfeld
    Answer ✓
    Options
    Just in case someone needs this answer:

    With RPC's, it's separated messages. Not counted in "sendrate". Sorry if it is too obvious.