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

Photon server keeps kicking me off from room

Hi guys, I'm quite new to Unity and Photon, my problem is whenever I joined a room, I get kicked out from the room after one or two minutes. I saw some threads saying this behaviour is due to too many...

View Article


How to integrate PUN2 to a FPS controller

I don't really know how to explain this but how could I integrate PUN so that clients only control their own client, not others? I have this script attached to a camera: using UnityEngine; using...

View Article


Image may be NSFW.
Clik here to view.

My photon view Group change never stop after implement Network Culling and...

I follow the tutorial follow link. https://doc.photonengine.com/en-us/pun/v1/demos-and-tutorials/package-demos/culling-demo It work fine. But I see my photon view group change never stop and my message...

View Article

Custom Authentication Error

public void ConnectToPhoton(string s) { string userId = s; PhotonNetwork.AuthValues = new AuthenticationValues(); PhotonNetwork.AuthValues.AuthType = CustomAuthenticationType.Custom; if (s == "swat")...

View Article

Image may be NSFW.
Clik here to view.

Playmaker Action GetPlayerProperties called twice?

Hello, Throughout my tests I have been having small issues with learning PUN and Playmaker. The latest one isn't much an issue (or maybe it was/will be, and caused some of the headaches I had in the...

View Article


Teleport VR

Hello, i am trying to do teleportation in my multiplayer games. If there is one player in the room, the player are able to teleport. However, when there are multiple player in the room, the player...

View Article

PlayerList.ActorNumber problem

Good morning everyone, I'm trying to create a multiplayer application for unity with PUN2. This application is simple, first, you are into the lobby room and you create or join an existing room. Next,...

View Article

PUN 2, OnPhotonInstantiate isn't being called

Hi all, I was wondering how exactly do I get OnPhotonInstantiate to be called correctly? What I have right now is a script inheriting from MonoBehaviourPunCallbacks and is subscribed using...

View Article


PhotonNetwork.Instantiate with parameters works for MasterClient not for Client

Hi guys, English is not my native language, please forgive my mistakes :) I am really new to Unity Gamedevelopment and PUN. Currently I am working on my first project, which is a two Player Game with...

View Article


No connect to master server

This error began to occur to me without touching a single line of code, I am going crazy, it does not connect with the rest of the players. Can someone ask me a solution? OpJoinLobby is only allowed...

View Article

Players are disconnected (I think?) randomly

Let me preface this by saying this ONLY happens with the built game, and NEVER inside of unity. At random points, players are reporting that everything disappears (their character, everybody else's...

View Article

MissingMethodException: Constructor on type...

I found a post on the Unity forums but it didn't help me. https://forum.unity.com/threads/photon-unity-networking.101734/page-46#post-4747286 tobiass said: ↑ It's a case where Unity's stripping is...

View Article

Maximum number of players in a room

Hello guys I am starting to develop a game that, in the end, will require hundreds of players roaming the level, doing a quests and fighting each other in 1 on 1 matches. Is Photon multiplayer good...

View Article


The documentation is outdated

https://doc.photonengine.com/en-us/server/current/operations/debugging There is no PhotonNetwork.networkingPeer field in the current version. What should I use instead?

View Article

stream.ReceiveNext () not working when increase latency

Hi, I have 4 players working normally with my 30-50 normal latency. But when I increase latency of them all with: PhotonNetwork.NetworkingClient.LoadBalancingPeer.IsSimulationEnabled = true;...

View Article


Quick Question: Leave Room()

Hi! I have a little issue with leaving a Room. Problem described is dev testing in editor, not live. One instance of connection to Photon running. Flow: MasterClient creates a Room. MasterClient calls...

View Article

Detecting other player disconnection before server timeout

I have a case when detecting disconnection is really important so I can show to other players a dialog where they are notified that player has disconnected and they are waiting for him to reconnect. I...

View Article


How may I sync animation if using mocap?

I think PhotonAnimatorView doesn't fit in this case? What component should I use? Or do I need to sync the bone rotations by myself?

View Article

[Help] Networked Instantiation doesn't work

Hello Photon Community, I am having trouble with my networked instantiation. I am building a UI-only-Game. My Player-Prefab is basically an Image, that needs a Canvas as a parent. When I use...

View Article

Activate and deactivate gameobjects over network

hey all, i'm having problem activating and deactivating components across network. whenever i launch a rocket rocket deactivate from my side but i didn't deactivate on the other side over network.. i'm...

View Article
Browsing all 8947 articles
Browse latest View live


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