AllViaServer small delay
Hello guys ! I'm currently working on a multiplayer version of a game. I already have the room joining/listing working properly, and I'm having some trouble with the game mechanics.In our game, the...
View ArticlePhoton wont start on older Android devices unless I restart after game install
Hi there,I have a pretty weird and random issue. I'm trying to optimize my game so it works on older devices such as a Samsung Note 3. On the Note 3, when I first install the game, for some reason it...
View ArticleQueueIncomingReliableWarning and GameObject.Find
Hey all, I would like some advice as to how to resolve this issue I am encountering:Recently, I updated the game's code to have standard room joining and hosting (so player is in lobby, they can create...
View ArticleTwo Newbie questions
I asked in Unity forums but no one seems to be answering. I want to ask 2 questions related to PUN:1) Hello, new to Networking, my first multiplayer game, a top-down 2D shmup arena.I used PUN and...
View ArticlePUN having a weird issue / bug
Good day, I'm currently having a problem about Photon. I already created the game and it's almost ready to launch. The problema is when I test my game on one laptop (Two clients opened in one laptop)...
View ArticleVariable doesn't sync using RPC
I'm building a multiplayer game that needs to know how many players are in the game to assign the player number when someone new joins, spawn him in a certain place, etc.This is how the Inspector of...
View ArticlePhoton Instantiating previously loaded objects when I use ReJoinRoom
I am trying to rejoin a room (to support the case of the network connection getting cut when when going to the home screen on an iPhone)I am creating my room like this: PhotonNetwork.UsePrefabCache=...
View ArticleNewbie 2 questions
I asked in Unity forums but no one seems to be answering. I want to ask 2 questions related to PUN:1) Hello, new to Networking, my first multiplayer game, a top-down 2D shmup arena.I used PUN and...
View ArticleVariable doesn't sync using PunRPC call
Hi, I'm trying to Sync the number of players of my game, so I can set them into a position and so one. I use RPC calls to control it better and be more efficient.Here's how's the inspector of the game...
View ArticleOnConnectedToMaster not called when Auto-Join Lobby setting is checked
How to reproduce:On the PhotonServerSettings ScriptableObject, enable Auto-Join Lobby.Create a new MonoBehaviour and implement the Photon messages.On Start, invoke...
View ArticlePhotonView stating method doesn't have proper number of arguments.
I have many other [PunRPC] calls which work just fine. After modifying an existing call, it breaks. I'm not sure what's causing this. I went to the PhotonServerSettings and can see that...
View ArticlePhotonNetwork.Disconnect() Problem
Hi. I have a problem. I wanna load a level after getting diconnected from a room. But i can't do this PhotonNetwork.Disconnect(); Application.Loadlevel(); Because if i do that, i doesn't disconnect...
View ArticleCan't reference the hashtable
Need some help referencing a Hashtable I created in the awake function:So in the Awake function I am trying to set up the custom properties:public void Awake(){ ExitGames.Client.Photon.Hashtable props...
View ArticleIPv6 for Unity iOS Exports
Apple now requires iOS apps to support pure IPv6 connections.We tested PUN v1.75 and it supports IPv6, including the "Best Region" setting. If you use the Photon Cloud, you only have to make sure your...
View ArticleQuestions about the Photon Cloud script "PhotonStatsGui".
http://imgur.com/pqMSESaAfter the script collects data during one second, I display the data in GUI and reset the traffic - PhotonNetwork.networkingPeer.TrafficStatsReset ();In the room there are two...
View ArticleShow user level with Photon
Well, how wonderful. Im using Photon. Okay i have a playerprefs for the playerlevel. I have also a mask and a grid were you can see all joined players included there level. So when a player joined the...
View ArticleAssigning a Veriable to a photon-instnsiated object? .GetComponent?
Hi gang I'm using Photon instantiate to instantiate my Bombers, s their a way to use .getcomponent to set a variable on the Bombers Script?I know you can ();Bomber.Target = Target;with regular...
View ArticleSetting string[]{} means the client expects no plugin to be setup.
CustomRoomPropertiesForLobby()What plugin ?How to use it?Thanks for help.
View ArticleI have a prob for join random room
I set the customprops.I get the room's customProps in room is right, but it is empty in outside.print(inroom):Room: '00000000000000E0' visible,open 1/6 players. customProps: {level1=1}print(out):Room:...
View ArticleOptimize Messages per second
As in the documentation messages per second are calculated the following way:That is, for 30 players / room:30 players x (1 incoming request + 1 outgoing response + 29 events to other players) x 4...
View Article