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

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.

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.

Unity Problems with Photon Connection Problems

2021-08-17 12:59:47

When i try to "play" the game an error message with yellow pops up saying:
"PUN is in development mode (development build). As the 'dev region' is not empty (eu) it overrides the found best region. See PhotonServerSettings.

UnityEngine.Debug:LogWarning (object)"

I know from tutorials that i should get a message saying: "Received your UserID from server. Updating local value to: [Number]"

But i don't get that message...

What have i not done correctly? why don't i get the connection log?

using UnityEngine;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine.UI;

public class NetworkScript : MonoBehaviourPunCallbacks
public static NetworkScript lobby;
public Button joinPlay;
public Button cancelSearch;



2022-01-05 21:00:05

Same Problem

2022-12-28 04:06:08

This is a harmless warning.

you can find a ScriptObject file in your project as this path:


This is the setting for photon, the "Dev region" will has a default value which is "eu" for your region. You can delete the field to make it empty, so that photon will choose the server base on network speed.

Back to top