Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

PhotonTarget.AllBufferdViaServer not working

$
0
0
Hi, I have a game where players need to navigate a maze and open doors. The problem is that players need to be able to rejoin the game. So to open the door I used an rpc with the photontarget allbufferdviaserver. But it just doens't do anything. The rpc is on a scene object and I also tried to make the photonview a takeover/request/fixed none of those options work. I presume this is because the rpc list from the player gets deleted on leaving. So I tried roomOptions.CleanupCacheOnLeave = false; but that breaks my autocleanupplayeronleave. Is there anything I am doing wrong? I really need this for my game! I hope someone knows a solution.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>