Questions tagged [photon]

Photon is networking and multiplayer middleware.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
260 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 ...
1
vote
1answer
947 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 ...
1
vote
0answers
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: ...
0
votes
0answers
16 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 ...
0
votes
1answer
15 views

Photon Transforms syncing other transforms

I have a problem wherein this happens: It's problematic because I'm unfamiliar how to set the same player value in the same transform over the network. Is there a way where if I get the list of ...
0
votes
0answers
11 views

Can't Get Component On Photon Instantiated Scene Object

I'm completely new to photon. I have a fair bit of experience with Unity but learning multiplayer feels like learning a new game engine lol. I'm using photon and making a chess game, so I've put ...
0
votes
0answers
23 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 ...
0
votes
0answers
18 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: <...
0
votes
0answers
18 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 ...
0
votes
0answers
22 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 ...
0
votes
0answers
25 views

how to make my camera follow script work for Photon Pun2

I´m currently working on the Multiplayer part for a 2D top-down game. I´m using Photon Pun2, to do this. My problem is, that always just the last player, who joined the game get´s my camera follow ...
0
votes
0answers
12 views

Loading Data From Lobby Scene to Gameplay Scene with Photon Network

As the title suggests, I am currently stuck trying to program a way to load some game mode preferences (ie. what type of game mode/players on each team/ etc...) from a player lobby scene to the actual ...
0
votes
0answers
27 views

photon unity why error GO:Networking Manager appears when trying to make the scene not restart / reload when another clients join the room

photon unity why error Debug.LogError("Illegal view ID:" + view.viewID + " method: " + methodName + " GO:" + view.gameObject.name); appear the code ...
0
votes
0answers
48 views

How to get good movement synchronization in a networked game (action/shooter)

I've spent the last two days trying to get good movement interpolation with Photon in Unity but I can't get anything that I'm happy with. I've tried several methods but none satisfied me. My ...
0
votes
0answers
23 views

Streamline login, so user types their ID just once

I have been watching tutorials and have these two scripts that I didn't write. One script asks for the username for the player to input. When the player enters the room I have a chat system that pops ...
0
votes
0answers
51 views

Billboard nametag not working

I'm using PUN2 and trying to use nametag billboards for my players but it's not working. I think it has something to do with me destroying the camera on the player controller script. When I load the ...
0
votes
0answers
39 views

Object destroyed when applying WebCamTexture across Photon

This script turns the texture from WebCamTexture into a byte array to send across Photon as an RPC. However, when it is called, it displays the WebCamTexture for 1 frame before destroying the entire ...
0
votes
0answers
14 views

Photon Camera Conflicts

I'm new on this forum as I'm new on unity ^^ I hope I'm not writing this thread in the wrong place. So, I'm trying to get this 3rd person multiplayer Tank with RTC controller game to work, where you ...
0
votes
2answers
316 views

Getting user id from one scene then to the next scene

I'm new to multiplayer and photon so pardon me if this question is somewhat frequent. I have successfully set up my project to start from a main menu - waiting room - actual gameplay scene. However I ...
0
votes
0answers
222 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 ...
0
votes
0answers
145 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 ...
0
votes
0answers
430 views

Photon-Unity Instantiation not working

I use Unity and Photon for the multiplayer. I Instantiate my gameObjects using this method : ...
0
votes
0answers
107 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: ...
0
votes
0answers
331 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 ...