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

Regions Whitelist for app in dashboard

It seems that this whitelist is pointless because I set it on the dashboard for my app and use "PhotonNetwork.ConnectToBestCloudServer" and it works, let's say it connected to the "us" server. Now I...

View Article


Image may be NSFW.
Clik here to view.

Layout game clash royale ! Matchmaking how to make ?

Can you suggest me ? Please !

View Article


PhotonNetwork.Instantiate returns always the same localposition

Hello, I have a very strange issue and I don't know how to correct it.I have an array in which I have different gameObect with different position in my screen. But when loop in my array and instantiate...

View Article

Positioning players as they join a room/scene

Hi,I have a mechanism where a group of players are all transferred to a new room/scene at the same time (they all get an RPC call to disconnect and reconnect to a specified room). Could someone help...

View Article

Don't destroy player if internet connection is lost

hello developers,whenever the internet connection is lost my main player is destroyed (obviously because it have a photonView attached).Is there any way by which I can prevent this from happening ?...

View Article


Image may be NSFW.
Clik here to view.

Messeges - How does Photon count them?

Basically, I'm working on MOBA game.I have notices something very interesting:When I use multiple RPCs in one frame, the messeges counter shows that messeges number grew only by 1.The same time when I...

View Article

P2P on PUN

Hello, I want to create a P2P game using Photon, is it possible to set up PUN to work with NAT punchthrough to connect players directly instead of using Photon's relay servers and depend on the CCU...

View Article

How do I add components to the PhotonView ObservedComponents list on runtime?

For my game, I need to dynamically add and remove transform syncs.So far it works, but I always get a NullReference error when I try to add my transform sync to the list.This is my code:PhotonView RPV...

View Article


Spawning Enemy

Hello , i have a question about instantiate with Photon : I want to make a spawning system . How can i instantiate a prefab and see this prefab for all client ( Master too ) ? public void...

View Article


Multiplayer Turnbased game question

Hi all, Im quite new to Photon and I have a few questions.... I have a game made, launched and working called "Pidro" it's a 2 VS 2 cardgame and it's built it Unity, own server/backend(Elixir/Phoenix)...

View Article

Using PhotonPlayer vs Player's GameObject

I'm probably doing this all wrong but I keep finding I'm in the situation where I have a PhotonPlayer when what I really need is the instantiated GameObject, or vice versa! The list of PhotonPlayers...

View Article

How to switch Server Region in case Photon is down?

Hello,as probably everybody knows, EU was down yesterday for more than 2 hours -__- How to change the Region in Photon in case this happens again?Since I can't test this really I need to be sure that...

View Article

Cannot join/create room ... stuck at ConnectedToNameServer

My problem is intermittent. I have been testing Photon now for the past 5 days or so. Most of the time, everything works fine. Suddenly, without changes to my code, my players will fail to join/create...

View Article


Hacking RPC calls

I've recently been using Photon, and I was wondering if there is a way to prevent client from hacking RPC calls. I have basically implemented what seems to be a dedicated server where my game server...

View Article

Photon Room Capacity

Our project is an MMO requiring very simple player object synchronization (no animations and communication handled in our own back-end API). While it will be necessary for us to manage interest and...

View Article


US Server Down Again

Is the US Server Down again??????????????????? Same symptoms as yesterday for the past 13 minutes.

View Article

Help me? Player failed to join existing room. ReturnCode: 32760

I have two clients running on my machine, this has worked previously but has just stopped working.Both clients(unity client and built client) connect to the master server fine, I can make one client...

View Article


Checking room for matching player name

Ive come across an issue where i cannot join a room, if my clients have matching names set (nickname)Is there any way to check the player list and match current players name with that list to see if it...

View Article

Application Closing - Kicking players out of room

Hi all, I haven't been able to figure this out yet, I may be looking at it the wrong way. Currently I save whoever is the MasterClient as Host within the room's custom property, as well as their photon...

View Article

How do I authenticate users?

Hi,I am trying to prototype a game (my client is Unity), and I'm trying to authenticate users. The page on the subject at the main site is confusing at best, so I have no idea how to do it.What I would...

View Article
Browsing all 8947 articles
Browse latest View live


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