Auto connection after leaving a room?
Hey there. When I leave the current room by calling PhotonNetwork.LeaveRoom(); the PUN automatically connects to another (or the same) room without even asking if i want to! Here is log So it seems...
View ArticlePhoton Handler Dispatching same event twice
I called Photon Connect and it called OnConnectedToMaster. In that I called PhotonNetwork.JoinLobby(). Issue is that OnConnectedToMaster is being called twice.
View ArticlePhotonNetwork.GetRoomList Disappeared? [PUN 2]
Hey everyone, I have just upgraded to PUN2 and I already saw a few stuff (API wise) that were changed (it is a real shame the doc is not fully updated) but It seems like you cant call...
View ArticleDo serialization messages from multiple PhotonViews with the same owner get...
I'm curious about this with regards to the msg/sec limit.... If I am the owner of multiple objects with PhotonViews in the scene, do those serialization messages get bundled before being sent to the...
View ArticleSync loading for every players before spawn in Scene
Hello everyone, I am trying to make synchronous loading so that after number of players in room reach 6 players then the game will go to loading scene before spawning players at same time in arena then...
View ArticleHow to synchronize spawn in arena for each player then start game?
Hi everyone, I am trying to make a 3v3 brawl arena game. At the moment after the number of players in room reach 6, I use PhotonNetwork.automaticallySyncScene = true and PhotonNetwork.LoadScene("Arena...
View ArticleSync Chosen Hero in Character Selection Screen Between 6 Players in Room
Hi everyone, I am stuck at the moment on how to sync Chosen Hero in Character Selection Scene between 6 players. It's an arena brawler game and those 6 players are divided equally 3 players in Team Red...
View ArticlePhoton server and PUN 2 samples
tell a newbie please. Installed the last server. I installed the last PUN2 in the new unit project. Set the correct connection address in the settings 127.0.0.1:5056. But when I try to connect, I get...
View ArticlePUN 2
PUN 2 As of now, PUN 2 is in the Asset Store. There are two packages (free and plus) which contain the same content, so everyone can just get and use the Free package. Upgrading PUN 1.xy Plus to PUN 2...
View ArticleI need Version 1.9.1
I need a download link to version 1.9.1 free. Photon just changed it to classic v1.9.2. I am using playmaker. It requires 1.9.1 currently. Does anyone have the link?
View ArticlePhoton is connecting to different servers
I am connecting to photon using ConnectUsingSettings(). In the Unity inspector I have no server address specified. I was not able to see rooms in some clients. After much investigation I discovered...
View ArticleInstantiate and Unity's new Addressable Asset system ?
IIRC, Photon.Instantiate requires a prefab to be located in a Resource folder and is called using the name. Unity's new Addressable Asset system...
View ArticleJoinOrCreateRoom adds two clients as master in the same room
I noticed after using JoinOrCreateRoom (PUN2) that both clients were added to the same room as ActorNumber = 1 and MasterClient = true. Is this something we are suppose to account for or is this a bug?...
View ArticleGet Room Custom Properties In Lobby
Hi guys, I want to get the properties of a room when I'm in lobby. I'm sure that the properties are setted to show on lobby with adding a string to it. But, at the moment to get this properties...
View ArticleAutomatically Reconnecting on Leaving Room
So i am trying to leave a room so when i leave it i reconnect automatically here is the Code i am using // Called from a button or somewhere external public void LeaveRoom() {...
View ArticlePUN2 Networked Scene Object, RPC calls fail when scene loaded a second time
Probably doing something wrong here, any help greatly appreciated. I have a PhotonView in my scene and I am calling a couple of RPCs on it. This works successfully the first time I load the scene,...
View ArticleCan PUN connect to JavaScript Room?
Hi, We are using Unity PUN for a crossplatfrom game, but also HTML5 (Canvas, not WebGL) JavaScript version of the same game. Im trying to connect the 2 SDK's together, using the same AppId, AppVersion,...
View ArticleHow to use the cloud feature?
So I registered my cloud application and downloaded PUN 2 Free from asset store. But when I open up the PhotonServerSettings, there's no option for Cloud? It seems like the options are only for a self...
View ArticleHow do I grab Player Scale on Collision?
I want to check scale if network player on the collision of an enemy. Or If I can Just check a Score or something? Then Based on the score will depend on whether an enemy destroys. Here is how I have...
View ArticleGenerate a random in start and sync across network.
My problem is, I want to generate a random number in Start and sync it across network to be used as spawn position. I have seen that only one of the players should generate that number and others...
View Article