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

RPC Invoke Order

Was wondering what triggers the next RPC to run on a client?For example, if you had two RPCs: RPC1: Starts a coroutine and yields for it to finish. This coroutine loads a model into the scene but does...

View Article


Exhausting EventCodes in PhotonNetwork.RaiseEvent()

Raising events over Photon is a great way to get a lot of your code working in a pretty de-coupled way without needing to have handles on PhotonViews. One issue is the upper bound on the number of...

View Article


Navmesh not syncing on clients

Hi - I have a Photon projects with a terrain with (up to) 4 players and several NPCs.The players sync properly. The NPCs, however use a navmesh agent. These NPCs have collision triggers and if any...

View Article

外网怎么连接自己的写的photon server服务器

peer.Connect("127.0.0.1:5055",“MyGame”);

View Article

URGENT! I need to unlock China server for our game!

Dear Photon Team,My business partner and I will be attending China Joy 2018 in Shanghai the first week of August.We sent you this Friday an email to request a new AppID to be used in China.However we...

View Article


Join random room using sql filter, how to write 'not equal'?

i tried <> or !=, but it is no used.

View Article

[Help] How to sync materials of my players' MeshRenderer.

Hi everyone, I'm kinda new to networking, and I'm stuck with a problem about synchronisation between two players materials : I have a game with a launcher (I followed the basic Photon Tutorial), in...

View Article

OnPhotonSerializeView calling conditions

Hi. I've been developing a turn based multiplayer game using PUN and I noticed something interesting about OnPhotonSerializeView method. It seems that if I'm syncing an array and I don't actually...

View Article


Upgrade to Unity 2018.2 and Photon 1.9.1

Hey guys,In the project we are working, we have a set of avatars with photon views (that are created at runtime when a new user connects). Before, when any user disconnected Photon automatically...

View Article


Networkculling - SetIntrestGroups/SetSendingEnabled not working

Hello there,in my current project i'm trying to implement a custom network-culling method. For this i wanted to use the given methods for setting intrest groups and specifying groups to which i...

View Article

Could not resolve host 'ns.exitgames.com on HoloLens

When trying to connect to another room from an HoloLens it fails and shows this error:Connect() to 'ns.exitgames.com' () failed: System.Net.Sockets.SocketException (0x80004005): Could not resolve host...

View Article

What Does This Error Mean?

Hi,I'm using OnPhotonSerializeView to send and receive information between players. It works most of the time however I will occasionally get the following error:IndexOutOfRangeException: Array index...

View Article

photon networking joining room failed with same username with 2 players

HI,I created room "Demo" with player (username) name as "kamal".I am trying to join the same username " kamal ".I am unable join the room. I am getting below following error.Operation failed:...

View Article


Going on background or application lose focus , photon discoonect.

Hi,In my application when i am connected to photon in android , when my application goes in background, photon disconnect.Note : I haven't joined any room yet.How can i again connect to photon when...

View Article

Networking between two separate projects

Hi, I was wondering if there is a way to get networking between two different projects. My goal is to make a Unity project for HTC Vive in Standalone and another for HoloLens in UWP. Is it possible? If...

View Article


Image may be NSFW.
Clik here to view.

Player joining match sees old destroyed scene objects?

Hello, I'm running into a strange bug and I'd like to see if there's a way to solve it. We've got a lobby/match setup almost identical to Call of Duty 4. Players press "quick match" and join/create a...

View Article

Room gets removed from roomlist after 5- 10 seconds when internet connection...

Hi,In my app if a user create a room, and his internet connection goes off after creating room. Other user can get that room for 10 seconds in roomlist.Is it possible to remove the room from roomlist...

View Article


testing disconnects

Hi,Our QA needs to test disconnections from photon specifically, like if the server was all of a sudden unreachable or something, is there a good way of doing that, without pulling the plug and losing...

View Article

PUN & Photon server : userID issue

Hi,I am new to photon with Unity and I try this asset https://assetstore.unity.com/packages/templates/tutorials/vr-shooting-range-photon-85121I use the photon server SDK for 2 PCs connected on...

View Article

Reduce Traffic for other clients

We want to reduce traffic, and that not every client receives the positon etc. from the other.Following idea:OnPhotonSerializeView works very well, but has the disadvantage, that every client will get...

View Article
Browsing all 8947 articles
Browse latest View live


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