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

OnPhotonPlayerConnected not called back on non master clients?

Hi!I have a strange behavior with OnPhotonPlayerConnected event.The the client who created the room successfully receive OnPhotonPlayerConnected event, but the others who joined the room does not. The...

View Article


Array out of index exception?? Photon Animator View

So, i have a player prefab, which has photon view on the root, and the animator on a child of it, so i added and modified, photon animator view, to dont requiere photon view, and changed the photon...

View Article


Photon Server self hosted error

Hello,I wanted to try photon WebGL client with self hosted photon server. So in the Unity editor i put the server IP address, but when application runs (WebGL) in the editor, it gives...

View Article

how to change server side timeout delay?

when one client's wifi go to offline, server call OnDisconnect callback after 10 secondshow to change this value?

View Article

Image may be NSFW.
Clik here to view.

Connect to self-hosted master server and join room (WebSocketSecure).

Hi! I try to connect with WebSocketSecure protocol to my self-hosted server. (there are no problems with Photon Cloud)I connect to self-hosted server using port 9090 (Master) and it connects to lobby...

View Article


PhotonNetwork.time scale while in offline

In documentation, I found that when in offline mode PhotonNetwork.time returns Time.time.But when I set Time.timeScale to zero (e.g. pause) Time.time stops, but PhotonNetwork.time still flows.So...

View Article

Get Connection State of the ITEM in MMO

Hello, I'm working with the current Unity3DGrid example of the MMO application.I've noticed that if the player disconnects from the server and is not in the area of interest of other players, they have...

View Article

Issues With Photon and WebGL Unity

Hi,I'm new here so sorry if this is the wrong place for this.I have a built a costume photon server to run an MMO style game. The game is built in Unity. The server and project work fine when you play...

View Article


Issue building local game menu with PUN-Optimized Player Object

Hi,my game is running fine in Multiplayer using PUN. Now I wanted to implement a local Main Menu where the player can select the gamemode to play, search for other players, etc.I'm struggeling a bit...

View Article


No rooms founded on android build

Hello there! Updated PUN to latest version today (1.80). I have my game combined "PC + Android" builds (imagine PC car racing game with dashboard displayed on mobile device). And currently my android...

View Article

GetRoomList not working

Im using the latest version of PUN and the getroomlist isnt working properly even when using the DemoWorker scene.

View Article

Image may be NSFW.
Clik here to view.

[Best way to sync projectile]

Hello, I'm actually developping a weapon like in HL1. The principe is simple : - Instantiate a projectile with his own script - This projectile follow the mouse cursor with a certain velocity and a...

View Article

How do I change the child inside a Photon Network instantiated gameobject?

How do I change the child inside a Photon Network instantiated gameobject so that the change is observed by all other users too?This snippet doesn't work as expected: user...

View Article


Shared object synchronization in a 2d game.

All game mechanics are ready, now I am trying to embed it for the multiplayer gameplay. But I am having some issues with synchronization over network. I am using Photon Cloud and bought PUN+ to achieve...

View Article

Fetching Friends Status

Hello,I've implemented PUN to my game. But I don't use any kind of authentication at this moment. Players assign themselves a GUID to use as PhotonNetwork.playerName, connect to Photon Cloud, then they...

View Article


How to use RPC here to change child of photon instantiated prefab so that...

this snippet doesn't work. The change doesn't appear in other client's system. void Start() { if (photonView.isMine) { this.transform.parent = Camera.main.transform; this.transform.localPosition = new...

View Article

Sync data without whole scene loading

Hello ! Let's say I'm working on a PC 3d racing game and I want to show Speedometer / RPM on a mobile device's screen connected to the game. I don't want to sync whole scene, just to send/receive few...

View Article


help with multiplayer card game

Hello first sorry for my poor EnglishI'm now develop my first multiplayer game ever and trying to learn Photon I will give you a brave idea about my game and where i have problemwhen game start there...

View Article

Image may be NSFW.
Clik here to view.

Feature Request: send RPC to specific Component

Enjoying Photon a lot! I'm mostly using it to send RPCs to the "paired" GameObject on the other clients.One thing I ran into this morning (and can't find a natural solution to) is the following....

View Article

How to show Player's name along with the Photon Network model instantiated...

I have tried doing the same with RPC.What I tried doing:Whenever a player is instantiated it sends a RPC to everyone telling them his/her name.However the new players will never get to know the name of...

View Article
Browsing all 8947 articles
Browse latest View live


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