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

Late joining Bug!!!

in recent versions of PUN, a new bug is found in changing master client. consider this scenario:1. actor 1 creates a room. scene has a GO with photonView that is owned by scene. so master client (actor...

View Article


start position, if two the same, one loses out

so I have this issue where if a player is instantiated at the same place as another player (the start position) then one of them goes up in the air a meter or two and flickers up and down (even though...

View Article


ViewID vs InstantationId

What a heck!My slave client asks the master client instantiate a new NPC via RPC call, so ------>My master client instantiates NPC at runtime it get ViewId 2706. But it also shows, that it's...

View Article

Re-parent networked game object

I'm trying to re-parent a remotely created game object after it has been instantiated by Photon, and I'm looking for sort of a best practice. Locally, this is what I'm looking at: [code2=csharp]void...

View Article

[HELP] PUN ID & Chat ID In One Application

Do I need both PUN and Chat ID for a single app?

View Article


When someone disconnects to the room during the game?

When someone disconnects to the room during the game, I do not want another one to enter the room. ?how can i do

View Article

Passing positions of gameobejects previously owned by exited players to new...

How do I pass the position of gameobjects to new players that had been moved and had their ownership transferred by/to players that left the room? These are objects that are not instantiated into the...

View Article

Ownership change - weird behaviour

Hi, I´m experiencing weird behaviour when calling TransferOwnership() function on my shared scene object. After I call mentioned function, I´m observing behaviour of OnPhotonSerializeView() function...

View Article


PUN freezes on MasterClient disconnect

Hi! When the MasterClient disconnects the other player clients hangs (all of them). I have already set the log to full to investigate what is happening but I don't even have a log (because it doesn't...

View Article


how to sync or map animations in FPS game

First let me say I have experience in network coding of multiplayer games, but this is my first time using bolt. I am working on an FPS game where the the FPS animations of the player will be different...

View Article

PhotonTransformView extrapolation and collision

When I put a PhotonTransformView on objects in my 2d game and activate 'extrapolation', I have problems where the objects will be placed outside of the world if I have a big lag spike. The source of...

View Article

Working with IOS

Hi,We are game developers and have been working on a board game in unity. For multiplayer game we were using google game play service and GPGS plugin. With android all worked properly, However when...

View Article

SwitchToProtocol: Udp PhotonNetwork.connected: False

hey guys connected with setup wizard, have network connections enabled, but getting SwitchToProtocol: Udp PhotonNetwork.connected: Falsehave I missed something? using UnityEngine;using...

View Article


Join Random Room with a friend party

¡¡Hola tios!!Tenemos un pequeño problema con JoinRandomRoom.Voy a tratar de explicar esto con un ejemplo fácil. Tenemos un juego con un Modo 1vs1. Un primer jugador se une a una habitación. Después,...

View Article

How can I change other clients int health when I press space?

I want to reduce other clients/players health when I press space, but I don't know how I could do this. Every tutorial is with a collider. I just can't figure out how I could do this by just pressing...

View Article


Image may be NSFW.
Clik here to view.

HingeJoint2D sync.

Ragdoll (HingeJoint2D actually) is most important part of my game.What is the best way to sync (smooth and accurately) objects, which bonded with HingeJoind2D?I try lerp their positions/rotations to...

View Article

Serialize Scriptable Object

Hey Guys,I have a problem that i want to send an rpc with a scriptable object parameter and i can't use Resources.load cuz it takes a long time to do it in my case so i hope guys that u have some kind...

View Article


Regarding web player development

After 2 years developing with unity, I finally have a confidence to learn making a browser multiplayer game. And just found out about Photon. What I want to achieve is, simply, a 2d pvp game with hack...

View Article

What does isOwnerActive check?

I looked through the documentation and found nothing about the uses of isOwnerActive. I'm currently using it and it is working as I hoped it would, but it would be nice to have some more information...

View Article

Takeover not successful on Networked Scene Objects with Photon Views.

We have created characters that are Networked Scene Objects with Photon Views (not instantiated through Photon) that will be in every scene, so we'd like to not have to instantiate them through Photon...

View Article
Browsing all 8947 articles
Browse latest View live


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