Update dropdown for all clients
Hi all, I'm at the end stretch of my project and honestly my brain is too broke to handle this simple task. I want to update what everyone sees based on what the master client selects from a dropdown....
View ArticleHow I can implement an enemy AI with navmesh in photon?
Hi, I am work in a FPS proyect with unity and photon, I tried to add enemies with AI and add photon view component and photon animator but is not working
View ArticleWhy is my scene not loading?
After the timer in my room scene ends, the masterClient is supposed to load the game scene. AutomaticallySyncScene is set to true in OnConnectedToMaster. But the scene never loads and unity freezes. I...
View ArticlePUN 2 wont connect to server
Hello everyone, been awhile since i've been around in here. Finally trying PUN 2 out with Photon Server. Well, i'm trying at least. I've been trying to connect to Photon Server for hours and I'm simply...
View ArticleGet a Player client with gameObject on scene
So I have few objects on the scene, instantiated with PhotonNetwork. My question is - How can I refer to real Player, that controls one of the gameObjects on my scene? How can I get customProperties of...
View ArticleRejoined an empty room with EmptyRoomTtl = 0
Hi Photon folks, I am working on an application where we are using Photon Rooms with EmptyRoomTtl set to 0. However, I was investigating a bug and noticed we have a (rare) scenario where all users...
View ArticleMethods after, PhotonNetwork.Instantiate()
How can i set parent for the network clients, //There i spawn the card GameObject newCardGO = PhotonNetwork.Instantiate($"OtherPrefabs\\{_cardPrefab.name}",Vector3.zero,Quaternion.identity); // and...
View ArticleWhy i can't move players with buttons?
I was making a multiplayer game test and everything was working fine until i wanted to make it for android but, when i added and programmed the buttons to move the player prefab, the player doesn't...
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 ArticlePUN scene loading shows Mulitple GamePlay(is Loading) option in Hierarchy.
Hi, I am working on a Multiplayer Game in which when I am trying to load my scene over the network using PhotonNetwork.LoadLevel(1), the scene is loaded on the clients but not on the MasterClient. And...
View ArticlePun 2 ranking list?
I am trying to make a simple ranking list. Every player has different progress, but I want that player can see other players' progress on list. Idea is that a text tells first player's progress, b text...
View ArticleXR VR and PunSimplr
hello, I am testing simple photon, which is very good, I would like to replace the keycode F with a button on my controller in vr with an input listener
View ArticleBetter understanding of OnPlayerEnteredRoom
Hi everyone. I'm runing out an issue. I have this code So my point is, when a player entered mu room, if i'm master client and if we are two players in a room, i make a array of string with players....
View ArticleGiving a random player a role (Among Us)
I'd like to recreate Among Us, but I don't know how I can randomly pick a player and give him a role (imposter, crewmate).
View ArticleSet opponent nickname
I created a game with 2 players (online). I would like to add nicknames. I added the owner nickname it was simple but how to add the opponent nickname without using the...
View Articleissue with animator view
im getting these 2 errors and i got no idea where its coming from since im not setting a layer index anywhere hopping someone cal tell me whats going on here cause this seems to be stopping my...
View ArticleAre there any best practices for sending Analytics about game to my server?
I have a game in development that has several mini-games. I created a room in Photon, and in that room, I can play several mini-games. I would like to count of how many times each mode has been played....
View ArticleThe name 'PunPlayerTag' does not exist in the current context
I am getting this error (The name 'PunPlayerTag' does not exist in the current context) for this code :using System.Collections.Generic; using Photon.Pun; using Photon.Realtime; using UnityEngine;...
View ArticlePunRPC shortcut lists not being updated automatically.
Hi everyone, i worked with a new project and tried PUN 2 with Unity 2019.4.23. And after added a new method with PunRPC attribute, the shortcut list has not been updated automatically. Only after i...
View ArticleHow to reflect latest data after rejoin the game ?
Hello there, sorry for my English. This is my first game in unity and photon. I'm making Ludo turn based game. In this game if one player's internet is disconnected for 10 seconds and other player...
View Article