Error CS0535 occurred while following the steps of MRTK tutorial in MS...
Hi, I have been facing this error with Hololens 2, Unity 2019.4.28f1, Visual Studio 2019, Photon PUN 2 (2.33.1) ARFoundation 3.1.3, ASA SDK core/windows 2.7.1, Window Mixed Reality 4.2.1 and XR...
View ArticleBuffered RPC vs Non-buffered RPC (initializing joining players) + design...
Hello! I'm doing my best to follow any best-practices that exist for Photon, since in my experience networking introduces some not-so-clear architectures compared to offline games. Buffered RPCs seem...
View Articlecustomized clothes for players
hey guys, I have a rather unique situation that i havent seen to many other developers talk bout yet with photon. my players have the ability to make there own customizable character for my game. so...
View ArticleManual instantiation returns isMine false always
I'm using my own implemented object pooling system, so I can't use PhotonNetwork.Instantiate directly in my project. However, I found an official document that a player can send an event to instantiate...
View ArticleNo smooth movement on Builds.
Hello! We are currently experience no smooth/lerps from photonview/transforms when making a build target as PC standalone(no vr). It works fine on PC VR + Android VR + mobile, also it works fine in PC...
View ArticleIn 1v1 match how to re fetch the game data if both players left and rejoin...
I am creating a Chess game with a quick match-making option(1v1). And during gameplay player moves are sent back and forth between two players using RPC's. And the match will have a countdown timer and...
View ArticleDoes anyone knows how to sync moving platform?
Does anyone knows how to sync moving platform? when i try to sync it the players keep jitter i used parenting before and rigidbody carry but still not sure how to do it i hope someone answer me.
View ArticleOnSerializeView sets new value but then reverts it back to previous value
Hi, this is driving me crazy so hope you can help me out. I have a method that is setting an object's boolean parameter (isOnOven) to false. This value is then supposed to be synchronized across all...
View ArticleWhy are clients receiving messages sent specifically to the master client?
EDIT: I found the issue, somehow the server was sending out one msg per action per player instead of sending all actions together. This is fixed now with the correct sendrate I am currently doing a...
View ArticleSynchronising weapons using CustomPlayerProperties?
Hey, i'm trying to synchronise each player's loadout between them and the system I'm using uses CustomPlayerProperties. Here's what I've got now:void Start() { //Set the weapon properties...
View Articlemy input values sync late
hi, i have a few questions about syncing my input values. well, I check my input values in the "Update" method and depending on the bool value that is returned to me I do a certain action, and when I...
View ArticleNeed help to enable/disable buttons for players.
Hi. I have a requirement where I will have 5 players connected to the same room. And when it is the first player turn the UI button should be enabled only to him and it should be disabled to all other...
View ArticleScripting Order
Hi there, I am developing the multiplayer game in unity using photon networking. I have two scenes. The first is the online scene and the other contains the game. I have a player script attached to the...
View ArticleSetting IsVisible to 'true' kicks non master players?!
Hi, I'm sure there is a simple reason for this that I'm missing. My game is entirely playable online at this point. A room is created with a master client and several other clients can join. Great! But...
View ArticlePhoton Local Player Appearance
Hello, for a project I need some very specific functions. To explain the situation: I have multiple players in the same Room. One is the main character or observer and the others are in groups. The...
View ArticlePlayer Joined room Message
Hi, I want to make that if the player joins the game it appears a message like Player398 joined the game, I don't know how to do it. I am with this error for a month, please help.
View Article"InvalidOperationException: Duplicate key 1" crash at RegisterPhotonView
From unity crash reporting I see the following crash, not very often but it affects a decent amount of players. I cannot reproduce the crash and my game works great so it's some kind of flaky error....
View ArticleLimiting MasterClient's Control over scene characters.
So i have this very tricky situation i dont know yet how to solve: I have 5 characters in a "lobby" scene (i assume they are owned by the scene by default, hence the master client also owns them). Each...
View ArticlePause turn time with PunTurnManager
Hello, We are using Photon.Pun.UtilityScripts.PunTurnManager. We have two timers in the game. One for general (game timer) and one for each player's turn (turn timer). For the turn timer, we are...
View ArticlePhoton Transform View Not Syncing
I'm not sure what's going on, I have a photon transform view on both my model and the "holder" of the model. It was working just fine, until I swapped out models? Idk I've been working on this for 10s...
View Article