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

Unity 5 Photon Player Invisible to others.

I've implemented Photon networking to my unity project and it was working fine I could see the other player. Which was just a capsule I added. I recently changed that to a 3d character with animations....

View Article


Custom authentication using POST

How does the POST request work in PUN? I'm trying with something like this: string temp = "ticket=" + ticket; PhotonNetwork.AuthValues.SetAuthPostData(temp); But on the server side it says $_POST is...

View Article


Possible to limit max players and max messages per room from Dashboard.

Looking to limit the max players and max messages per room from the Dashboard.Seems like this should be an option in the Dashboard but could not find it.I don't really want to set up self-hosted...

View Article

Photon Instantiating and Searching Problems

Hi guys, so iv received a wee bug and I cant figure out whats wrong with it... It works, fine in the editor and when only one person is on the server. So when a player joins the server their canvas...

View Article

Cached Events being sent twice on rejoin

Im only getting getting this problem when I create a room, raise some events (they go to a webhook and are addedToRoomCache, webhook doesnt do anything), then i click a onGui button to...

View Article


Join a room from webhooked state

Is it possible for a player to join, for the first time, a room that no longer exists on the photon network, but which state can be retrieved from a webhook? I've attempted this and get an error that...

View Article

Create a RaiseEvent so the webhoock PathEvent will fire?

I have been trying to create an trigger in game that will trigger PathEvent.I tried this:byte evCode = 0; // my event 0. could be used as "group units"byte[] content = new byte[] { 1, 2, 5, 10 }; //...

View Article

Photon Instantiate prefab on a layer

Hi,Basically I am developing a mobile game where the touch input (destination of player) works as a raycast.So I have placed different gameobjects on different layers depending on what they are:...

View Article


Image may be NSFW.
Clik here to view.

A good way of sharing an object?

Hi everyoneEarlier I tried using Truesync for making a football game. But now I've switched to Photon networking.I have searched google and the forums and there have been other cases of people making...

View Article


Making sure PhotonNetwork.RaiseEvent reaches temporarily disconnected players

Hi!I'm using PhotonNetwork.RaiseEvent to broadcast events to all players passing sendReliable = true as a parameter.Some of the receiving players are temporarily disconnected at the time of my...

View Article

How do I reference the remote player?

Hi,I have instantiated a character in through the network. This character has a component to handle life, animations and other things, but it is turned off on the remote version (only accessible on the...

View Article

server client data

How can server send some data to players in playfab?

View Article

Photon realtime Unity - concurrent joins

Hi,I am using Photon realtime Unity SDK in my project for random player matching. The issue I am facing is that if 2 players decide to join a room at the same time, none of them finds a room and both...

View Article


ExpectedUsers reservation

Is there a way to set expectedUsers when a game is created? I noticed it is possible for randomJoin, but the param is not there when creating games.I want to reserve a slot for all games created so...

View Article

Sync Problems

Hi, im trying to Sync 2 player´s position and all the time I´m having "lag".This is the code I used: void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info) { if (stream.isWriting)...

View Article


SetPlayerCustomProperties called from Start() has no effect

Whenever I join a server, I get automatically loaded into a new scene (automaticallySyncScene=true). Once the new scene is loaded, a Start() event is triggered which calls SetPlayerCustomProperties. If...

View Article

How to test with multiple (8+ clients)

Hello Everyone,I'm making a multiplayer game that has a lot of players in a room at a time. Currently aiming for somewhere between 16-24.Obviously testing for 8+ players at a time is quite difficult....

View Article


Set interest groups in RPC.

Is there a way to set which interest groups receive an RPC?For example in my game I have a sniper rifle, obviously I want the sniper rifle to shoot further than my shotgun. So while I fire my Sniper...

View Article

Object in the scene with a collider, photonview.ismine only true for the...

I have a cube within my scene with the below Fire script attached. The object also has a photon view component.The photonView.isMine is always false, unless you trigger the collider with the master...

View Article

Webhooks

[FIXED - This can be removed]

View Article
Browsing all 8947 articles
Browse latest View live


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