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

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


OnPhotonPlayerDisconnected not called after Disconnect() ?

Hi guys,I just spent a lot of time trying to figure out why my OnPhotonPlayerDisconnected was not called after the PhotonNetwork.LeaveRoom() on one client, and after 6 depressions and 12...

View Article


Destroyed Photon MasterClient or Event Error?

Guys, could you help me to solve a little issue? I'm getting this error here: MissingReferenceException: The object of type 'LobbyPlayerNetwork' has been destroyed but you are still trying to access...

View Article

OnPhotonSerializeView not Updating Correctly

Hello, I am attempting to synchronize the health system in my game using Photon. The problem is that every player always has full health, so a player only loses health momentarily and then it goes back...

View Article

OnPhotonSerializeView not Updating Correctly

Hello, I am attempting to synchronize the health system in my game using Photon. The problem is that every player always has full health, so a player only loses health momentarily and then it goes back...

View Article


can't understand sendRateOnSerialize

Hi there,I just did some profiling on the OnPhotonSerializeView method to see if it was called the correct number of times, and the results seem weird to me:let's say my settings are: SendRate =...

View Article

Image may be NSFW.
Clik here to view.

Can't trigger OnEvent()

Hi guys,First time working with PUN.Soo, I'm stuck on an event call.I really don't know why and I'm using most of the code from this tutorial on the Photon...

View Article

Oculus Avatar SDK with PUN

Hello everyone,We're testing out Photon for our new multiplayer Oculus application.I followed the tutorial on Photon's website "Using the Oculus Avatar SDK" here:...

View Article


PhotonView ID duplicate found

I have a gameObject in my menu scene and there is a script on it which it is for RPC methods and I need to not destroy it. Also because of duplication I try to destroy it whenever I leave the room and...

View Article


Architecture for Powerup system

I have a 4 player multiplayer race where players can use various powerups that help them, hurt others or generally affect the environment. I have it all working but I'm trying to improve the...

View Article

Analyzing disconnects of the master client

Hi!Is there a way to see what is in the queue? My master client sometimes gets disconnected when another player tries to join at the same time. I then see that ResentReliableCommands just keeps on...

View Article

Received OnSerialization for view ID 1002. We have no such P

Please help , I keep getting this error when i connect to Photon Cloud , I had search for a while for a solution but I had found nothing , I had no idea what had i change and get this error , before...

View Article

How can i set the map randomly when making a room?

hello!I am using PUN to make a competitive game. and i hope to load a map randomly out of 3 maps.i mean, not instantiating for random structure, but (such as game OverWatch) loading randomly certain...

View Article


PUN errors when building for WEBGL

Hi, I wanted to use PUN for my next game, but i'm facing problem when testing WEBGL build.When I try to us the chat. Here is my code: #if UNITY_WEBGL var protocol =...

View Article

Photon creates extra object for the connecting player.

It happens when a player disconnect and connect to the same server there spawns an extra player object only the connecting player can see. Tried my best googling it and looking at the manuals and demo...

View Article


Frequent disconnects and Rejoin

For our last two games we received frequents disconnects with either Client or Server timeouts. After investigating and analysing this for a while it appears that this happens whenever the devices...

View Article

Windows firewall update TODAY blocked RPC!

I have just spent to last 4 hours trying to work out some kind of weird bug with my game. I was able to see 2 toons running around on 1 PC no problem. I was also able to see then on the same PC no...

View Article


Help me with Error please

Hi I want to do multiplayer game and I have installed Photon Networking to my project, but there is Error Assets/Photon Unity Networking/Editor/PhotonNetwork/PhotonEditor.cs(483,164): error CS0619:...

View Article

Image may be NSFW.
Clik here to view.

Hello, i'm new and i don't know where should i post this

Well, method PhotonNetwork.countOfPlayersInRooms hint says... playerList.Count;http://prntscr.com/hd6rg5and should be playerList.Length;is it correct?

View Article

Image may be NSFW.
Clik here to view.

Best way to spam 150+ scene mobs with already 50 game photon views

Yesterday i instantiated 150+ mobs as scene object to test delay. Just with PhotonTransformView with position and rotation. minusIn MasterClient MOBs move from point to point with DoTween,...

View Article
Browsing all 8947 articles
Browse latest View live


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