Search code examples
unity-game-enginemultiplayerphoton

Photon, PlayFab, & Unity3d - Game won't run in Iran unless VPN is used. Works fine in other countries


I've a template (Unity) similar to 8 Ball Pool (Multiplayer). This template uses Playfab and Photon Network. I configured PlayFab and Photon, made a build and could play successfully online. The problem is that when someone from "Iran" tries to play it, it does not continue and remain to the initialization where (perhaps) PlayFab is being initialized. The game could run perfectly when VPN is used.

What should be done in order to make it play in Iran too? Thanks


Solution

  • Well. Its because Photon is American company and due to sanctions you cannot run it in Iran. If you still want to use Photon services in Iran, you can buy license for Photon and then host it on some server which runs in Iran.