Help For Issues With Newtonsoft.Json.dll
Some developers report compiler issues with Newtonsoft.Json.dll in Unity. PUN contains the Newtonsoft.Json.dll for some work in the Editor - not in the Player. Quite a few packages and projects use...
View ArticlePhoton Noob here - Need some help!
Ok so I've completed the basic tutorial and got some good knowledge, but I think I'm missing something very "basic" here. PUN gives me the options to sync all of the entities in my games. My players...
View ArticlePlayer[] is not reconized
I try to make a (Private Player[]) but it comes out marked in red and does not implement or recognize the libraries I need ... any ideas?
View ArticleChanges in PUN2 ReconnectAndRejoin()
I am trying to migrate a small project built with PUN Classic onto PUN2 and having some trouble figuring out if there are changes in ReconnectAndRejoin(), and if so, how to work with the new version....
View ArticleWrong game/peerCount in Photon javascript?
Hi, I made a little node.js script to retrieve player and game counts from all region master servers. It seems fine but it doesn't show actual player numbers from the game. It seems it only counts the...
View ArticleGet players in each region
Hello, I'd like to display a list of available regions and the player count in that region. Is this possible without connecting to every region and getting the lobby stats from there?
View ArticleI have problem with player's camera
Hello everyone, I have problem with camera and i use photon networking. When player join to game all players have same camera how can i fix this? Code Here: https://pastebin.com/NwiMENVh
View ArticleHow to sync a variable through Photon
I need to sync a variable so all the players have the same value. I have tried with something like this [PunRPC] void Setting () { I = somevalue; //I Is my int } And I call it the following way:...
View ArticlePUN Syncing is terrible ...
I'm gonna put this short. My syncing is terrible - the other players are gliding around, and stops moving about three seconds after actually stopping. I'm a tad bit new to networking, but here is my...
View ArticleBest way to reconnect to Master Server after timeout?
Hi I would like to know what the best way is to reconnect to the Master Server when the client times out. Currently I start a coroutine at .OnDisconnected() that calls .Reconnect() every 2 seconds....
View ArticleHow to smooth this moves? Online seems to be lagged.
//Basically the game is a sphere in a 3d terrain. But when online mode the other spheres viewed from my pc are lagged. using System.Collections; using System.Collections.Generic; using UnityEngine;...
View ArticleLimit Number of Player in a Room
Hi Everyone, I am developing a multiplayer game where a player create a room with the 100 Max Player. And all other players join the same room. Is this possible that 100 players can connect with the...
View ArticleIs there any way to interact other player via an object?
So the interactions are going to be via doors. For instance, a player goes and interacts to a door and the owner of that door dies.
View ArticleHow to add a PhotonView by script
Hi guys, I want to add a PhotonView script to my gameobject, I have tried with this.gameObject.AddComponent(); , but when I use it, it throws null. What Am I doing wrong? Thanks
View ArticleAll players in just one room?
I've been wondering if it's actually possible to make all players connect to the same room no matter the amount?
View ArticlePaged GetRoomList?
Is there a way to get a list of rooms by page, eg: if you had 1000 rooms, then asking for page 2 with 100 rooms per page would give you rooms 101-200?
View ArticleCan't LeaveRoom OnApplicationPause Android
I am having a problem when calling LeaveRoom() in the OnApplicationPause(). When I pause the applicaion(hit home button in android), the player doesn't leave the room on the screen of the others...
View ArticleRPC Parameter is null
I have a code in my Unity game, I'm using Photon's PUN2, and I wanted to call an RPC function: if (SLock == 0) { print("Trying Setting RPC"); //PV = gameObject.AddComponent() as PhotonView;...
View ArticlePUN2 RPC Calls Unity 2018.2, PUN2free
For some reason when I'm trying to use the RPC Tool it won't locate the PunRPC that i have tagged, was the PunRPC tag changed in some way? I'm unable to find anything on PunRPC in the migration notes....
View ArticleParenting an instantiation (PUN2)
Is there a way to parent an instantiated object? would i need to call it as a gameobject and then parent it after instantiation? if so instantiating things as a game object doesn't really work, by what...
View Article