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

Fetching Friends Status

$
0
0
Hello,

I've implemented PUN to my game. But I don't use any kind of authentication at this moment. Players assign themselves a GUID to use as PhotonNetwork.playerName, connect to Photon Cloud, then they randomly match. And after the match, they can add each other as friends. The problem is; when I fetch friend status with PhotonNetwork.FindFriends(), it shows all the friends offline (info.isOnline = false), although they are clearly online and in the lobby (with state of "JoinedLobby") at that moment. Is this because friend feature doesn't work without authentication? Is there a solution to this?

Thank you.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



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