Questions tagged [photon]

Photon is networking and multiplayer middleware.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
260 views

What i'm missing in this multiplayer Unity / photon code?

i'm having some troubles in my first, simple, multiplayer racing game, using Photon and Unity. Following classic photon tutorial i've written the code below, but, it won't work properly. In ...
1
vote
1answer
999 views

Communication between Photon Cloud game and web server

I am creating a multiplayer game using Photon Cloud (Photon Unity Network). For storage of player data (profile, inventory, achievments) I use web server (asp.net mvc & sql server). How to ...
1
vote
0answers
2k views

Unity Photon Networking - Cant understand OnPhotonSerializeView

In all tutorials I see that an object sends data over the network and receives the data. For sync in the same method: Code: ...
0
votes
0answers
22 views

Photon PUN OnPlayerEnteredRoom not triggering

I'm very new to Photon, medium experience in Unity. I'm trying to implement a lobby where, once a player enters the room before the game starts, a player card pops up for them ie. just their picked ...
0
votes
0answers
25 views

How do i prevent the next player from being called?

I got help from someone on making a turn-based button but so far I am not able to prevent the button from getting the next player when a certain bool is activated in the room. Initially, the ...
0
votes
0answers
20 views

Photon+Playfab Authentication: Photon Application Not Found

I've been trying to make this PlayFab+Photon Authentication script for my multiplayer game from this Photon quickstart guide but I got this error I have been trying to resolve: 🗨 PlayFab ...
0
votes
0answers
63 views

Cinemachine camera not working in Photon multiplayer system in Unity

I am fairly new to the whole multiplayer game mechanics, but I made a simple car controller and added Cinemachine camera as a child to the car and then made it into a prefab, and I instantiate the car ...
0
votes
0answers
6 views

How to make a normal object a child of a Photon object across network

I'm still fairly new to Photon, or online in general, I'm having a lot of difficulty assigning a child to the proper object. I'm using the Ready Player Me plugin(honestly, I hate it lol, but my client ...
0
votes
0answers
14 views

Facebook user data deletion call back unity game

I am working on the multiplayer game in unity using photon servers. I want to access the friends list, so users can invite and play with their friends. I have implemented the Facebook SDK.But in order ...
0
votes
0answers
18 views

game button animation lag with Photon

Friends, I am making games using photon. But I could not do the delay animation as described in this link. The action appears to be late on the player according to the ping. Can you give an ideas ...
0
votes
1answer
144 views

Photon Transforms syncing other transforms

I have a problem wherein this happens: It's problematic because I'm unfamiliar how to set the same player value in the same transform over the network. Is there a way where if I get the list of ...
0
votes
0answers
21 views

Can't Get Component On Photon Instantiated Scene Object

I'm completely new to photon. I have a fair bit of experience with Unity but learning multiplayer feels like learning a new game engine lol. I'm using photon and making a chess game, so I've put ...
0
votes
0answers
108 views

Automatic Disconnecting of Players and The game is kinda Lag in PUN 2

I am creating a 3d game application in unity with the use of PUN2. When I start the game, all players automatically disconnected and the animation of players is kinda lag or not synchronizing towards ...
0
votes
0answers
28 views

I can not proceed to my room menu using photon in unity when i use PhotonNetwork.JoinRoom()

I have a TextMeshProUGUI called EnterRoomName and I am trying to enter the name of the room that I'm supposed to enter, but it's not working. This is my function: <...
0
votes
0answers
19 views

Overridden movement function doesn't work

I moved from C to C# so I am a novice in Object Oriented Programming. I wanted to implement OOP in my character movement, but it didn't work the way I expected. My character is instantiated when the ...
0
votes
0answers
24 views

Photon2 billboards take a long time to face the camera

I'm using PUN2 and trying to use nametag billboards for my players, but they are not facing forward correctly and I have to wait more than 20 seconds to make the name tag of player return to facing ...
0
votes
0answers
55 views

how to make my camera follow script work for Photon Pun2

I´m currently working on the Multiplayer part for a 2D top-down game. I´m using Photon Pun2, to do this. My problem is, that always just the last player, who joined the game get´s my camera follow ...
0
votes
0answers
12 views

Loading Data From Lobby Scene to Gameplay Scene with Photon Network

As the title suggests, I am currently stuck trying to program a way to load some game mode preferences (ie. what type of game mode/players on each team/ etc...) from a player lobby scene to the actual ...
0
votes
2answers
560 views

Getting user id from one scene then to the next scene

I'm new to multiplayer and photon so pardon me if this question is somewhat frequent. I have successfully set up my project to start from a main menu - waiting room - actual gameplay scene. However I ...
0
votes
0answers
256 views

Cost of Unity Local Multiplayer VS Unity Online Multiplayer

I know that making multiplayer games in Unity costs money because of the servers that are used in connecting the players. So basically its free upto 20 CCU and then it increases as per the CCU. Its ...
0
votes
0answers
208 views

Unity network player synchronization issues with HingeJoint(s)

I have a vehicle with custom wheels which are connected to it by the HingeJoint components. Everything works perfectly when using this car in single-player mode. Wheels are actually as ...
0
votes
0answers
528 views

Photon-Unity Instantiation not working

I use Unity and Photon for the multiplayer. I Instantiate my gameObjects using this method : ...
0
votes
0answers
124 views

Unity Photon multiplayer :: check distance between two players

How to get distance between two player in a photon multiplayer game. Condition is both the player is moving. I have tried something like this, in my player control script: ...
0
votes
0answers
349 views

Unity3D and Photon Networking RPG

Good time of the day. My question might sound stupid, due to the knowledge you might have, but here it is. I've purchased Diablo 3 a long time ago and been enjoying it since then. Since many of my ...