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
vote
1 answer

PhotonView Does not Exit

Received RPC "RPCname" for viewID 2010 but this PhotonView does not exist! View was/is ours. Remote called. By: #01 'name' using Photon.Pun; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Bullet :…
이관우
  • 3
  • 3
1
vote
0 answers

PUN2 nonmaster client cannot leave room

I have a 2 player board game where one client is the master client and creates a room which the second client then joins via JoinRandomRoom. My intention is that once a game has ended, if both players choose to they can have a rematch, but if either…
1
vote
1 answer

Hi, I want to know what will be the minimum network speed for agora, webGL and photon?

Minimum Network speed for the webGL, Agora and Photon? I want want some particular answer or any link from where i can get it
rooh
  • 13
  • 2
1
vote
0 answers

error when rejoining or entering another after leaving a room phroton

I'm making a 2d game with unity and I want it to be multiplayer but the problem is when the player(who doesn't host the room) leaves and rejoins I get the error NullReferenceException: Object reference not set to an instance of an…
Coralap
  • 21
  • 2
1
vote
1 answer

With Photon x FMETP Asset is something that you know?

I'm trying to use the FMETP asset implementing the pun script following the information from the web page and the process that I'm doing in unity editor is object with FMETP Encoder assignig the FMStreamPun method to send the bit -> New Object with…
Serchnm
  • 11
  • 1
1
vote
0 answers

PUN + Standard assets character controller

So, I have 3 scenes a singleplayer scene, a multiplayer scene and a menu scene. When more then one player joins onto the multiplayer scene they both move in the exact same direction. The deafult PUN character controller does not work very well + the…
1
vote
1 answer

RPC takes minutes to update | Unity + PUN2

I'm just about to release a game in Unity with PUN2 and having a major delay issue with RPC calls. I am updating a value every time a button is executed, this: [PunRPC] private void takeOnePropertyTotal() { totalProperties -= 1; } On my side it…
user3337790
  • 142
  • 1
  • 7
1
vote
1 answer

Multiplayer game without a host player

I want to create a multiplayer game using the Unity engine. I have played around with Mirror and Photon but they both seem to require a "Host" player to start a served game. Is there any other option to create a game using either of these to make it…
Wp3Dev
  • 2,001
  • 7
  • 38
  • 54
1
vote
0 answers

Photon Fusion WebGL Round Trip Time is 5 times slower than the desktop version

I have a game built using Photon Fusion, everything is working perfectly fine on the desktop version, the round trip time is around 30ms which is perfect. But with the same settings, when I connect to the server with the WebGL build, it's 5 to 7…
1
vote
1 answer

Error when leaving the master's room from the room Photon

I set the timer of the existence of the room as the properties of the room. As soon as the master player leaves the room, an exception is triggered: Operation setProperties (252) not called because client is not connected or not ready yet, client…
1
vote
0 answers

Unity Multiplayer Photon Engine Game on WebGL not connecting to remote computers

I have a multiplayer game (Shooter Sports) which I recently posted on itch.io. I made the game using Unity and Photon Engine (for the multiplayer aspect). However, when testing the game after publishing it, I find that I am unable to connect and…
1
vote
1 answer

Start() being called 2 times with Photon

I'm making a multiplayer system. I have a strange situation about Start(). When the first player joins there is 2 logs "player joined". So, when second player joins, their model instantiates twice (there is PhotonNetwork.Instantiate in Start()). I…
user17833773
1
vote
0 answers

Why photon room properties not found in lobby?

The player can create a room with certain properties that once created I set them and for lobby so that I can then display them in the lobby. Function to create room: public void OnCreateRoomButtonClicked() { RoomOptions roomOptions =…
1
vote
0 answers

How to stop synchronizing player collider trigger another collider's animation(Photon 2)

Player 1 view image Do anyone know any method that only the player itself can see the animation but other client can't see it? So, I'm doing stuff like gather tower(Fading dark screen and fading out) player 2 view image But I don't want another…
Morris Lee
  • 11
  • 2
1
vote
0 answers

PUN2: Client often disconnected (client timeout) when enters the game scene on WebGL

I made multiplayer fighting game using PUN2 (Photon Unity Networking) and it works fine on Standalone platform. But when I build into WebGL and test it online, lobby is working fine, but clients enter the main game scene, they instantiate their 3d…
Whikka
  • 11
  • 3