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

PHOTON ENEMIES SCENE GLOBAL

Hi guys, when I connect a room and the enemies are spawned before per other player the enemies don't appear for me just for other player for spawned the enemies don't do part of the scene global but I...

View Article


Animator View not serializing properly in the Editor

I have an Animator View on a GO. It frequently gives me the error message "Parameter X does not exist. Removing". This is not a one-time warning, this is a recurring warning. The problem is that it...

View Article


Is Login & Registering supported?

I run my own database and I recently linked it to my unity game through php and www forms but I was also wondering if photon could be used with it by authentication the username and password from the...

View Article

Photon team assignment

So I'm trying to create a moba but can't assign the team properly in the champ select. Basically the last player to join sees everyone as it should be. But everyone else doesn't see the last player....

View Article

How would go about and make a server side verification?

As the title says. For example a player shoots another player. And when the shot player receives the RPC i want to do a Server/Client side check. To see if the shot is valid.How would you go about...

View Article


Add around 1000 players in one room.

Hi,We have a specific requirement for our game where we require at most 1000 players in one room, because its a GPS based interaction game. Is this approach possible in photon? If yes, then what can we...

View Article

Filter Players in the game screen at runtime

Hi , I have a game where about 20 users join in a room.They have some properties like gender, name, isFriend etc.Now I want to filter (display) only those users on the screen who fulfil a particular...

View Article

Need Help with Pun Basic tutorial part 6 (Health)

Hello,i started following the tutorial about PUN, and it was working fine since i come to part6 about the Health.i wrote the entire script, it seams i didn't made any syntaxe error, but i get 3 or 4...

View Article


HOW TO CONNECT UNITY TO SELHOSTED PHOTON SERVER

hi all, im developing a realtime game (WebGl) using unity where i want to make unity the master server and let clients connect to this server and make some actions in master server.the qst is how to...

View Article


AnimateControllerParameter broken script after updating Unity to 5.6

Hey guys,I had a couple of errors with PUN when I updated Unity to 5.6 (beta version). Although I could resolve most of the errors, only one kept me thinking how I can work it out.Assets/Photon Unity...

View Article

PUN Reconnect

Hello,I'm trying to implement user rejoin after random disconnect and I'm not sure how to fix an issue.The issue: I don't know how many messages (RPC calls) the disconnected user has received and what...

View Article

Help Needed about basic tutorial - part8 - Instantiate Player

Hello,i followed the whole basic tutorial and now when i test it , i have no player instantiated into rooms, and i have no error message..i have updated some Alerts with deprecated code, it seems to be...

View Article

Get players class using photon

Hi is there a way to get the player class in a room? So I need a List of different player class to determine the number of loots dropped by a chest

View Article


InRoomRoundTimer

Hi guys,I don't see InRoomRoundTimer.cs in PUN version(v1.84.1) that I download (this file should be on Photon Unity Networking/UtilityScripts folder). You are deleted this file, or, there is some...

View Article

Can room names be sequential, possibly shorter?

Is it a security thing so people can't guess the room # easier for hackers? Or is there a more "friendly" way to show match #s? It may be nice to store match #s sequentially, or other reasons like the...

View Article


Image may be NSFW.
Clik here to view.

OnJoinedLobby() isn't called after first login for the session

"Called on entering a lobby on the Master Server.""OnJoinedLobby() or OnConnectedToMaster() are called when PUN is ready"The callback works after failing to join a room or every other time it's...

View Article

Spawn / Sync existing game object (Player)?

Hello,My current game is using vrtk (VR ToolKit). I have this CameraRig game object, which is the player character. For some reasons, this CameraRig need to be on scene first instead of using...

View Article


Problems with multiple levels

I have a voice chat in one level between two users.I´ve tried to add a new level with a intro menu before join the level of the voice chat.It seems that the users will not be in the same room if I have...

View Article

Add New Game Object To Existing Photon View

Hello,Is it possible to add a game object (as a child) to an existing Photon View game object?Something like this:MyPUNManager.csvar player = PhotonNetwork.Instantiate (playerAvatar.name,...

View Article

How to call RPC in a new player?

Hello! I have a game time, hours and minutes in my room. What is the best way to pass the two parameters to the newly entered player from the client's master? I'm using Photon Cloud, thanks!I use:...

View Article
Browsing all 8947 articles
Browse latest View live


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