Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Browsing all 8947 articles
Browse latest View live

v1.74 (15. August 2016) Does not compile into iOS build

It won't compile if Api compatibility level is set to .NET 2.0 subset Error shown below:Failed running...

View Article


Lag compensation

I think that I read all the topics about this subject and no one solved my problem, so I need some help again. I try to lerp the movements of the others players, but the problem is that instead of...

View Article


1000 GameObject Limit and Server Lag.

My game is like Agar.io / Slither.io. There are two issues that i am facing,1)Photon restricts us for creating more than 1000 Gameobjects. (900 of them are static ). I want to create more than 1000...

View Article

ReconnectAndRejoin: AuthValues == null is not correct?

I am attempting to use PhotonNetwork.ReconnectAndRejoin() to get back in a room after a mobile user gets disconnected by the OS when the app goes to the background.It doesn't seem to work and throws an...

View Article

PUN Custom Authentication - Steam?

Hi,I noticed in the code for LoadBalancingPeer.cs, that there are three CustomAuthenticationTypes : None, Custom, Facebook, and Steam. I was suprised about steam, as I had not seen that documented in...

View Article


PUN not removing disconnected players

Are there any known issues with photon not cleaning up players when a player disconnects? I'm running latest version as of 7-25-16 from unity asset store. I searched the forums and couldn't come up...

View Article

Detected issue with Unity 5.4 - Changing scene - OnLevelWasLoaded() method

In Unity 5.4, OnLevelWasLoaded() method has been deprecated. Photon Engine knows this and has commented the method OnLevelWasLoaded() located at PhotonHandler.cs. However this causes that the method...

View Article

Unity PUN Basics Tutorial not working (leaveRoom)

I've been going throught the "PUN Basics Tutorial" and in the Part 4 I've noticed that the "Quit Room" button it's not working. Thinking that could be something I made wrong I've loaded the...

View Article


Image may be NSFW.
Clik here to view.

V1.74 + Unity 5.4.0p1 + UWP 10 Problem

Hello guys have problem with new version and unity UWP 10

View Article


Update playerName for FindFriends without reconnecting

Is there a way to update he playerName without reconnecting? From what I have seen is that you have to set the playerName before connecting.My game flow works like this for new players1. Player starts...

View Article

differentiate cloning objects with different tag names on PUNRPC

I try to change the tag names of instantiate game object on PUNRPC but it doesn't effect , tags names are not changing. This is the code i have used:-IEnumerator SpawnPlayer(float respawnTime) { yield...

View Article

How i get my UserId or a player UserId?

I used Custom Authentication. How i get my UserId retrieved from auth server? How i get UserId from PhotonPlayer of other player in the room (for example to add it to my friends)?

View Article

RPC ONLY for new players

Hi, i have a question, i want to create an rpc only for new connecting players.In my case when a player disconnects every connected player executes a functionpublic void...

View Article


Having errors when I added a function in the RPSCore.

I added EnemyHP.value = EnemyHP.value - local.GetScore (); in the RPSCore code.public void UpdatePlayerTexts() { PhotonPlayer remote = PhotonNetwork.player.GetNext(); PhotonPlayer local =...

View Article

Difference between RPC and RpcSecure

I would like to know what the advantages and disadvantages are for using either of these.

View Article


GameClose, Type: "Save" web hook

Hi,I originally posted this question to unity forum and redirected to here by tobiass.We are trying to use GameClose, Type: "Save" web hook.We are using custom room properties heavily during gameplay...

View Article

Photon 1.74 warning

I just updated my Unity project to Photon 1.74 and I am getting this warning.Assembly 'Photon3Unity3d' has non matching file name: 'Photon3Unity3D.dll'. This can cause build issues on some platforms....

View Article


MasterClient player not shown on all clients

Hello,Let me explain my game's scenario:Players are in the main menu scene, they matchmake randomly into rooms. When the room is full they select the character they want to play with and press the...

View Article

Send an array of int[] via RPC

I need to send an array of ints via RPCI tried the following, and it does not give an error, but the values do not get sent over properly:int[] myints=new...

View Article

How to works Photon Cloud?

Photon use relay server? Or clients directly send traffic to each other?Thanks for answer.

View Article
Browsing all 8947 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>