Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

PhotonTargets.AllBufferedViaServer not for master switch

$
0
0
Hi,

am trying to buffer RPC's so all new people into the room get them.

Master creates a "race" with a number of variables sent to other players via RPC.
1. Master raises the RPC's using AllBufferedViaServer ... ok
2. others joining room receive RPC's ... ok
3. someone remains in the room
4. Master then leaves the room, master switches correctly,
5. if the old master rejoins the room, they don't get the original RPC's. ... why?

I also use PhotonNetwork.RemoveRPCs(pvScene); to clear the RPC's before starting a new race, seems to work correctly but mentioned in case the problem is related.

It appears that AllBufferedViaServer is acting like AllBuffered as per docs: https://doc-api.photonengine.com/en/pun/current/group__public_api.html

thanks for any input
Kingsley

Viewing all articles
Browse latest Browse all 15755

Trending Articles