Domain reload
It's most likely not a big issue to most people, but everything in my project is built on the disabled domain reload, which was implemented by unity pretty long ago, and if i recall correctly all asset...
View ArticleVideo Stream from MasterClient webcam to others
Hi, I am trying to build an application where the MasterClient is streaming video to all other clients, while the scene is being played. This application has to run on the web browser and since the...
View ArticlePlayerRoomIndexing.cs utility script
I am needing to identify players using the PlayerRoomIndexing.cs script for the classic version. I have attached the script to an empty game object in my scene, and from the scene view everything seems...
View ArticleLatency and High Ping
Hello everyone, I am working on a fighting game. The game is a one very fast track game in which I have a 1v3 situation. I am from Pakistan and I am using Asia server but I am having a very high ping...
View ArticleOnCreatedRoom() and OnJoinedRoom() not being called
Hi, I am new to PUN 2 and are making my way through trying to set up my first room. I have managed to setup my Unity project so it connects to the PUN 2 server. However when I try to CreateARoom,...
View ArticlePhoton offline mode?
Is there a way to use Photon Library in offline mode? I am trying to access two android devices that are connected to a single hotspot without internet. Is there a way to achieve the communication?
View ArticleOnPhotonSerializeView not updating properly [Values Pauses or jumps around
So I am using the OnPhotonSerializeView to sync our following Parameters. This script is owned by Master Client public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) { if...
View ArticlePlease help, syncing door rotation problem
i've been posting so many quetions but with no reply, maybe because the scripts that i've been using is kinda complicated, anw here's another working script but the only problem with this one is...
View ArticlePUN Asteroids demo not working correctly
Hi! I downloaded and imported PUN into a clean Unity project and checked out the demos. However, it seems that the asteroid one is not working and I can't understand why. The players are spawning, but...
View ArticleShowing GameObject for A Single Player
I was wondering if if was possible to show a gameobject on the scene for a single player. My intention is to instantiate and display this gameObject in the scene for Player 1 and not show it for Player...
View Article[Solved] Photon PUN broken in build, works in editor
Greetings. We ran into a strange issue today while making builds and it has us stumped. We pushed out 2 builds today on our game, the first build works perfect and is live. However, I realized I forgot...
View ArticleHow to make a list of rooms in Photon Unity Networking Classic.
Hello, I searched on the Internet. How to make a list of rooms. But all the tutorials used PUN 2. Does anyone know how to do this in Photon Unity Networking Classic? Thank you in advance for your reply.
View ArticleHow to assign PlayerRoomIndexing
Hello, I am using Pun Classic and I want to be able to assign players an index number using Exitgames.utilityscript. What I want to do is call the PlayerRoomIndexing script from my game script and be...
View ArticleHow to deal with one of multiple clients not receiving an RPC call for...
I'm curious as to what the best practice would be for something like this. Say you were making a networked checkers game with spectators. The game has two players and a spectator. Player A goes to move...
View ArticlePhoton and Loading Screens
Hi everyone, I'm bit confused on how to create a simple loading screen with Photon. I have the PhotonNetwork.automaticallySyncScene = true so all the clients in the same room join the same level...
View ArticlePhotonview.Owner null in OnPhotonInstantiate
I've got an interesting issue with the latest version of Photon 2 (updated today from the unity asset store, the trial version since i have a subscription online). Version is 2.19.1, lib 4.1.4.4. This...
View ArticleInstantiating a clone of a persisting player on room change
Hi, I have scenes loaded by addressables, also player prefabs by addressables. So,I can not use PhotonNetwork.Instantiate for player spawning. Instead I use the custom instantiation example code for...
View ArticleIos Cloud Build
Hi, I just updated to PUN2 (2.18.1) and Unity 2019.3.3 and I am having an issue with iOS builds created with Unity Cloud Build. OnDisconnected(DisconnectCause cause) callback where the cause is...
View ArticleGlobal Dictionary For All Clients
I am trying to share the share the data of player1 to player2 and data of player2 to player1. I made a dictionary to add player actor nubmer as a key and player data as value. when running my...
View Article