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

Diferent scene for each player

hello i'm making a 2D card game, but for the game i need to throw each player in to a different scene because i dont want that they can see other players cards, is it possible to do that? If possible,...

View Article


Kick player WITHOUT RPC. Close connection of a player by the master client...

In a game, you normally can kick players with RPC, but where there are hackers, they just reject the RPC and they don't get kickec. How can I close their connection (from a master client)? I need help....

View Article


Sending int & bool value over photon network

I'm making a multiplayer game in unity using photon network. I'm trying to create a different scene for two players, but want to pass over int and boolean value from one player to another. Since I'm...

View Article

Australian server keeps dropping connections within 5 minutes of joining.

Hi, my Australian players have been complaining that the Australian Photon server keeps dropping them in the last few days, they're having to play on USW or Japan or other servers (which work just...

View Article

No Cached events are raised after rejoining the game

I use AddToRoomCacheGlobal EventCaching option to send messages. If I join the room late, all of the cached events get pushed I am able to read them (as expected ). But if try to rejoin and reconnect...

View Article


Remote desktop "teamViewer like" with PUN ?

I am wondering if it is possible to make a "teamviewer like" app in Unity with PUN, I mean to remote a PC from another pc and if possible a smartphone), including a video chat ? And how complicated it...

View Article

“operation set (252) not called because client is not connected” And I have...

Hello, I just started using PUN 2 and recently I made a pause menu to my multiplayer game and in the pause menu there is a Disconnect button. public void Disconnect() { PhotonNetwork.LeaveRoom();...

View Article

Is there any minimum required connection speed or download speed?

Hello, I just wanna know if there's any required connection speed for a successful joining of a game server? We're testing our game and noticed that if the client's download speed is ~<=1mb, the...

View Article


Image may be NSFW.
Clik here to view.

Missing Reference

So I was working with photon 2 and all of a sudden when I re-opened my project, I cant reference the api or something. However, the project compiles & builds as intended and works perfectly, just...

View Article


Kill player over network?

Yeah, I've got two players with a health script on them. How should I go about the death part? The player needs to be able to see who killed him too.

View Article

How to stop following/rendering remote game object when using interest groups

Hi! I am developing a PoC with "One big world" that is meant to have many (100-200) players who can interact. The world has various architectural rooms (all one Unity scene and all one Photon Room). I...

View Article

Add component to instantiated gameboject

hello, i'm using the PhotonNetwork.Instantiate in order to instantiate a game object accross the network. This work fine so far. But, when i'm trying to add a component to this, it adds only localy....

View Article

Animation not stopping when stationary

I have a bobbing animation that plays when a player moves. This sets the Rigidbody to awake. So I'm checking the Rigidbody.IsAsleep to stop the animation. A player moves and stops fine. Rigidbody...

View Article


client present on PUN classic and PUN 2 are not match making

I have two unity clients and each are creatingOrJoining to same room name in same region(eu). Only difference between them is that one client is using PUN classic and other client is using PUN 2. They...

View Article

order of RPC calls

if master client makes two RPC calls with RpcTarget.All sequentially(first RPC1, then RPC2), will these two RPCs be executed sequentially on each of the client? Are all RPCs delivered sequentially to...

View Article


Image may be NSFW.
Clik here to view.

Players dont move, but only when both in lobby

I have two devices connecting to a lobby using PhotonEngine and im using the following code attached to two buttons to move the player left and right.using System.Collections; using...

View Article

Why am I getting a null reference exception error?

When I play my scene I receive this error (at this point I haven't connected/attempted a connection to Photon) - NullReferenceException : Object not set to an instance of an object....

View Article


I want to call PunRPC only to a specific player

There are All and Other targets for PunRPC, but is there a way to send them only to the player with a specific ViewID? Is there no choice but to send the ViewID as a PunRPC parameter, check the ViewID...

View Article

How to sync animator bools

Hello everybody im using bools and im using photon animator view, it doesnt sync perfectly because the animation will be delayed to other players and it doesnt need to be delayed, my settings:...

View Article

RaiseEvent not working?

Hi, I've been working on the PUN RaiseEvent Function, I completely followed the tutorial, but there is still something wrong in my script. My script is like this: private void...

View Article
Browsing all 8947 articles
Browse latest View live


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