Running Editor + Built Version (Sometimes) crashing on join/create
How can I diagnose a crash thats happening only on the built version? I've had 0 errors on the editor itself, hosting/joining/creating. However pretty frequently my built version freezes up and crashes...
View ArticleHow can i get a room's data by name?
I can't seem to find a function to grab a rooms data by name(for example player count) from what I see there is a GetRoom() in pun classic but maybe not in the new pun?(sorry if this is wrong place and...
View ArticleRaiseEvent suddenly broken after switching to Hashtables and...
So as the title says, I switched to hashtables in my customData for RaiseEvent, because there are some events I want to cache, and specific events I want to remove from cache (and not all - therefore...
View ArticleException: cannot serialize(): UnityEngine.RaycastHit
Hello, how i can serialize RaycastHit?
View ArticleIncrease send interval for specific PhotonView object?
Hi! I have a multiuser pen drawing app where the pen object's position and rotation are observed and synced around the room. However, the sync frequency is too low for it to produce proper...
View ArticlePUN2 Add/Remove/UpdateCallbackTargets implementation can lead to multiple...
Hello, During my connection sequence, I call AddCallbackTarget and things work - e.g. it's added at the next internal call to UpdateCallbackTarget. During my disconnect sequence I disconnect, then call...
View Articlerigidbody works only in master client
Hello, I made a 2D multiplayer ball game with Photon and Unity (max 2 players in one Room). The offline part is 100% working. But in the online part, only the Master client can interrect with the ball...
View ArticlePlayers can't shoot eachother?
Hey guys! So, I've been working with PUN for a while now, but whatever I do, I can't seem to get shooting to work. The problem is (by the title) that players can't shoot each other, and I have no idea...
View ArticleDisconnected at room...
Hello! I have a problem connecting to PhotonRealtime. after I create a room and go there, it throws me out in the lobby in about a minute. I thought that the problem was with my code, but the same...
View ArticleWhy Does photon Pun 2 only work locally on my computer and not on another...
I had it working at one point with it connecting to the server on two different computers. Then I upgraded to Photon Pun 2 and migrated everything over. it says it's connecting but on the photon public...
View ArticlePass ownership on disconnect.
Hey everyone. So my question is when a player disconnects, is there a way for the master to automatically take ownership of an object rather than the object being destroyed. The issue I'm facing is all...
View ArticleHow to detect collision ?
Hi, I am new to photon, And I've spent the last two weeks trying to make a very simple 2d shooter (like diep.io), Now I'm in the shooting phase :smile: , I've made the shooting mechanics using RPCs but...
View Articlephoton wont connect
im using unity 2018.3.14f and pun 2. On connection, photon will get stuck at connectingtonameserver and nothing will happen afterwards, no connection is made... I have reinstalled photon, restarted...
View ArticleBUG PhotonView has no method marked with the [PunRPC](C#) property! Args: Int32
everything worked well for some time anyone has any solution how to fix it and how is photonView spat out the error? private void OnTriggerEnter(Collider other) { if (other.gameObject.GetComponent() !=...
View ArticleCan i use unlimited server in Unity ?
Hi, Iam working on a game in Unity engien , and i want to know if i can use unlimited server ( that cost 175$/month ) in unity and if i can , it will be the same codes or different? and how can i...
View ArticleBuild Android project
is there any way to make my apk run under background . i made a chatting rooms .... But photonview , all connection . talking and chatting sound , all that gone if the app is on background . i tried to...
View ArticleHow to Fix connect with Master server?
Hi , Iam sufer from this problem ("Connect() to 'ns.exitgames.com' () failed: System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'ns.exitgames.com' ") This problem appear when i...
View ArticlePhotonNetwork.isMessageQueueRunning and SetRoomCustomProperties
Hi, I am using in my project PhotonNetwork.isMessageQueueRunning = false in order not to receive RPC before my client I ready to game. But if other client is setting values to CustomProperties of the...
View ArticleSceneObjects able to be written to by client?
So I have been stuck for the last couple days trying to create a simple pickup system in a multiplayer game, where when one player picks up an object it will be marked as active, and...
View ArticleCan't connect (clientTimeout)
I'm sure there's something ridiculously simple that I'm missing which I'm going to beat myself over afterwards, but I can't for the life of me figure out why I can't connect to Photon Cloud on my game....
View Article