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

How can I block a specific user in random match making by using Photon Engine ?

We are making random match making game by using Photon engine. We want to match players with different users in a certain amount of time. If PlayerA plays with PlayerB they cannot play again for 30 minutes. What is the best way of doing this kind of…
Çağatay Kaya
  • 417
  • 1
  • 6
  • 19
8
votes
1 answer

Built-in Multiplayer in Unity3D without a Server?

I heard Unity3D has a Built-In Multiplayer functionality and it can provide the service without a server. But I couldn't find any information about it, all the turtorials I found were just about working with Photon(PUD) or Google Services. I know…
Jenix
  • 2,996
  • 2
  • 29
  • 58
7
votes
1 answer

How to initialize the camera for players in Photon

I making 2D game, the problem is that when the first player creates and appears in the room his camera is working normally, but when a new player enters the room, the first player sees everything through the camera of the second player. Further, if…
scrinlock
  • 73
  • 1
  • 4
7
votes
2 answers

How can I list rooms in Unity? (PUN2)

I need to list the romos there are in my lobby scene. For now, this is the code I've used but I don't know why it isnt working. Is this the correct way? public override void OnRoomListUpdate(List roomList) { …
Sebastián García
  • 103
  • 1
  • 3
  • 11
7
votes
3 answers

What is the difference between Photon Server and Photon Cloud?

What is the difference between the Photon Server and Photon Cloud products?
photonians
  • 699
  • 1
  • 4
  • 12
6
votes
2 answers

Unity3d WEB GL build with photon network

I has been developed multiplayer unity3d shooter with photon network(PUN). It builded fine and running for windows(exe), but it does not work in browser(web gl). Test project without photon works fine in browser. I think the problem linked with…
user1941407
  • 2,722
  • 4
  • 27
  • 39
5
votes
1 answer

R shiny standalone application using Photon

I am looking for an easy way to create a standalone application from a Shiny App. I first saw 'Shiny meets electron' talk by Katie (see Google). After going through their website, I think Photon is their latest method! I tried to test Photon in it's…
Luc
  • 899
  • 11
  • 26
5
votes
0 answers

Can't Destroy PhotonNetwork Objects for Some Reason

I'm trying to delete an instantiated photon network obejct object once it has been collided with, however even though im I'm setting it to the object and the error returns the correct object it can't delete it for some reason and I can't figure out…
Grant Zukel
  • 1,153
  • 2
  • 24
  • 48
4
votes
1 answer

Photon library offline mode issues

Is there a way to use Photon library in offline mode? I am trying to access two android devices that are connected to a single hotspot without internet. Is there a way to achieve the communication? I am using PhotonNetwork.OfflineMode = true as…
user11458208
4
votes
2 answers

Photon Networking Unity AllProperties not setting

I started using Photon Networking for Unity and I ran into a problem. I want to add to the CustomProperties in the player and then I want to debug the result. However the debug prints "Null". I do this after the room is created. The funny thing is…
anonymous-dev
  • 2,897
  • 9
  • 48
  • 112
4
votes
6 answers

Photon Unity Networking or Bolt or ...?

I am not able to decide whether to use PUN or Bolt in my Unity based multiplayer game. The game must have LAN and over the internet playing options. According to documentation on photon website, PUN is meant for multiplayer games over the internet.…
Pavan Chopra
  • 83
  • 1
  • 1
  • 8
4
votes
1 answer

When to use Photon Networking master client?

I'm trying to understand what exactly is Photon Networking Master Client. Docs give the folowing usage scenario for this term: In absence of a server, it can be made responsible for handling logic that should only be executed by one client in a…
Oleg Glazirin
  • 55
  • 1
  • 1
  • 6
3
votes
2 answers

C#: Unity Photon doesn't add physics to the second connection

I am trying to make a multiplayer air hockey game in Unity, but encountered some problems. When the first user creates the room, the hockey puck is spawned along with the first player's mallet (the object you hit the puck with). When the second…
John C
  • 517
  • 2
  • 6
  • 16
3
votes
1 answer

PlayFab vs Photon vs other solutions

I'm just getting my feet wet with multiplayer capabilities in Unity, and would like to have matchmaking and for now, just 1 v 1 matches. What I'm a bit confused about, is some people seem to be indicating they use both PlayFab and Photon together,…
Ginzorf
  • 769
  • 11
  • 19
3
votes
1 answer

Rigidbody AddForce doesnt work in Photon Unity

When it try to add a Force to my Player it moves and then gets teleported back. Do i need to use a RPC ? New Code: void OnTriggerEnter(Collider other) { if (other.gameObject.CompareTag("Weapon")) { rb.AddForce(Vector3.back *…
face cem
  • 41
  • 2
1
2 3
44 45