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

Start level with all network players at the same time

Hello, I searched everywhere and can't find an answer. What is the best way to start a level with all network players at the same time? All the examples have players popping in whenever. I need to wait...

View Article


Not able to sync colors on a small 2d app/game.

Hey, Im making a small 2d game and I used this script to change colors using UI buttons. I'm getting the "Object Referance not set to an instance error" at line 86,90,94 and 98. Any help would be great !

View Article


Room is still visible when it should not

Hi everyone,First of all I would like to thank the whole Exitgames team for this wonderful and powerful Unity plugin which is PUN.We are however stuck on an issue we cannot find a solution of:A room...

View Article

Bug in PunBasics-Tutorial on Jump

I just read out PUN Basics Tutorial. I did all step by step but in the end robo still damage himself on jump. I opened included Demo in PUN asset but this bug still there. Probably main bug somwhere in...

View Article

Photon conflicts with Json.Net for Unity

In my current project I have imported the Photon Unity Networking package and the Json.Net for Unity package from parentElement. This causes the error: Assets/3rdPartyTools/Photon Unity...

View Article


Facing Problems in getting roomlist in unity photon networking

Hello Guys!I am facing problem of getting rooms list. I have tried everything I read all the other questions related to topic but none of them helped me out. How can I get rooms created in game. Here...

View Article

Image may be NSFW.
Clik here to view.

Help me with photon lags i can t find probleme

Hello Iam working with Unity 2017 Personal and trying android jumping platformer gamebut i dont know why my game lagging (Players positions,and Jumping animations too...)Here is lagging proof:Okey is...

View Article

How to serialize view if you are not an owner of an object?

Card game, 2 players. I create cards on the master client side, and the owner of these cards is the master client. if I'm a master client and I move the cards, then on the second client the cards are...

View Article


Synchronizing a missile (projectile)!

Hello everyone, I'm having trouble synchronizing a bullet in my game! It behaves like a missile, and I need to make sure the projectile is in the same position on all machines!Doing a position...

View Article


[Feature request] PUN RPC message aggregation

Since OnPhotonSerializeView messages are already batched together, the framework must already exist.Can you please add this feature to RPC calls as well? Specifically, multiple RPC calls sent in the...

View Article

Cannot send messages when not connected. Either connect to Photon OR use...

Hello,my game works fine. Players can play all features smoothly but suddenly game freezes and few players get this message: "Cannot send messages when not connected. Either connect to Photon OR use...

View Article

Simplest workflow for moving users between rooms/scenes

Hi,Is there a diagram (or even a simple example project) that illustrates the basic code/steps required to do something like this:- 2 scenes (for basic concept - but would extend it for many more...

View Article

WebRPCs and AuthCookie

Hello!I got Custom Authentication and WebRPCs working for my Photon Project..I have a Script on my PHP Server that requires the User to be logged in.. and I need to get data from it.How do I get the...

View Article


What can cause an ExceptionOnReceive disconnect?

After updating PUN to the latest version, it can't connect anymore on some networks (but works fine on others).We're using a Photon Server with a custom plugin hosted on Amazon.What are some possible...

View Article

Players doesn't find or create room .

player from different regions or ip's didnt find or create room . even when i log it like foreach(rooms in photonRoomlist).it return count 0.

View Article


Is there a way to store a large piece of binary data in the Turnbased room?

Hi.I'm trying to store a texture in the Turnbased room, to make it persistent. The texture size is quite large and when I try to get a byte array from it and save it to room Custom Properties - there's...

View Article

Partial Network Culling

Hi everyone,I would like to optimise the number of messages per second in one room.My game takes place in a FPS with large scale maps.I can't use the method that is presented in the example (using a...

View Article


Photon cloud and mySql...

Hi all! I use photon cloud in my unity project and i too use mySql db... How me true save player setting in db? I create rpg with big scene... Thank you all!

View Article

IPunPrefabPool Example for Object Pool

Hi ,I want to pool my effects in my network game.Can you pleas provide some example how to do it .What i tried 1. Add PhotonView in Effect and Call PhotonNetwork.InstantiateAnd it gets visible in all...

View Article

Image may be NSFW.
Clik here to view.

PUN Drag & Drop Pickup Inventory

First off, I'm very new to Photon and MP coding in general, so I'm making this up as I go along.I'm hoping someone can give me some general advice on approach/design pattern.I have a scene in which I...

View Article
Browsing all 8947 articles
Browse latest View live


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