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

Exceeding bandwidth limits by a lot.

I am working in a game where physics is crucial, players are active ragdolls, so each player has 15 rigidbodies to sync over the network, put 10 players on a server and it will add up exponentially....

View Article


Image may be NSFW.
Clik here to view.

Critically Late Update conn: Data loss has occurred even for reliable packets

Over the past few days (starting Jun 16 and still ongoing), my PUN2 based game became very unstable, after a few minutes in a game I'm getting the following error and then stop receiving updates from...

View Article


Window > Photon Unity Networking > Tick Engine Settings is missing

After a clean install of Phon Voice (which includes PUN2) the option to manage Tick Engine Settings is missing:https://doc.photonengine.com/en-us/pun/v2/simple/simplecoreobjects I need this setting to...

View Article

My player properties are lagging one behind?

Right now, I'm trying to use player properties to set the color of my character. I have a series of 8 buttons with different colors, and if I click one, that's the color my character becomes.private...

View Article

Unity TransferOwnership problem

Hello! I transfer ownership of an item and than it has to be destroyed: if (GetKeyDown(KeyCode.E) && hit.transform.tag == "CollectableItem") { PhotonView itemPV =...

View Article


Image may be NSFW.
Clik here to view.

Photon keeps switching scenes back and forth without PhotonNetwork.LoadScene()

Since today, my game started showing this very weird behavior: I have a Main Menu Scene, and when i click a "Quick Match" button, it calls "JoinRandomRoom" and successfully creates or enter an already...

View Article

Can't make a room: CreateRoom failed. Client is on MasterServer

When I try to make a room, it always fails with this error message:CreateRoom failed. Client is on MasterServer (must be Master Server for matchmaking)but not ready for operations (State: Joining)....

View Article

Load New players directly to scene 2

Hi guys, noob question. I have 3 scenes: menu, lobby and game. Currently players can join the lobby through the menu fine, and when the game starts everyone gets instantiated into the game fine. What...

View Article


Why game object not instantiating on both player's views on the Photon Network?

I want the dice game object to be visible to both players but for some reason its not doing it. Can someone please point out the issue? The dice are visible separately in the views but not together in...

View Article


Leave room and change scenes

My problem is that I am making a game, and when I give start game, it changes me to scene 1, and the menu is in scene 0, so I want to leave the room and change the scene to be in the menu, but my...

View Article

Remote players synced with TransformView freeze/desync for over a second

My team has been playtesting our current game in groups of <7 players, and occasionally players stop moving for well over a second before teleporting to their correct position. The game is 2D, and...

View Article

Issue with Cached Event.

Hello there, sorry for my English. I'm working on "LUDO" turn based game. This is my first game with photon. In one case I'm not getting the cached event. And the case is that two players are playing...

View Article

PhotonView objects briefly visible before being destroyed.

I have a game where the master creates a room and enters it. Other players that enter after a while see all the other players for a brief moment, before they disappear (destroyed). This does not happen...

View Article


Image may be NSFW.
Clik here to view.

Player leaves the room for no reason

Hey, I'm using photon PUN for a school project, and, recently our player randomly decide to leave the room after 30 seconds or so... I checked the logs, and I sa that the issue was that the player had...

View Article

How do I sync character colors?

I'm trying to have a system where a player joins a room, picks a color, and their character is instantiated as that color. // public void OnPlayerButtonClicked() { string oldCharacterName =...

View Article


JoinOrCreateRoom failed

Hello, I am using PUN Free with Unity Pro for my IOS game powered by Unity. Roughly my code pseudo code is like that: in Awake method: PhotonNetwork.ConnectUsingSettings (string gameVersion); in...

View Article

Image may be NSFW.
Clik here to view.

OnPhotonSerializeView tries to do unexpected cast of type 'Vector3' to type...

I have a very simple photonView based object in my scene, which uses only the PhotonView and custom script like below: public abstract class MyCoolClassController: MonoBehaviourPun, IPunObservable,...

View Article


NullReferenceException at MonoBehaviourPun.get_photonView

Probably the most often error from my crash logs is caused by a null reference exception coming from PUN2. When I try to access photonView I'm getting an NRE coming from the code I don't control:...

View Article

Photon host migration and room creator rejoin room sync issue

Hi, I have these objects which are hidden in the start, but the host can show/hide these objects and other players see these changes. Let's say that the host unhid one of the objects and then...

View Article

Has PhotonServerSettings been removed?

I just updated to the recent PUN 2+ package and no longer have a PhotonServerSettings in my Photon folder. Is this the case? If so how do we change things like region, App ID, etc? Thanks, Nathan

View Article
Browsing all 8947 articles
Browse latest View live


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