Cannot connect to Photon server in WebGL on a chromebook
I'm trying to build a multiplayer game that can run in WebGL on low budget chromebooks. In the WebGL game, when I attempt to connect to Photon's server's I get this message:Websocket connection to...
View ArticleMaster Client only connected, players list is OK. Clients connect, players...
Hi, I came across a really weird issue and I am not sure what is going on. Basically if I run my game with 1 client only (i.e. only the Master Client running and no other clients are running), the...
View ArticlePlan upgrade
I'm about to launch a game. Before launching, I'd like to study the realtime plans.Currently I'm using 20ccu (free) plan. Photon says 'We recommend you to upgrade before using it in production.'For...
View ArticleOPCustom error
im trying to add Operations to a selfhost server but when i try to use the opCustom command in unity i get a error.codeusing System.Collections;using System.Collections.Generic;using UnityEngine;using...
View ArticleHow to call punRPC to MasterClient
Hello,How would you call a punRPC event to be ran by the MasterClient?I tried withthis.photonView.RPC("PunKill", PhotonTargets.AllBufferedViaServer, thisPlayer.ID, new RaiseEventOptions() { Receivers =...
View ArticleInstantiate once or each time you enter a new room?
After connecting to Photon and instantiating your local player, are you required to instantiate it for after each new scene/map load? If you don't destroy it on load, will it show up for the remotely...
View ArticleOffline to online JoinRandom fail
Hi, I'm having a really weird bug. Just recently I changed the game flow to start offlineMode = true, and later offlineMode = false and connect.I've searched around and did everything I can find.1....
View ArticleWhere is the best place to call PhotonPeer.RegisterType
Is there some sort of a callback that I can hook into or is there a best practice on where to call this method?From looking at the source I can see that Photon calls this once in it's constructor for...
View ArticleIs it possible to change a room custom property from the lobby?
GetRoomList does not work because it returns RoomInfo.
View ArticleTCP seems better than UDP
Been trying to work out why I'm getting such high pings of 30ms to the EU server from London, so I switched from UDP to TCP and now the ping is something like 3-7ms...Various forums have said if I am...
View ArticleHow to remotely disconnect all players?
Hello. We need to disconnect all players from the server remotely from another client. Is there such an opportunity? We tried CloseConnection(), but player didn't disconnect.
View ArticleFast collisions with Photon Rigidbodys (Golf game)
I am working on a networked golf game and trying to add collision between the balls. Each player has a ball prefab with Photon components like so: https://imgur.com/VrP10JcAs it is right now, the balls...
View ArticleTwo players connecting at same time, only one slot left
Hello, my rooms have a custom property for each player slot, in order to search for empty slots from the lobby. Once in the room, the player change the custom property value. The problem is that there...
View ArticleCalculate messages per second.
Hi, I'm want track the messages per second of my game, but the only way that I have found is checking the analytic panel in account dashboard of your web site, so I'm trying to calculate it in run...
View ArticleUpgrade to Unity 2018.2 and Photon 1.9.1
Hey guys,In the project we are working, we have a set of avatars with photon views (that are created at runtime when a new user connects). Before, when any user disconnected Photon automatically...
View ArticleHow to know whether player have joined room before when he disconnected?
I want to know that how to determine whether player joined a room and play before he disconnect(internet problem) and rejoin room. Or that just need use photonnetwork.reconnectandrejoin no matter which...
View ArticlePhoton Network RPC Random Range Problem
Hi, I'm working on a MULTIPLAYER QUIZ GAME. I'm using this script for choose questions int indx;private void Update()if(QUESTIONS){view.RPC("random", PhotonTargets.All);view.RPC("GetRandomQuestion",...
View ArticlePhoton Network RPC Random Range Problem
Photon Network RPC Random Range ProblemHi, I'm working on a project. I'm using this script for bot money; using UnityEngine; using System.Collections; public class Botmoney : MonoBehaviour { public int...
View ArticlePhoton Network RPC Random Range Problem
Photon Network RPC Random Range ProblemHi, I'm working on a project. I'm using this script for bot money; using UnityEngine; using System.Collections; public class Botmoney : MonoBehaviour { public int...
View ArticleProblems synchronizing players
Hi, I followed the PUN Basics Tutorials and set my player PhotonView components in the same way, but they does not sync correctly, (bad position and bad rotation) even when they are not moving, they...
View Article