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

Photon Transform View Rotation Sync Issue

Hi there,just a quick question here.I use a photon transform view to sync players rotation over the network.Now as long as the the ping of (let say) two players is quite low (<50) the rotation sync...

View Article


More than one player want to grab a gameobject at the same time, how to solve...

Hey, the goal is for one player to take a gameobject away from the other player. How can one player take something from the other player's hand without the first player having to let go? Currently,...

View Article


Asset Bundle Functionality?

On any photon product in Unity, Is it possible to load a scene from a server as an asset bundle, and have networking functioning?

View Article

how do i show latest data to a player who got disconnected and rejoin the game?

I'm making 2 players simple turn-based game, in which first player makes a word and passes the turn to another player and all words made by players are visible to each other. Till here everything...

View Article

PUN 2 UWP Build Errors

I am using Unity 2019.4.10. I am able to import PUN 2 and no errors are displayed after importing. But when I try to build for UWP then I am getting 113 errors. Some errors include : 1....

View Article


Why? Help 60 sec and out!

Hello. I'm desperate.In my game, I connect to photon, connect to lobby, create a room and enter it. Everything correct and with the correct logs.When I do it in "editor", the player stays without...

View Article

Player.ActorNumber will change when player leave

Why do you set it like this

View Article

Urgent Problem. Thanks

Hello. I'm desperate.In my game, I connect to photon, connect to lobby, create a room and enter it. Everything correct and with the correct logs.When I do it in "editor", the player stays without...

View Article


Image may be NSFW.
Clik here to view.

[MUST FIX] How to reduce GC Alloc in PhotonHandler.FixedUpdate()?

Ideally, I would like to reduce GC Alloc to zero, or as close to zero as possible, right now it is horrendous. Would switching from RPCs to RaiseEvent allow us to fix this? Or is there some change we...

View Article


Help me error CS0117: 'Application' does not contain a definit

how to fix i wrote :Application.LoadlevalPhotonNet..... the same thing using SceneManagement Everything is there but I don't know the reason for the error is it possible to fix it somehow? (and how )

View Article

[Bug] Reset DisconnectedCause before entering offline mode

Hey, we have discovered a bug. When a user gets disconnected from the server for the first time and then creates an offline room, subsequently leaving that room, the OnDisconnected event is triggered...

View Article

Duplicated PhotonViews After Disconnect

I've been banging my head against a wall for months on this as it makes zero sense, so I'm hoping someone might be able to shed some light. It seems whenever a plyer forcibly removes themselves from...

View Article

Can't Log back when switching scene

So basically the issue im having is if the Player/Master client, Closes the application, they can log back and get their prefab back and controll it. the problem comes when Im trying to take the player...

View Article


too many/few incoming commands in package: 0>100

Hello there, suddenly my game stopped working today which was working fine yesterday. I checked the log and it says that (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39) 2021-05-27...

View Article

How to use the PlayerNumbering script?

Hi guys, I'm still learning PUN 2 and facing a problem I can't solve.I've tried to use the PlayerNumbring script but it always gives me an error that I don't know how to solvepublic static int...

View Article


Is Unlocking China region for PUN(version 1) possible?

I have just checked, and it appears that the forum has become read-only. I'll be moving to Discord.Thank you all!---Dear Photon,I wanted to inquire about the possibility of using a server for China in...

View Article

is it ok to have multiple app and voice ids on one unity project?

i was making this game and im curious to know if it is ok to have multiple app and voice ids for more player slots.

View Article


how to get lobby statistics while player is in a room?

hi.it seems that lobby statistics doesn't update while player is in a room.. so how can i get lobbies data and don't leave the room?

View Article

Even if the ping value is very low, the room cannot be created, prompting...

Even if the ping value is very low, the room cannot be created, prompting clientTimeout

View Article

The interval between receiving data is always very long

Two clients, one of which acts as the host, sends data every 33ms, and the other client receives data not at 33ms. Considering network fluctuations, I guess a few milliseconds is normal. But in fact,...

View Article
Browsing all 8947 articles
Browse latest View live


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