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

Image may be NSFW.
Clik here to view.

Performance issue

Hello,I'm getting large spikes with DispatchIncomingCommands due to FindObjectsOfType. I've been looking at the Photon optimisation tips which suggests SendMonoMessageTargets but SendMonoMessage isn't...

View Article


Best practice for having a Photon Transform View parented under another...

Hello,I'm wondering if someone can help me understand how the Photon Transform View behaves when it is childed to another Photon Transform View.For instance, if a hand is grabbing an object, what is...

View Article


InstantiateSceneObject doesn't move

Hi.I have made it so a gameobject is Instantiated by usingShip01 = PhotonNetwork.InstantiateSceneObject(ShipObject.name, transform.position, transform.rotation, 0, null);This gameobject is moving...

View Article

Image may be NSFW.
Clik here to view.

Driving a Vehicle

Hello Everybody I'm trying to make a Player move around and sync that and that works perfectly finebut the player also can drive Vehicles....the Vehicle has a Script for Control so when the Player gets...

View Article

Initiate a request to the server failed: SendError

My Client Code is: public override void Execute(int eventCode, object message) { switch (eventCode) { case 0: socketMsg = message as SocketMsg; Dictionary p = new Dictionary(); p[0] = socketMsg.Value;...

View Article


Collectible Items problem

Hello!I try to create in my game collectible items (like health).If a player collect, then hide for X seconds and show again.So I thought about it, and i dont know what is the best logic for this. Okay...

View Article

Need help with Lobby system

Hi every oneIm just trying to set up a simple lobby system. When the host click on start all players in current lobby should be in the game.I got this : public void OnClickStart() { if...

View Article

ReconnectAndReJoin when you're the last player in the room

Hello developers,I'm making a game supporting drop-in drop-out multiplayer, where the state for the rooms is changed by RPCs and stored in instantiated scene objects. Now most of the time this works...

View Article


Image may be NSFW.
Clik here to view.

Pun 2 Beta Early Access [December 2017]

Hi Everyone, We are releasing a beta package of our next PUN version ( will be referred as PUN 2 ) featuring major internal changes, API changes as well as performances and optimization improvements,...

View Article


Photon cloud MMO style game

Hello guys! I develop an mmo style game. With Simple character movment and few Simple Mini game. The datas saved with playfab. My question is: is enough for me the photon cloud? I need maximum 30-50...

View Article

Run copies of building in same computer cannot be recognized as different player

Hey all, I made a build and run copies to test. But they all be taken as the same player and cannot find each other in network. I used something similar with PlayerNameInputField in the tutor. And if I...

View Article

Sync obj transformed via RotateAround will cause lags

Hey...so I have a obj rotate around a pivot via RotateAround(). I have tried using UNET and PUN to sync its position&rotation...both have visible lags....Is this because of RotateAround()? Cause...

View Article

Errors from a client joining a room the moment it becomes empty

Hello,I'm running into an interesting problem with the following steps:1. A client creates a room as the master client.2. The master client leaves.3. At the same time (or very shortly thereafter,...

View Article


Photon Engine Version Update Shows No Games Available

Very strange problem. I have an application hosted with multiplayer connectivity. I recently upgraded to Unity 2017 from Unity 5.5 and with that I upgraded Photon from. As I tested my new 2017 build I...

View Article

Trying to set spawn

HelloIn my game players are all spawning in the same timeAnd I would like to set spawn for each oneIf the are 2 they gonna spawn back to back, if they are 5 they gonna spawn in star shape etc ...

View Article


Position Sync Problem

Hello everyone I am developing a 2d soccer game for maximum 6 players.( for android and pc).ı dont have any problem with syncronizing player controlled objects like "soccer players" but ı am having...

View Article

NPC's animator changes only show on one client when Transform works on both

I have a 2 player game- I have an NPC using a Transform view and an Animator view-The NPC's transform updates on both clients but the NPC's animator changes only show on the Masterclient-Any tips or...

View Article


Duplicate UserIDs

Hi!So I've been working with photon for a bit over a year now and am loving it, when I first started using it I had setup so that the Photon NickName would be a person's steam name, so when they joined...

View Article

Image may be NSFW.
Clik here to view.

Implementing Photon Networking into games with a dedicated server

Hey guys. Im fairly new to Unity (~3 weeks of research and messing around with Unity) and i have recently started to look into implementing Photon networking into my game. I've been watching this...

View Article

Option to set becomeInactive to false when master kick a player using...

Greetings!I've upgraded the PUN to V1.88 and acknowledged there's an update about becomeInactive parameter on LeaveRoom method, and it helped me a lot! However I found that when a player kicked by...

View Article
Browsing all 8947 articles
Browse latest View live


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