SetInterestGroups doesn't do anything
Hi, I'm quite new to Photon, but I want to optimize the number of messages. I'm trying to make my playerController instances only listen to specific groups, but whatever i do, other players are still...
View ArticleShow "START GAME" button after all players connected.
Hello everyone, I'm very noob at programming and really new to Photon. I'm making a 2 players coop game with multiple lobbies and my problem at the moment is that I don't know how to make the "START...
View ArticleGetting my PlayerID
I know you can select players by joining order with PhotonNetwork.PlayerList() and do something with that.. But how do I get my ID exactly? I am making a cardgame and I want to know the first player...
View ArticleCode 32767 (Non token authentication is not allowed)
Hello, I'm working on a client's game that makes use of Photon. For the past months it's been working fine, but these last days I've been getting this error constantly : `OperationResponse 230:...
View Articlemultiplayer chess game, board data sync question
Hello, I am making a multiplayer chess game. I would like to ask what is the best way to share the board data? For example I have a 2d array of tile prefab objects that I am spawning the pieces on. My...
View ArticleProblem with my controller
Hello everyone, I have a problem with PhotonPun. With XRInteraction, and pun I created a lobby, so far ok, each player is instantiate the right color (of his choice). the avatars move independently,...
View ArticleHow to instantiate a copy of an already Photon Instantiated prefab ?
Hi ! I'm facing a little problem with the modding system in my game and PUN1. To be able to load mods and instantiate them over the network I have basic prefabs containing the PhotonView and everything...
View Article[Request new feature] Use C# enum:byte as a key of HashTable
I want to use enum:byte as a key for a HashTable. Ofcourse,, i dont want to write too much like: (byte)E.A ... I want to write directly "E.A" as a key ! Example code: public enum E : byte { A } public...
View Articleadd pun2 to unity
When I add pun2 to unity ,unity console appear below the tip, it means that I have the same name of the assembly, but I do not found Assets/Photon/PhotonLibs/netstandard2.0 / Photon3Unity3D. DLL this...
View ArticleBUG in PUN: Specified cast is not valid
We have a project that uses PUN to play multiplayer in Unity. At first we tried the free version and were able to work. But once we move on to the full plugin, we get stuck in the login stages. Attach...
View ArticlePUN2 Error code -2 GetRegions failed what can i do?
Hello, I've just recruited a unit project with PUN 2. However, if I belong to the master’s degree I will always get this error: GetRegions failed. Regions list cannot be provided. ReturnCode: -2: Empty...
View ArticlePhotonView or PhotonTransformView not working after using PrefabUtility
Hi together I am experiencing a strange problem and I hope somebody can help me as I have not found anything about it in any forum. I am trying to auto create Prefabs, which use the Photon Stack...
View ArticleSQL Lobbies Filter Not Being Taken Into Account
Hey, I am trying to get a matchmaking logic working with an ELO filter but it does not seem to work in the intended way. public void SearchRatedGame() { min = int.Parse(mmrTextInput.text) - 50; max =...
View ArticleMultiple PhotonTransformView's per Player - How to specify SerializationRate...
Hi, I'm curently thinking about, how I can optimize the msg/s, as I'm already going over the limit. My setup the following: I'm creating a multiplayer race game. Each player has his car and the car has...
View ArticleHow to get everyone's position on one user's end in real-time?
Greetings, I want to implement this feature for my project: each player has a "zone" of radius 1 meter. if any player in the room comes into my zone, then some event will be triggered by calling some...
View ArticlePlayerNumbering script issue
hi, I have an issue with using the PlayerNumbering script. I have attached it normally, but when I call the function p.getPlayerNumber(), I get indexes of first player to be 0 and second player to be...
View Articlepicking up/grabbing other network players
Similar to a game like Dead by Daylight or Secret Neighbor (which also uses photon) I want to know a simple way to allow for the player that is the monster to grab and pick up a player and sync it over...
View ArticleTransform or Rigidbody?
I am creating a 3D game in which players move quickly in straight lines on a 2D grid (similar to tron lightbike style games). The players will not be involved in any physics interactions (except basic...
View ArticleHow to allow only one player joining the room at a time?
Greeting, I found in some discussions posted 5 years ago, the list of players in the lobby isn't accessible. Then I'm wondering how to solve this issue: I want to implement a password system, and users...
View Articleif it can't connect
How do I show the error message if for some reason I cannot connect with the PhotonNetwork.ConnectUsingSettings() function. Nothing like OnConnectionFailed?
View Article