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

Image may be NSFW.
Clik here to view.

PUN onPhotonSerializeView lag between bigger and bigger

I'm using Photon standalone server and Unity to make multi-player game in Unity. However, I get trouble with photon onPhotonSerializeView, my code is:I want to get lag of synchronization. At the...

View Article


"Party invites" via Photon

Hey there,i have a working Friends list wich i want to expand by a party-system. So one player A can invite another player B from his friends list to a party. The problem i have is: How do i notify B...

View Article


Why is FriendInfo.IsOnline always false?

I'm sorry I'm an inexperienced English speaker.I was wonderingI set both PhotonNetwork.PlayerName and PhotonNetwork.AuthValues.UserId.I checked the changes of UserId and PlayerName through...

View Article

i got an master server connecting problem how can i solve this ?

Operation failed: OperationResponse 227: ReturnCode: -1 (Unknown operation code 227). Parameters: {} Server:...

View Article

how to get data from other user

Suppose I have 2 users. On device of user A, I'd like to read some data from user B.For example, every user has a field named fLevel. The value of the field of user A is 1 and user B's is 2.I want to...

View Article


Does PhotonNetwork.Instantiate call the new GameObject's Start method ?

Hello,First, I am following the PUN tutorial on the Photon web site.In my game, I have a GameManager, a PlayerManager and a PlayerUI (and others but these three cause me some problems). In my...

View Article

Callback of PlayerTTL

Is there is any callback of playerTTL start when player is disconnect then playerTTL is start how to know by other player which playerTTL is start in room

View Article

Changing name and parent of Network objects

I've noticed that if I modify the name and parent of a GameObject created with PhotonNetwork.Instantiate(), the object will no longer be automatically instantiated when other clients join the room at a...

View Article


Culling prevents scene syncronization on new players

Hi to all. I'm making multiplayer mobile game in Unity. For optimization I decided to use culling bout only for sending, clients must receive everything. I set up everything and customized...

View Article


Image may be NSFW.
Clik here to view.

synchronization of objects

Hello, I am creating a multiplayer with photon PUN. I already managed to sync the headset and controller. Now I want to sync a cube. The players should be able to pick the cube up and the other players...

View Article

CustomRoomProperties when creating room not sent to sever

Hey guysI've configured on our Application pane that the different Photon events get forwarded to our server, i.e. RoomCreate, RoomClose, ... And this is working great. I am getting these messages on...

View Article

Serialize a List

Hello,As you can't normally send a list trough the OnPhotonSerializeView, i was wondering what best practices are.I tried sending deserialized to string using binary formatter, and serializing it upon...

View Article

Not connecting to server

I have been following the basic PUN tutorial step by step I had an issue. every time i click on the play button it does not connect the first time i have to press it twice even i have published and run...

View Article


Why cannot I destroy the player?

The code:public void SetHit(float damage){ photonView.RPC("SetHitRPC",PhotonTargets.All,damage); } [PunRPC] void SetHitRPC(float damage,PhotonMessageInfo info){ if(this.photonView.isMine){...

View Article

Photon Vive Multiplayer

Hi,I am making a vive project which will be multiplayer. There will be one tutor and students can join in into that room and look at the same.What are the good tutorial available for implementation any...

View Article


Setting PhotonView.group increases message rate

Hi,I am trying to implement mmo sample. My game has players and mobs (scene objects). If I understood correctly, interest groups work like this: player sets interest groupsthen he sets his...

View Article

Unity .NET 4.6 experimental setting is not supported

Hi Everyone, Just to make sure you don't turn on .NET 4.6 and stick to the stable .NET 3.5We are getting more and more issues report that actually link back to the use of this experimental .NET 4.6 and...

View Article


Any feedback after being kicked?

What's the callback to handle being kicked? It's a bit awkward to just shoot them to the lobby and OnLeftRoom has no reason for the leave, so I'm finding it a bit difficult to catch that it was a...

View Article

Weird 2D synchronization of position

I'm programming the player movement for a simple bomberman game.Client-side movement is accurate. However, my position for other players in the game is not accurate (no, this certainly isn't lag).If...

View Article

Join a room as lobby, start matchmaking without leaving the lobby room

Hello,I want to implement a feature in my game but I am not sure it is possible. If you can tell me where to start from or what would be the way that would be awesome.I want players to join a room...

View Article
Browsing all 8947 articles
Browse latest View live


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