The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our
Documentation

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Read More on
Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

GetRegions Failed Error ( GetRegions failed. Can't provide regions list. )

prawinb
2021-03-16 08:10:21

I am using PUN 2 in latest version of UFE (Universal Fighting Engine). I am using Photon Cloud Service. I am adding App Id according to the document at https://doc.photonengine.com/en-us/pun/v2/getting-started/initial-setup . But still I am getting following Error.

Could you please help me in this.

Comments

JohnTube
2021-03-21 14:23:10

Hi @prawinb,

Not sure how do you connect (which method do you call) but you should set the AppId before connecting.

If you use PhotonNetwork.ConnectUsingSettings:

This is done in ServerSettings ScriptableObject via inspector field from Unity Editor.
or via code: PhotonNetwork.PhotonServerSettings.AppSettings.RealtimeAppId.

If you don't use PhotonNetwork.ConnectUsingSettings:

Set the AppId in PhotonNetwork.NetworkingClient.AppId;

prawinb
2021-03-21 14:46:58

Hi JohnTube,

Thanks for the reply. You are correct. AppId was not set before connecting. I set AppId by assigning it to NetworkingClient.AppId and the error is resolved. Thank you.

Back to top