Major RemoveRPCs problem
Options
We just updated to the newest PUN version and have a major problem.
For any reason RemoveRPCs(photonView) doesn't remove RPCs sent with photonView/OthersBufferd for a client joining in future. The photonView is of course the same for the send and remove.
This worked nicely in a previous version (mid 2015).
Any idea whats going on here? Known bug?
For any reason RemoveRPCs(photonView) doesn't remove RPCs sent with photonView/OthersBufferd for a client joining in future. The photonView is of course the same for the send and remove.
This worked nicely in a previous version (mid 2015).
Any idea whats going on here? Known bug?
0
Comments
-
Just a few more details:
Client A joins the game
Client B joins the game
Client A sends a RPC to a photonView to all other clients with OthersBuffered (e.g. GotKilled)
Client B leaves the game
Client A removes this RPC a few seconds later with RemoveRPCs(photonView). Client A doesn't leave the game.
Client B joins again
Client B immediately receives the previously sent but already removed RPC (GotKilled)
In older photon versions Client B did not receive the already removed RPC.
Hope this helps.
0 -
We will take a look.0
-
Hi,
I can confirm the issue with a repro scene. Hopefully the fix will be straightforward.
Regards,
Jean0 -
Thats great to hear! I did a double check in the meantime and can confirm that the bug doesn't occur with photon v1.60 but occurs with v1.67.jeanfabre said:Hi,
I can confirm the issue with a repro scene. Hopefully the fix will be straightforward.
Regards,
Jean
Thanks!0 -
Thanks for reporting this issue. It really is a bug in PUN (since v1.66).
We just submitted a fixed v1.68 to the Asset Store and it should be available within an hour or so.0