Questions tagged [photon]

Photon is networking and multiplayer middleware.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
280 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 ...
stighy's user avatar
  • 397
1 vote
1 answer
1k 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 ...
Rusildo's user avatar
  • 103
1 vote
0 answers
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: ...
mirzahat's user avatar
  • 277
0 votes
0 answers
25 views

Transfer ownership from one user to another not working in Unity / Photon

I'm having trouble transfering ownership from one user to another in Unity Photon. Basically one user who owns the object picks it up (enters isMine), then the ...
 d_test_2030's user avatar
0 votes
0 answers
39 views

Second player gets stuck while joining

I get this error message on the console whenever I try to make the second player join. Failed to find a PhotonView with ID=2 ...
zaboombafoo's user avatar
0 votes
0 answers
46 views

How to synchronize pausing and unpausing game using Photon Unity Networking (PUN)

I need some help figuring out how to synch pausing and unpausing the game to other players. I have a UI button where players can pause using the code I have posted below. Pausing works fine with all ...
Ryan Cat's user avatar
0 votes
0 answers
28 views

How to update other players after adding a character to the text UI

Hello I'm new to multiplayer development and I'm using photon pun 2 in Unity engine C# language. How can I update other players every-time I add another character to my text UI. The characters that ...
Ryan Cat's user avatar
0 votes
0 answers
319 views

Photon Fusion Object pooling

I would like to ask if anyone has some experience in object pooling through Fusion. To sum up things im migrating from Pun2 to Fusion and need to update my object pool. My issue apart from my lack of ...
stratos la's user avatar
0 votes
0 answers
64 views

Error assigning value to object instantiated by Photon Pun?

I instantiate an object using the following line: obj_player = PhotonNetwork.Instantiate(prefab_obj_player.name, transform.position, Quaternion.identity); Right ...
Boneco Sinforoso's user avatar
0 votes
0 answers
259 views

How to fix "Operation FindFriends (222) not called because client is not connected or not ready yet, client state: PeerCreated." in Photon

So here I am trying to add a Player as a friend to myself. I am following a tutorial for the same So I am using the PlayFab to update the friend List. When the update is successful onFriendListSuccess(...
chethanv77777's user avatar
0 votes
0 answers
35 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 ...
Kamran's user avatar
  • 1
0 votes
0 answers
436 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 ...
Lacus clyne's user avatar
0 votes
0 answers
48 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: <...
Lacus clyne's user avatar
0 votes
0 answers
25 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 ...
Gorlomi's user avatar
0 votes
0 answers
48 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 ...
Lacus clyne's user avatar
0 votes
0 answers
416 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 ...
Sarvagna Shukla's user avatar
0 votes
0 answers
390 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 ...
Serg's user avatar
  • 373
0 votes
0 answers
901 views

Photon-Unity Instantiation not working

I use Unity and Photon for the multiplayer. I Instantiate my gameObjects using this method : ...
GameDevF7's user avatar
0 votes
0 answers
203 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: ...
Arijit's user avatar
  • 101
0 votes
0 answers
370 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 ...
Ivan Zhivolupov's user avatar