How do I use RoomInfo?
In my script, I would like to check if the player count of a room and maximum amount of players allowed are the same. If they are, a new scene would load. After attempting to do so, I got an error...
View ArticleHow to sync a shader
Hi, I need help to sync a shader. The shader is transparent and I need help I tried to use method OnPhotonSerialaizeView() (and I did not forgot to assign to PhotonView) but that completly broke player...
View ArticleSQL Lobby Issue?
I'm trying to create a filter for my matchmaking to disallow users to play against themselves.I was able to create a filter for rank-based matches without any trouble, but I was only using the "C0"...
View ArticlePhoton Server join/create game problem
Hi, It seems there is a problem joining and creating rooms on a remotely running Photon 3 server. I'm using PUN 1.4 to create the connection. When calling PhotonNetwork.Connect() everything seems to be...
View ArticleAny introductions to Photon Engine with procedural terrain?
HeyI'm new to Photon Engine, but not to coding or procedural generation. Could you point me to posts or tutorials that show or explain the following topics? For simplification, let's assume an...
View ArticleHow to get CustomRoomPropertiesForLobby and CustomRoomProperties ?
Click a button to create room, pass roomOps to PhotonNetwork.CreateRoom, public void Confirm(){ RoomOptions roomOpts = new RoomOptions(); roomOpts.MaxPlayers = 2; roomOpts.CustomRoomProperties = new...
View ArticleHow to show players name in UI panel once game starts?
I'm trying to make a one vs one game, but I am having trouble displaying both players names. I have made a simple game scene, that launches only when 2 players are joined (min 2 players, max 2...
View ArticleIs there a way to get all or a specific amount of players not in a room?
Is there a way to get all or a specific amount of players not in a room? Then notify them of a new room being created if they would like to join?
View ArticleAuthentication token expired
Hi. I have updated the server, and after some time of inactivity of the client application started getting the error:Operation failed: OperationResponse 230: ReturnCode: 32753 (Authentication token...
View ArticleNeed a bit help with photon 4
I had this line of code: void Awake() { GetComponent().observed = this; }but i get an error when updated to photon 4 , is it removed , it changed?? (it worked perfectly before update)
View ArticleRequest: Allow null property values for expectedValues in...
Today I tried this: Hashtable propertiesToSet = new Hashtable();Hashtable expectedValues = new Hashtable();propertiesToSet["ex"] = 5;expectedValues["ex"] =...
View ArticleProblem with the physics of the Ball
A beginner's doubt! I hace a ball and a player 2. When player 2 kicks the ball it does not move. A ball has: PhotonView, TransformView, Rigidbody2DView. With the player 1 the kick work. What is...
View ArticleProblem with Sync position players (during bézier)
Hello,In my game it's possible for the player to use a Jumper to go from a position to another via a curve (I use a curve of Bezier).When the local player is using the jumper everything is going fine :...
View ArticleRequest: Examples for the PUN API.
Examples would be quite useful. Finding examples from others takes a long time if I even manage to get one. It would save me and others a lot of time. I hope those at photon will make this an addition...
View ArticleMatchmaking Template
Hi,does anyone know a good template for PUN to do matchmaking things that are done in almost every game? Steam Integration, Room List, Friends List etc.?
View ArticleBlack Screen after joining Game (Random Occurance)
Wondering what happens here?After I have "Joined" the game, I can play around for a bit. Then randomly, it will say "PeerCreated" and give me a black screen. I can only see my UI. This is for Unity 5.4...
View ArticleHow is FallbackSendAckThread thread-safe?
Hello, I have a question that's probably very basic about PUN. PhotonHandler maintains a background thread that ACKs every 100 ms. I can't figure out how it is thread-safe though. The...
View ArticleHow to show back of card to other players but only show face or front of the...
So I have a real-time card game of up to four players with a photon view and photon transform view attached to each card (52 cards) while also serializing when the front or back of the card is visible....
View Articlewhich Networking package should I use for my game?
I'm creating an online multiplayer poker game. Similar to zynga poker and pokerstars.Which unity networking package should I be using?? PUN or realtime?Ricky,
View ArticlePersistent rooms?
Hey there, we are wondering about having a persistent room, for example once the players reach 0, is it possible to keep the room open? If not, what if we were to setup a spare computer, which would...
View Article