Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

One of 2 clients gets duplicate OnEvent in PUN when using a self hosted server plugin

$
0
0
I have created a plugin self hosted server for our game and everything works fine except when 2 users are connected, user #1 will get duplicate events but user #2 does not. If I switch which computer connects first the problem also switches. I did some debugging and the plugin sends 1 copy of the message but the PUN unity component gets 3 separate events raised. Anyone know what could be causing this? Both machines are physically on the same network as the server so network latency should not be an issue.

Viewing all articles
Browse latest Browse all 1557