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

Constant disconnects! Help!!

Hello,I'm using Photon PUN with Unity in WebGL firefox browser.Photon keeps disconnecting when the game starts playing a video streamed from another server. To help diagnose the issue, I displayed the...

View Article


pun 1.80 - after calling Disconnect() the networkingPeer.State stays in...

My game is a multiplayer game, but have also a single player mode. After I upgraded to pun 1.80 I started to experience the following problem:When a single player game is started this code is executed:...

View Article


Network Culling Handler - Second player cannot see the first player

Hi,I added the CullArea, configured it, added the handler script to the characters. When the second player joins, he cannot see the first player(master), the first player can see the second player.if I...

View Article

Image may be NSFW.
Clik here to view.

Can not get my coloring of players with different colors to work

HiI'm working on a arena fighter game. I'm very new to PUN. Right now i have a "waitingRoom" where up to 4 players are waiting for the game to start. Then a player joins a room he need to get on of the...

View Article

PUN & SteamVR_LoadLevel

Descriptions:PhotonNetwork.LoadLevel(int levelNumber)/(string levelName): Called by user scripts to load/sync scene in Unity Used to stop the messaging queue and sync scenes between players...

View Article


Matchmaking Template

Hi,does anyone know a good template for PUN to do matchmaking things that are done in almost every game? Steam Integration, Room List, Friends List etc.?

View Article

Need an event callback for inactive players?

I need an event be fired when a player become inactive and when he\she rejoin to the room. IPunCallbacks needs a callback like OnPhotonPlayerInactiveChanged!

View Article

Bad sync performance in racing multipalyer (teleporting, lags, etc.)

I basically got the SampleScene with the skycar from unity and wanted to add multiplayer into it. Overall this works fine with PUNFree, but either the cars are teleporting all the time or they are...

View Article


Restart scene properly

Hi guys, I'm making a board game, and I use PUN for the multiplayer online game. But I have some weird issues when I restart scenes. For example, when the players both want to replay : - The master...

View Article


Image may be NSFW.
Clik here to view.

Animation Trigger not working but all others are.

Hi guys!So this is probably an easy fix, and im just being numb... currently I've set up the most base framework for my game. Im new to networking with PUN and am enjoying it thus far!My issue is...

View Article

Image may be NSFW.
Clik here to view.

Photon Animator View - What about Triggers?

I see there is probably no way to auto pull triggers by default with this script for animation. However since the Trigger section does not have any comments on how it should be handled in this class,...

View Article

lobby/team based/round multiplayer?

Hey guys, I am looking to get some insight on the most practical way to do team and round based Multiplayer with a lobby before the match starts, for example, each game needs a certain about of...

View Article

Some questions: Custom room and player properties. Sync some info in room....

Hello! I'm novice in Photon but not novice in Unity. I have some questions1.How can I add custom properties to room and get it?I was trying it: RoomOptions roomOptions = new RoomOptions();...

View Article


RPC XOR encryption

Hello, recently my game players began to intercept the data and change them. For protection, I added xor encryption. I wanted to see this method in future updates Photon.Protection was written by...

View Article

Moving the game avatar around

I have a setup where the game avatar is just a camera with the interest area in front of it to look from a top down at the world. I have code that moves the camera in relation to dragging (via mouse)...

View Article


How to Sync Movement with my own physics ?

Hi.I'm working on a 2D game (TowerFall Ascension-Like)I don't use the Rigidbody2D but i created my own physics (With this tutorial : https://github.com/SebLague/2DPlatformer-TutorialWhen i test my game...

View Article

Image may be NSFW.
Clik here to view.

OnPhotonSerializeView not fire in scene photonView?

Hi, I use photonView on a gameobject which is aready in scene. like this: In LocalPlayScene.cs :public void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) {...

View Article


Creating room w/o Joining for Integration Testing Purposes

I understand that when you create a room, you are automatically joined to it. However, I was wondering if there was a way to create an empty room programmatically with set of properties so I can write...

View Article

PUN connection error

Hi I am new to PUN and here. Sorry if the post is in wrong topic but,I created a game with pun. I can connect to server when i run game in unity but when i run the game after i build it does not connect.

View Article

Sort playerlist

Anyway to sort playerlist. I wana sort players with their kills key. Anyway to achieve this

View Article
Browsing all 8947 articles
Browse latest View live


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