Questions tagged [photon]

Photon is a realtime multiplayer cross-platform api from Exit Games.

Photon is a realtime multiplayer cross-platform api from Exit Games. It provides it's services in two forms. You can either choose to have it's fully managed Cloud service or can implement your own Server via it's Photon-Server api.

Links:-
Photon SDK

664 questions
-1
votes
1 answer

OnJoinedLobby or OnConnectedToMaster - Photon (Unity 3d)

JoinOrCreateRoom failed. Client is on GameServer (must be Master Server for matchmaking) and ready. Wait for callback: OnJoinedLobby or OnConnectedToMaster.enter image description here . Please help us out with this problem.
ChicMic
  • 1
  • 1
-1
votes
1 answer

Are Photon raise event and rpc interchangeable?

I've read a few forum posts that some people prefer to use raise event over rpc, but I can't find the reason why they prefer it. Is raise event interchangeable with rpc? I mean I get it raise event is easier to use than RPC , because RPC requires…
-1
votes
1 answer

How to find the photon view id on unity and store it on a script

I'm creating my first multiplayer game using photon and I don't know how to find the photon view id on unity and store it on a script. Thanks
-1
votes
1 answer

Unity photon plugin

I have created a multiplier card game using photon plugin in unity,But i stuck in displaying one user data to other,How to display one user data to other in unity using photon can anyone please help
Udayavani
  • 306
  • 2
  • 9
-1
votes
1 answer

Unity photon engine namespace errors

i am currently coding a game in unity with multiplayer. I set it up with a tutorial but only got errors. This is the Video: Video And this are the Errors This is my code using System.Collections; using System.Collections.Generic; using…
Fabboy
  • 33
  • 5
-1
votes
1 answer

How to instantiate a prefab and set its dependencies with PHOTON

Im trying to isntantiate a prefab with photon bit i have this issue Thats because the prefab im trying to instantiate needs some dependencies from de scene like the camera Any ideas how can i do this?? :/ Thanks a lot!
-1
votes
1 answer

Display Another Player's Scores

I made a simple multiplayer quiz game. At the end of the quiz I want to display the scores of both players. Is it possible to get PlayerPrefs value from another player? I use Photon PUN.
BlckAddict
  • 13
  • 2
-1
votes
1 answer

What is CCU in photon Unity?

I can't understand Photo Engine CCU meaning and how to count it for my multiplayer game. Can anyone Explain how photon count CCU.
-1
votes
1 answer

C# Variable not changing after Assignment, Change shows in UI

In my scoreboard UI I have a box that is just an image with Score_Entries inside as children. There are 4 children, one for each player in the game. When the scoreboard starts up I have a function that assigns the text inside the Score_Entries Ui…
-1
votes
1 answer

Unity Photon Rigidbody Addforce only works on master client

I have 2 player and 1 ball, when the player touches the ball, the ball adding force. But its only works on master client :/
-1
votes
1 answer

Unity Photon PUN 2 - transfer of information between clients

I am trying to implement multi-player networking with Photon PUN 2 in a Unity game. I have only been looking at this for two days, so I am learning as I go. Sorry for the long question: I have managed connection, the lobby, creation / joining rooms…
nmw01223
  • 1,611
  • 3
  • 23
  • 40
-1
votes
1 answer

Photon Pun 2 change position with mouse

I think there is problem between Photon and mouse position. Because when I try to change position of object with keyboard it works successfully but when I try to change position with mouse it is not changing over the network. How can I change object…
-1
votes
1 answer

PUN 2 Player respawns on every client join

I'm having this problem where players will respawn at spawn points every time a new player joins the room. Each player should only be moved to a spawnpoint every time they join a room. This does happen and it works. It also happens in a respawn RPC,…
Jack Sebben
  • 69
  • 2
  • 9
-1
votes
1 answer

Set NickName for photonplayers unity3d

I have a problem seeing the name of the client-side but in my master side names of the player is showing so what I did was like this public override void OnPlayerEnteredRoom(Player newPlayer) { PlayersName(); } private void PlayersName() { …
user12774261
-1
votes
1 answer

Unity3D strange behavior of cameras in multiplayer

im new to unity and am struggling with a strange behavior of my Cameras. Im programming an Online Multiplayer Game with Photon Plugin. The strange behavior: Player1 logs in --> all good Player2 logs in --> Camera of Player1 switches to Player2…