How to Configure Photon with Playfab Dedicated Server?

temurleng
temurleng
edited September 2022 in Any Topic & Chat

Hello,

I beg for your help. For a week, I am so desperate. Couldn't find any documentation.

I divided my Unity project to two. ServerScripts and ClientScripts.

ServerScripts deployed on Dedicated server on 'Playfab' and ClientScripts will stay in local so client can't access the ServerScripts.

Authentication is successful and photon token granted between Playfab and Photon.

So far, so good right?

But then what?

When I call below code

photonView.RPC("SetUserData", RpcTarget.AllViaServer);

Nothing happens.

How can i call RPC functions that deployed on MPS? What configuration do I need?

Answers