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

PUN 1.93 UWP build errors

Hello! We cannot build our game for UWP .NET4.6 with .NET Core due to multiple errors: Placeholder path on Assets/Plugins/Photon3Unity3d.dll is wrong: "Assets/Photon/PhotonLibs/Photon3Unity3D.dll"....

View Article


Synchronize UI gamebject over the network

Hi, I have a photon voice chat demo and I want to synchronize a gameobject that is not a player (for example a Text element with variable string text). How to do that? Use PhotonView is a valid option?...

View Article


New players spawning twice on existing players

I have this problem when new players join the room, they get instantiated twice on all the existing players. I read the code from the PunBasics demo and tried to replicate how it works but the problem...

View Article

PhotonNetworkTransformClassic - How to handle respawn of players when they...

In my game so far, I am simply using PhotonNetworkTransformClassic's built in observable code and so far that has worked for me. My game is a space game so the ships do not suddenly change position....

View Article

Photon Premium vs Public Cloud

What exactly are the differences? I can see that Premium starts at a higher price point and that it auto-scales CCU limits, but what would be the difference between say Photon Public 2000 CCU and...

View Article


[Photon Classic] Issues connecting with previously working project

I'm having issues communicating with your servers on a project that once worked fine. Even when I use your connectandjoinrandom script. It goes fine until it needs to create a room then I get no...

View Article

Creating players after loading

Hello! So I've been working on a game, and I have a problem when trying to create the players. I want the game to load a scene, and when the scene is loaded for all clients, I want to create the...

View Article

Photon Pun OnTriggerEnter function

Hello, in my script 2 players side by side i have activated a button , button name is raceButton.Function works when the 2 players come side by side, the test button is active,but the raceButton button...

View Article


PhotonView ID Resetting

Hi, I'm writing about an issue my team is trying to get around regarding PhotonView IDs being modified for prefab instances at Editor time. This is not an issue at runtime off of a build, or in Editor...

View Article


Photon View with already existing object in scene

I couldn't find anywhere in the documentation if a GameObject that is already in the scene can be synced with others? I've also tried to add the PhotonView Component on my GameObject at runtime but it...

View Article

PUN - Disconnects with to many Photon Views instantiated

Hey, So when I'm testing my game, I get disconnected after too many minions are spawned. No error or log gets debugged, the game objects associated with the player just get destroyed. I believe this is...

View Article

Master Client Disconnects When Second Player Joins

Hi. Sometimes when I have a single player in a room and a second player joins, the first player will disconnect. I tried finding the reason for the disconnect and the message is...

View Article

Increase send interval for specific PhotonView object?

Hi! I have a multiuser pen drawing app where the pen object's position and rotation are observed and synced around the room. However, the sync frequency is too low for it to produce proper...

View Article


Get packets loss

Hi. How to get packet loss?

View Article

How does the master client know others players joined room?

I would like others players joined room after master client will receive callback.

View Article


Issues When Adding PhotonViews to GameObjects at Runtime

Hello! I am working on a game where I need to be able to add and remove PhotonViews to objects at runtime relatively frequently. I have a system where I add a PhotonView on the client side, then send...

View Article

Runtime PhotonView components

So I have a ton of prefabs and content that is loaded from assetbundles and I wish to keep track of their state. Is it possible to add PhotonView components etc at runtime after being instantiated? If...

View Article


How to add a PhotonView by script

Hi guys, I want to add a PhotonView script to my gameobject, I have tried with this.gameObject.AddComponent(); , but when I use it, it throws null. What Am I doing wrong? Thanks

View Article

Fast collisions with Photon Rigidbodys (Golf game)

I am working on a networked golf game and trying to add collision between the balls. Each player has a ball prefab with Photon components like so: https://imgur.com/VrP10Jc As it is right now, the...

View Article

Disconnected while loading large scenes

Hello, first post here. After upgrading my project from PUN1 to PUN2, I noticed that my smaller scenes load just fine, but my large scene which takes between 10 and 45 seconds to load results in a...

View Article
Browsing all 8947 articles
Browse latest View live


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