RPC RuntimeAnimatorController
It doesn't work:public RuntimeAnimatorController AXE_ANIMATOR;photonView.RPC ("Animator_Rpc", PhotonTargets.OthersBuffered, AXE_ANIMATOR);[PunRPC]void Animator_Rpc(RuntimeAnimatorController anim){...
View ArticleGetting weird OperationResponse errors: 229 -1, 227 -1
Dear community,I am just creating a custom UI Lobby for rooms. Whenever I am trying to establish a connection to a specific region using the below code, I am getting an error in the Unity Console which...
View ArticleHow to assign specific data for room?
Hallo, I am a newbie in PUN and first of all I want to excuse my english because I am from germany. I have just one little question, which you can read in the title. I already made a list of active...
View ArticleTrying to JoinRandomRoom for a LobbyType.SqlLobby, but it doesn't work.
Here's my code, I'm not sure what I'm doing wrong:Trying to join a room.. private void tryJoinRandomRoom(){ PhotonJoinedRoomSignal.AddListener(onJoinedRandomRoom);...
View ArticleBest architecture for a moba style game?
Hello. I am using Photon PUN for a project, and after some thought, I am wondering what is the best way to architect a moba style game using PUN.In the last prototype, I applied a PhotonView component...
View ArticleHingeJoint Issue
Hello, everyone.I'm developing multiplayer game with Unity3D. I added some vehicles and some of them are using HingeJoint between rigidbodies.But I have an issue now. If I move one rigidbody, other...
View Articlecustomproperties missing on playerconnected
custom properties are missing from photonplayer OnPhotonPlayerConnected!trying to access a property but it is null! why are properties synced after but not when connection made?
View ArticleHold off on sending OnPhotonPlayerConnected RPCs until after they have loaded...
We often use RPCs in the OnPhotonPlayerConnected function to send players just joining the room info on the players, maps, etc. The problem is that OnPhotonPlayerConnected sends as soon as the player...
View ArticleSynchronization question
I have a scene with a large number of runtime instantiated network scene objects on the MC. When a new player enter the room those objects will automatically get instantiate on the client's scene by...
View Article"Ev Destroy Failed." Could not find PhotonView with instantiationId"
I want to talk about this error - "Ev Destroy Failed." Could not find PhotonView with instantiationId"This error constantly occurs when the network gameplay is active, when the object is deleted after...
View ArticleServer-side kick of a client, triggered by another client
Hello there. We want to add some small admin capabilities in our online game, one of which is having the power to kick toxic players and hackers out of the game.I've seen in plenty of places to use...
View ArticleThis one script controlling the region my game is connected to freezes Unity...
Every time I either edit a script and am on a scene with this script it hangs. Every second time I press play on a scene with this script it hangs. I'm 100% certain its this script. Also, its...
View ArticleDisplaying current player scores in correct order
hi guys, I'm trying to set up a game over menu that displays the current scores of the players in my Multiplayer game using Photon. so far everything works perfectly with the exception of the order...
View ArticleEnemy View
Hello everyone, I have a script that gives rise to 3 enemies (prefabs) in my scene, but every player on the server the enemies are in different places, I wanted to put the enemies as a global enemy,...
View ArticleDifferent Types of MaxPlayers
Hello! I've been using Photon quite a lot recently, and one of the things we'd like to set up is a system for Asynchronous multiplayer with different device types.However, we've run into a problem with...
View ArticleNew client loads old scene when joining room
Hey guys!I'm making a game where I have a main menu scene where I can join games and etc and other scenes where the game happens, after a match finish the players go back to the room screen in this...
View ArticleProper setup for self-hosted server?
So I am trying to set up a self-hosted server for a project I am doing. Currently I have the settings in the Unity inspector as set to self-hosted, the server IP is set to my local IP and the port is...
View ArticleBest way to have spectators that don't impact game performance
Hello!We would like to set up a spectator mode that is completely passive (just listens for player messages) other than the OnPlayerJoined and OnPlayerDisconnected.There is, of course, the ability to...
View ArticleTurn based games like chess or card games
I am a user of PUN.I am trying to make a turn based game like chess or card games.I already checked the code of Rock Paper Scissors Demo.PunTurnManager worked as expected in Rock Paper Scissors.In this...
View ArticleHow often do FPS games exceed free bandwidth with Photon Cloud?
So from what I understand, the bandwidth statistic is the total amount of data that has been transfered for the month. And each plan gives you 3gb per CCU for the month.I've read that a single player...
View Article