How to use Join random room with filter
I have two working maps that i want users to be able to join , however i am currently using joinRandom so users just join rooms they are not supposed to join.Can you please help me with a simple script...
View ArticleInstantiating Objects in Wrong Scene
This is a recent and weird issue, but here's the layout of the game and where the problem lies.Player 1Scene 1: Players log inScene 2: Players choose characterScene 3: Objects instantiate here into the...
View ArticleQuestion regarding large 2D Arrays
Hello everybody, I'm curious how to deal with synchronizing large 2D integer arrays across clients. From what I've read, I think the best way is to somehow serialize them into a byte array and send...
View ArticlePhoton SDK Authentication failed. Check AppId.
when i try to connect to local Photon 3 server client says Authentication failed. Check AppId. how to fix that? tried Photon 2 there no errors in console but it still offline ah fixed, in your example...
View Articledont use photonnetwork.instantiate (my asset from cloud,so i cant instantiate...
my asset from cloud,so i cant instantiate gameobject in Resourcse flolder.i see doc said that you can manually Instantiate and assign PhotonViews.i add PhotonView component.but it not work.i think my...
View ArticleGetting SocketException: ConnectionReset when loading level
Hi!I'm getting the error message "Receiving failed. SocketException: ConnectionReset" in some cases when loading a level (big scene, it takes like 10 secs to load).I have a PC, a laptot and the...
View ArticleCutting Off New Players
I'd like to refuse new players from connecting, or even seeing the room as a candidate for JoinRandomRoom etc., after the game launches. I've tried reducing PhotonNetwork.room.maxPlayers to zero, which...
View ArticleAvatar Masks - remote animations not masked at all
Hello,I am working on a first person demo that uses mecanim animations. I have a single Avatar Mask assigned to my animation controller. The Avatar Mask targets the characters head, and I am using the...
View ArticleUnity Ownership Transfer
Hello everyone, I noticed that PUN provides the ownership transfer service - http://doc.exitgames.com/en/pun/current/tutorials/ownership-transfer - However I'm having trouble with the actual request...
View ArticleReconnecting to a Photon room after client timeout
Hi,I am trying to re-establish a connection to photon for players when they lose connection to the server. I'm only roughly starting out with this so far, but hit an issue I'm not sure about. So when I...
View ArticleCan you add distance based messaging?
HiI'm pretty sure after searching on the forum that it's not possible to send messages only to certain players based on distance. You only have the option of all, others and specific variable.This is...
View ArticleSwitching from mobile data to WIFI causes disconnect
Hello folks,As the title says, whenever I switch from mobile data to wifi the game keeps going normally and then I get disconnected after about 45 seconds.Is there anything in photon that might cause...
View ArticleHow do I track position and rotation for giant 3D rigidbody every player can...
Imagine 3D team based soccer with a huge ball with a Rigidbody on it. Every player can hit the ball. How do I make this work out in Photon?
View ArticleThoughts on how to approach creating a billiards (ball pool) type game
Hey all,I have been playing about with PUN and TrueSync trying to get a feel for Photon. I was thinking about how one might create a multiplayer pool game. If TrueSync is deterministic when calculating...
View ArticleIs it possible for room.PlayerCount to be the same for two joined players
Hello, i am making a 4 player board game, in which depending on your id (a value between 0 and 3) you are the blue player or the green player etc.The id of the player is set in the method OnJoinedRoom....
View ArticleDedicated Master Client vs Photon Server
(Sorry for long looking post, It is actually really short in context)Hello, I am new in network programming and concepts. However I have worked with PUN before, several times. I am familiar with PUN...
View ArticlePhotonNetwork.Instantiate vs RPC Instantiate
Hi there,I'm curious as to what the main advantages would be for using one over the other and when should each of these be used. I could spawn an object using PhotonNetwork.Instantiate or I could just...
View ArticleProblem in Unity5
I was using my PUN plugin without any error, until I upgraded to Unity 5. Now I have the following error when I build for Windows Store (Phone 8.1) Plugin 'Photon3Unity3D.dll' is used from several...
View ArticleSynching scene objects that don't move often?
I have a game with environmental objects like rocks that can move around from time to time.When new players join a currently running room the rocks are seen where they were instantiated and the last...
View ArticleUnity profiler: SendOutgoingCommands 98% CPU Usage.
Hi devs. I have one big problem, last time my game have bad freeze, my profiler write: "SendOutgoingCommands" Use 98.4% CPU. I not understand why. Need help. Thank and sorry my English. I am use Unity...
View Article