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

Delay on PhotonNetork.PhotonViews accessibility?

Not sure what the intended behavior is, but it seems that PhotonNetwork.PhotonViews is not immediately updated when a new player joins the room. Here is what I see: - I connect with the master client,...

View Article


PUN Launcher: OnConnectedToMaster() called when I am trying to leave room and...

I have been following along with the PUN2 tutorial and had just finished implementing the changes that would allow me to get back into the lobby, however whenever I click my "leave room" button I don't...

View Article


PUN2: Does not compile when targeting WebGL

Assets\Photon\PhotonUnityNetworking\Code\PhotonNetwork.cs(1085,5): error CS0103: The name 'SocketWebTcp' does not exist in the current context Same on line 1116

View Article

PhotonView.isMine is broken.

Hi. I've been making a game for my portfolio that I can use for my college interview, and for the past month or so making my game with photon has been great. Until today, everything was running...

View Article

What happen if I exceed 1,000CCU for $185 plan?

Hi, sorry for the noob question, I'm very new to Photon. it said on the pricing list that $185 MONTHLY can support 1,000 CCU, and "up to 5,000 CCU max" #1. Does this mean, when 1,001st player...

View Article


Is PUN with Master Client system good for 20 players battle-royal style game?

I'm making the battle-royal game that have 20 players on the same map. and there will be the collectable item, NPC, traps on the map. (and may be another interactable object) It will be on the mobile...

View Article

Need help. How to enable lobby statistics?

Hello, I want to use the OnLobbyStatisticsUpdate() function. But the documentation says you have to enable lobby statistics. The docs say do this: PhotonNetwork.EnableLobbyStatistsics = true; (Which is...

View Article

How does RpcSecure work?

In PUN 1.9, how does calling RpcSecure() work when encryption is set to true? What is actually getting encrypted? Does the client encrypt the data for the parameters, send the encrypted data to sever,...

View Article


If my game get more then 20 CCU what will happen?

Will my players be able to play while i do the payment to increasse? will my game not work at all while the payment is not done?

View Article


If my game get more then 20 CCU what will happen?

Will my players be able to play while i do the payment to increasse? will my game not work at all while the payment is not done?

View Article

Asteroids Demo Won't Connect From Another PC

I've tried testing the asteroids demo with my friend and it connects to the master server and joins the lobby but we cannot join nor see a room the other person creates. It only seems to work if both...

View Article

Master client not in sync

Hi, I'm new to Unity and photon here so I apologise if this is a stupid question. At the moment I get two players joining a room so you can see each other. This room is the 'waiting lobby' where both...

View Article

Need help, passing list into coroutine

Hello, so far everyone on the forums has been super helpful in helping me understand photon better, thanks guys. So my game is an online rpg and the attacks are all coroutines. Each attack always has a...

View Article


Pickup objects and sync with player

Hello, I am currently stuck on how to do a pickup system with the object being sync'd. Looking to do this the most efficient way with less messages being sent as I don't want to exceed the limit! Thanks!

View Article

Is using PhotonNetwork.room.SetCustomProperties expensive?

I wonder if using a lot of PhotonNetwork.room.SetCustomProperties is expensive. Would it be more expensive than using lots of FindGameObjectsWithTag? Unity says FindGameObjectsWithTag is kinda...

View Article


Disconnection followed by stuck reconnecting/disconnecting...

Photon seems to be working perfectly for the most part, but we're getting these random disconnects, 'ClientTimeout', 'ServerTimeout', etc. but my game would never be able to reconnect again (which...

View Article

RPC problem

I do not understand what is happening I have correctly declared my method https://ibb.co/DgVcVd5

View Article


PhotonView with ID 2001 has no method marked with the [PunRPC](C#) property!...

This is the error i am getting PhotonView with ID 2001 has no method "RPCFunction" marked with the [PunRPC](C#) or @PunRPC(JS) property! Args: Int32 and this is the Code i am Using public void...

View Article

RpcTarget.AllBufferedViaServer

Hei, Using PUN2 I have some RPC calls in my application that are vital to be called to ALL players who join late, and in correct order. The object is a scene object. They "TransferOwner" when a player...

View Article

Turn Based game not in Sync

I am making a turnbased game using Photon classic. Everything is working fine, player creates a room, other player joins and both players can play from start to end. The problem is with synchronization...

View Article
Browsing all 8947 articles
Browse latest View live


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