It takes time when I re-enter the same game-room
I am developing a Unity game app with PUN. My problem is... at first, two players are OK with getting into the game. However, when one of them gets out (using PhotonNetwork.LeaveRoom()) and tries to...
View ArticlePhoton RaiseEvent and returning data from PlayFab CloudScript
Hi,I have a game linked to PlayFab that uses RaiseEvent with ForwardToWebhook true, and it correctly calls the Cloudscript.My question is, how can we correctly return data from the CloudScript call?I...
View ArticleSet interest groups in RPC.
Is there a way to set which interest groups receive an RPC?For example in my game I have a sniper rifle, obviously I want the sniper rifle to shoot further than my shotgun. So while I fire my Sniper...
View ArticlePlease I need Help with my setFloor system
Hi I'm green in unity and too in PUN I'm trying that when a client change of floor in the map, this change only affect this client and not at all clients.I'm using a script in a Trigger2D to send a...
View ArticleNullReferenceException: Object reference not set to an instance of an object
Well, after searching the Internet for this answer, I can not figure out how this is happening. I have seen forums discussing that you need to Instantiate the object, but I can not get my head wrapped...
View ArticleSystem.Buffer.BlockCopy error in Fabric
Hello,We have an issue with our mobile game, image above shows the error. 128 players effected by this 'Non-Fatal' exception,and its increasing slowly,Any chance to fix this issue? We are using...
View Article"OnConnectedToPhoton" and "OnConnectedToMaster" not getting called
Hi there,I have a question that I need help with. I'd like to first know if first I have the correct approach and secondly if I do, what am I doing wrong? In my game, at the start the user first...
View ArticleTrying to set the camera and children/scripts on the camera to isMine but...
I've recently added a new look around script(from the standard assets).Now instead of the camerascript being on my player (and being started in ThirdPersonNetwork script) (which is on my player) I have...
View ArticlePUN onPhotonSerializeView lag between bigger and bigger
I'm using Photon standalone server and Unity to make multi-player game in Unity. However, I get trouble with photon onPhotonSerializeView, my code is:I want to get lag of synchronization. At the...
View ArticlePhoton room questions
Hello guys,is there a way to create properties of a room which are visible to all players in a lobby? According to other posts the Room options are only visible to players of the current room, can I...
View ArticlePhotonChat
with PhotonChat I can have an option where the player clicks on a person's name to display a menu to call her for a match?I need ideas, I've seen many games have this..
View ArticleTransfership set to scene but gameobject still gets destroyed when master...
Hi, I'm trying to manually instantiate a scene object and sync it's transform using Photon Transform View, everything works great and it's syncing , but the only problem I'm having is even after...
View ArticleHow to get scene load progress when using photonnetwork.loadlevel
Hi, I use photonnetwork.loadlevel to load my scenes and I have it set up so that when the master client switches the other players in the room automatically switch as well.Usually in unity to do a...
View ArticleI can use a room to be a lobby ?
my idea is that doing this I could keep everyone connected and with the chat running via RPCHas anyone had this experience?
View Articlecan't understand sendRateOnSerialize
Hi there,I just did some profiling on the OnPhotonSerializeView method to see if it was called the correct number of times, and the results seem weird to me:let's say my settings are: SendRate =...
View ArticlePhotonChat
I need a system to call chat people for a match, in other words send a popup message to a person by clicking on their name in the chat, and I do not know how to do this.i need idea =/
View ArticleUsing photon (how to synchronize) with other types
Using supported types I've already learned.And unsupported types you Serialize / Deserialize.But how do you set these values in my components?In my current project, there is dynamic ground.The sprite...
View ArticleWebRPC Message Size Limits
Hey guysI'd like to ask one of the Photon developers if there is a limit on the size of a WebRPC message. At this point, it's still hypothetical, but we're looking at some way to upload some userdata...
View ArticleWebGL/WSS: Error: Abnormal disconnection after having isMessageQueueRunning =...
Try it yourself: http://trail-demos.s3.amazonaws.com/photonbug/index.htmlUsing PUN v1.90 and Unity 2017.4. There is one simple Script running: public IEnumerator PrintState() { ClientState lastState =...
View ArticleWebhooks / load gamestate
Hello,I'm at a point where I want to load a gamestate for a rejoining player who previously got disconnected. If I use a web server and webhooks to restore the gamestate, how much of the work is done...
View Article