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

Please help. Sync position of dynamics scene objects is driving me insane

So my game is like this: An arena, with 2 players (they are just balls, so 2 balls), and imagine a huge tower in the middle which is made of 50 chunks. If the tower gets shot the entire tower falls...

View Article


Best setup for VR to see movement of other players

I'm trying to figure out the appropriate setup for a VR experience. There are 2 or more people connecting in a room and I want them to be able to see each other move within the same space. The player's...

View Article


Image may be NSFW.
Clik here to view.

Push Rigidbody Around

Ironically I've got rigidbody character controllers working properly across the network, but I'm struggling to get something much more basic working: allowing rigidbody character controllers to push a...

View Article

Problem with OnPhotonCustomRoomPropertiesChanged

I'm trying to use OnPhotonCustomRoomPropertiesChanged (), in several ways I've seen in several different references, however I always get the same error, the console says I have a parameter, and the...

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


Image may be NSFW.
Clik here to view.

ConnectUsingSettings Error

Hello,I'm very new to programming and I have purchased an MMO kit to help speed up development of my game.It came with a basic template of a NetworkManager.cs script, Currently I'm unable to set it up...

View Article

Get data from master client.

Hello, What way I can get data from host? I need get spawn position.I see it like this:Request to Master Client and get callback from he with Vector2.But better way without RPC. Can I do it with...

View Article

a player goes into the room which is invisible!

hello! I am working 2d running game!I made the connecting to room only using JoinRandomRoom. when game is stated, room max players is changed and visible is changed to 'invisible' to prevent other...

View Article


PhotonView exist check

Hey guys/gals, I'm in a tiny bind, been trying to fight this sense yesterday afternoon, but I'm confused on the next step to take.Is there a proper way to find out if a photonview still exists in the...

View Article


Image may be NSFW.
Clik here to view.

Frequent memory allocs.

I downloaded the latest PUN package and compiled the Demo2DJumpAndRunWithPhysics.I see a fair amount of memory allocs from PUN when it syncs the objects. Is this normal? See the picture for the mem...

View Article

Force move immediately

I can't find topics talking about this after searching for hours, really need some help here.There is a rocket launcher in my game, and when the rocket hits a target , it should immediately force the...

View Article

Maximum possible limit of options.EmptyRoomTtl.

Can you please tell me the maximum time limit that i can set in GameOptions.EmptyRoomTtl.

View Article

Image may be NSFW.
Clik here to view.

Is PUN the right package for drop-in drop out open world multiplayer game?

Hi all, as the title suggests, I am wondering if PUN is the right choice for a multiplayer open world game. The game relies on a lot of procedural generation which will somewhat 'evolve' around the...

View Article


Image may be NSFW.
Clik here to view.

Switching offline and online mode back and forth

Hello,When player chooses single player offline mode, I set GlobalSettings.IsNetwork to false, and true when player plays online.Here is the relevant code: void OnEnable() { if...

View Article

[Help] PhotonStream's index wraps around from 126 to 0

Hello,After hours of debugging, I came to the realization that, if I write more than 126 items in a photonStream,the 126th time I do ReceiveNext(), I actually get the FIRST element (element at index 0...

View Article


Setting Room Properties from Lobby

Hey all,Just a quick confirmation question: Is it possible to change a value in an open room's custom property while in the Lobby? Currently when I have a player joining a game (ie. click join button...

View Article

Multilayered lobbying system

I am currently working with a VR project, in which players automatically join a room that functions as a lobby (say 8 players per lobby). From there players will be moved into game rooms (max 2...

View Article


Image may be NSFW.
Clik here to view.

PhotonTransformView and PhotonRigidbodyView for Vehicles - Smooth movement

Hello,I am trying to use the PhotonTransformView and PhotonRigidbodyView for a Tank, the problem is, as soon as i use both, the movement isnt smooth at all. When i only use the TransformView or the...

View Article

Animator view not working at child from child

Hey, I don't know why but I have a player prefab with a child object with the animator on it and a photo animator view and on this child the photon animator view is working but on another child child...

View Article

Wow, internet speed is crippled when I am testing my game while having 2...

This is my internet speed when not having any build running:http://www.speedtest.net/result/7061062743This is my internet speed while having 2 builds open at the same time (master client and a non...

View Article
Browsing all 8947 articles
Browse latest View live


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