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

Sync a hit effect, player shoots, hits a player, blood particle plays at hit...

this is the current code, what i thought might work was accessing the players decal system which contains blood hit effects. Grabbing the players own blood hit effect and playing that particle at the...

View Article


Image may be NSFW.
Clik here to view.

Can't re-enter the game room

When I try to re-enter the game room after staying in the lobby for a while, nothing happens and I can't get in the game room. First entering and re-entering use the same Unity source code.Another...

View Article


Absolute path in output_log

Hey there, I'm trying to make sense of these messages in the output_log.txt for a development of build of our project (seeing MANY of these). OnEvent: Event 210....

View Article

Differences between Lobby and Room

Hi, I've been some years programming on Unity and now I am trying to dive into networking. What I try to achieve I think is a pretty simple case...The player chooses if he will play as hero or enemy...

View Article

Unsure how to serialize MonoBehaviours and Scriptable Objects

Hi all, I have made an AI system that uses both MonoBehaviours and Scriptable Objects and I need to sync information between the two. This results in having to pass the MonoBehaviour around or at least...

View Article


Notifying event when other user going in background

Hi,How to get notifying event immediately when other user appliaction lose focus.Is there any event which is called immediately when other user appliaction lose focus.

View Article

Getroomlist does not work

Hi evryone private void OnJoinedLobby() { RoomOptions Options=new RoomOptions(); Options.MaxPlayers=10; Options.IsVisible=true; for (int i = 0; i < 3; i++) { PhotonNetwork.CreateRoom("Room " + i,...

View Article

problems creating rooms

Why does creating a room expel me from the lobby?

View Article


Exhausting EventCodes in PhotonNetwork.RaiseEvent()

Raising events over Photon is a great way to get a lot of your code working in a pretty de-coupled way without needing to have handles on PhotonViews. One issue is the upper bound on the number of...

View Article


Cannot cast from source type to destination type.

Cannot cast from source type to destination type.PhotonAnimatorView.DeserializeDataContinuously () (at Assets/Photon Unity...

View Article

Best approach for syncing child transforms

I have an object with multiple child objects that move in different ways that I want to keep synced. It seems to work to have PhotonView/PhotonTransformView components attached to the relevant child...

View Article

Syncing Decal system. Only works for master client.

Im PhotonNetwork.InstantiatingSceneObject which is my particle prefab. When the player shoots the ground i want the particle system to play for all players. Currently it only works if a client shoots...

View Article

Syncing IK

Repost delete this.

View Article


Hiring someone to help

Im offering compensation. Hourly or fixed. I have an upwork account and can pay through there or through paypal. I use team viewer so we can work together on my computer. Current issues are setting up...

View Article

Create room dude

createroomhow to create a room without you automatically joining it?

View Article


What Does This Error Mean?

Hi,I'm using OnPhotonSerializeView to send and receive information between players. It works most of the time however I will occasionally get the following error:IndexOutOfRangeException: Array index...

View Article

Going on background or application lose focus , photon discoonect.

Hi,In my application when i am connected to photon in android , when my application goes in background, photon disconnect.Note : I haven't joined any room yet.How can i again connect to photon when...

View Article


GetRoomList doesnt work in Unity 2018.2

Hello,Like i do normally i am using GetRoomList but it doesnt work. But when i do JoinRandomRoom it works. It joins but the point is getroomlist doesnt work and getroomlist.length is always 0.How can i...

View Article

Networking between two separate projects

Hi, I was wondering if there is a way to get networking between two different projects. My goal is to make a Unity project for HTC Vive in Standalone and another for HoloLens in UWP. Is it possible? If...

View Article

Image may be NSFW.
Clik here to view.

Player joining match sees old destroyed scene objects?

Hello, I'm running into a strange bug and I'd like to see if there's a way to solve it. We've got a lobby/match setup almost identical to Call of Duty 4. Players press "quick match" and join/create 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>