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

How to create a squad/party system and join a game together?

We're introducing a new squad/party feature to our game and are having trouble conceptualizing how to do matchmaking with groups of players. The new mode will have teams of 2 to start, with up to 10...

View Article


Assign Player Index (GetRoomIndex) Utility Script

Hello! I am having a dilemma where I don't know how to assign each player there own index number. To call the PlayerRoomIndexing script I am successfully using the namespace 'using...

View Article


PUN Basics Tutorial - repositioning player after leaving the room doesn't work

Hi. I think I've spotted an error when following the Basic PUN tutorial. I also verified that this problem exists when running the completed demo from Demos folder. I'm starting two games, one in the...

View Article

How can i share list between two players?

I am trying to make turn based like chess but rpg elements each player has several characters. I wrote list1 and list2 to hold each player characters. But while each player has own lists. So there is 4...

View Article

How to save persistent player data to a 3rd party service?

Hello, I'm setting up my multiplayer game with Photon. I'm looking to save persistent player data (like skill rating) to an external data storage (like a database), but it's something I've never done...

View Article


Other player can't move through the first player..!!

Help me, My game is puck sling...parent had photonview component and child is pucks(5 puck) thi is my photon prefab. when initiating both players and 1st player sling puck at that momement when touch...

View Article

Laggy changing slider value

Hello guys.I have two scripts.First it is trigger when player get bool isRepair = true.If player exit trigger isRepair = false.In second script i change value slider. Second script: void Update(){...

View Article

Photon client server can't able to perform action

I have made a board game using photon but only master server 's move is showing

View Article


Expanding 999 limit for PhotonView.

I have much more then 1 thousand game object at single room, but photonView Max ID is only allow index of 999. I want to expand that limit. Is that possible? And if "yes", what restrictions it will...

View Article


Rooms, Unity Scenes and PUN

I've a map (a unity scene), from which players can choose a particular area, each area will be online multiplayer (like GTA Online), in these areas people can run around and see other players too. From...

View Article

PUN2 with no Internet connection cause errors

Good day, guys. I have the problem. When i use PhotonNetwork.ConnectUsingSettings(); with disabled Internet connection it causes 2 errors which i can't handle (try-catch doesn't work too): Connect() to...

View Article

Need help to enable/disable buttons for players.

Hi. I have a requirement where I will have 5 players connected to the same room. And when it is the first player turn the UI button should be enabled only to him and it should be disabled to all other...

View Article

[HELP] Storing PlayerInfo (Score, Health)

Hi guys, Im experienced with Unity but this is my first time trying out networking. I have made a menu and can connect, spawn and move both of the players individually. I've been stuck for a couple of...

View Article


Player Components being Disabled by photon

Hi, I have an issue where all my local players components are disabled on the root object. I parent my player to another photon object (owned by another player e.g a vehicle), when said object is...

View Article

Getting a missing reference exception on recreating or rejoining a room

So i'm building a basic card game and i have provided a button using which player can exit the game. The problem is when the other players exit the game as well and create another room to play again...

View Article


Player Custom Properties throws an exception

Hi, I have implemented the code below, to create new player properties.var customProperties = new ExitGames.Client.Photon.Hashtable() {{12, "twelve"}};...

View Article

Photon lagging on Wi-Fi

Hello, we develop a VR application in Unity3d and we use Photon PUN 2 for networking. Whenever we connect our VR pc's via our companys wi-fi we are randomly getting some very nasty lags in network...

View Article


PUN issue with playerlist

@Tobias I added few bots in the game as players byPhotonNetwork.CurrentRoom.AddPlayer(bot); //bot is derived from Photon.Realtime.Player now when the bot loses the game I want to kick him so I am...

View Article

Instantiating with RPCs

This is my first time using Photon PUN and I am running into a problem that I can't really solve. In my scene, I have three blue canvas and one red canvas. I am trying to instantiate a camera for each...

View Article

Want each client to set a parameter on network object once its created

So our master client creates a network object. There is one parameter in this network object which I want to change for each client depending on the state of that particular client. Initially I tried...

View Article
Browsing all 8947 articles
Browse latest View live