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
2
votes
1 answer

Photon Unity Leaderboard sorting

I am trying to get the scores of the players in multiplayer mode using Photon Unity Networking. PhotonNetwork.playerList[i].GetScore(); I use the above line to get the scores of all the players in the room currently. I added the Player Name and…
Geniuz
  • 39
  • 4
2
votes
0 answers

Photon Unity Networking: Scene Objects

Im having a big problem using Photon PUN networking with Unity multiplayer game. The Master Client receives a list of networked SCENE objects to create from the server. The Master Client creates all the scene objects ONCE like this psudo code void…
Programmer2
  • 69
  • 11
2
votes
2 answers

Unity3D: Photon syncing physics events

I'm making a billiard game and I wanna implement multiplayer in it. Since updating the movement in every frame is inefficient and laggy, I thought I could remake the events in game happen in all clients but for some reason they differ from one…
Ssiro
  • 127
  • 1
  • 5
  • 18
2
votes
2 answers

Unity Photon room.SetCustomProperties Not Working

According to what I looked up online, most of the examples take in one parameter which is a single Hashtable. However, I kept getting an error saying there is no overload method that takes only one argument. It requires three. This is the example I…
Shawn Ray
  • 47
  • 2
  • 8
2
votes
2 answers

Echo on Photon Voice. Even on demo

I'm using Photon Voice feature but I get a lot of echo even on the demo. I need to use the speaker so using headphones is not a solution for me. I have try to raise the voice detection value but it barely helps. Someone have the same problem? Im…
2
votes
0 answers

Unity iOS build failed : Apple Mach-O Linker Error

We are using Unity v5.3 and Xcode v6.3. When we are trying to build for iOS, it throws error in build process: "Apple Mach-O-Linker Error" - with tons of errors similar to this: duplicate symbol _llvm.cmdline…
2
votes
1 answer

How To use Matchmaking with Photon?

i used this code to join a room in photon: TypedLobby sqlLobby = new TypedLobby(GAME_LOBBY_NAME, LobbyType.SqlLobby); string sqlLobbyFilter = string.Format("L = {0}" , 8); PhotonNetwork.JoinRandomRoom(null, 2, MatchmakingMode.FillRoom, sqlLobby,…
AminSojoudi
  • 1,904
  • 2
  • 18
  • 42
2
votes
2 answers

Client-Server-Clients* gaming system

I am building a multiplayer game in Unity. For that purpose, I have to send some values from client to two or more clients who are connected via a Server. I want to build it as a server authentic game. Clients will be using Android and their data…
2
votes
2 answers

How could I use OnPhotonSerializeView?

I am currently to to instantiate a box when the player drops it (using "PhotonNetwork.Instantiate"). Now this box, when the player drops it is given data about that box, in the form of an Enum and then distributes the value to the box. But, when the…
bob
  • 21
  • 1
  • 1
  • 4
2
votes
1 answer

Unity 3d Photon Networking

the game i have created is a FPS game and it works with Photon Networking how the game works, when the player shoots another player on the network and kills him that player spawns a coin so a player can collect it and add a point to the…
Devon
  • 21
  • 2
2
votes
1 answer

How to spawn an object by instantiating its prefab via photon unity network - unity 3d

In my multiplayer game, im trying to spawn my player by instantiating it. The error i get when running my program says i am missing the photon view component, yet i have it set to the correct player prefab. Here is my code for my network manager…
devon t
  • 55
  • 2
  • 8
2
votes
1 answer

Client Disconnect with message "Peer Created" - PUN

I am developing multiplayer game in unity using Photon Unity Network plugin. At present, I have completed half of my game. Today I am facing new issue regarding connection of client. Initially it connects with room but after sometime it…
Siddharth
  • 4,142
  • 9
  • 44
  • 90
2
votes
1 answer

Photon 2d game multiplayer lags

I have a 2D multiplayer game using Photon where all the movements are made by RigidBody 2d. When both players are connected I can see my opponent movements but they are not smooth. Last Update Time variable is set to 0.25. using UnityEngine; using…
NovaSurfer
  • 49
  • 1
  • 4
2
votes
2 answers

Mandate encryption on photon server

The photon docs state that In the application frameworks we provide (Lite, LoadBalancing, etc.), the server automatically responds encrypted, if an operation was sent encrypted. This makes it safe to fetch critical data by simply…
TarunG
  • 602
  • 5
  • 21
1
vote
2 answers

Using Photon in Unity after leaving room user can't connect to room by name

Users connect to lobby: private void Start() { PhotonNetwork.ConnectUsingSettings(); } public override void OnConnectedToMaster() { PhotonNetwork.JoinLobby(); SceneManager.LoadScene("Lobby"); } Then users create room or enter in a room…
Rollis
  • 93
  • 8