photon html5 sdk can not connect custom server?
Hello, I want to use photon h5 client to connect my own photon server. But I find the API (Photon-Javascript-Sdk_v4-0-0-6 \\ doc), found only through your LoadBalancing.LoadBalancingClient connected to...
View ArticleUNet with PUN
hi everyone, I am fresh new here and I know my question is so stupid but I will ask it anyway.I have already finished my game using the UNet HLAPI but am not happy with the relay servers of unity so I...
View Articlecalculate Msg/s per room
Hi everyone, my question is does PhotonTransformView and PhotonRigidbodyView messages count when calculating the msg/s per room?
View ArticlePhoton voice and UWP Win10
I try to compile a Unity project for UWP Win10 target (Hololens), but i've got an error during building.Assets\Plugins\PhotonVoiceApi\Core\VoiceClient.cs(949,25): error CS1729: 'Thread' does not...
View ArticleSound heavily distorted with conferencing mic-speaker
Hello everyone,I have implemented PhotonVoice in my game. It works great, except one thing. Anytime I try to use ANY conferencing mic-speaker the sound gets heavily distorted. I tried several...
View ArticleAdd around 1000 players in one room.
Hi,We have a specific requirement for our game where we require at most 1000 players in one room, because its a GPS based interaction game. Is this approach possible in photon? If yes, then what can we...
View ArticleDoes Native Library Support Master Client and Host Migration?
Hi Photon Team,I read https://doc.photonengine.com/en-us/realtime/current/reference/hostmigration .I have 2 player in game A and B.When MasterClient A lost connection the room been closed.B is not...
View ArticleCannot check if all players are ready with CustomProperties
Hey folks,I am trying to set up my game in such a way that once both players choose their race, then the game starts.What I do is I first declare hashtable, bool and int locally: public bool chosenRace...
View ArticleInvalid Cast Exception Error : Right After Photon.Instantiate ?
Hi Fellows, I am getting error when Photon.Instantiate called. It is okay when i assing Photon.Instantiate group parameter as 0.But if i do set group parameter differenly. I am getting...
View ArticleOnLeftRoom is not working
public void leaveroom() { PhotonNetwork.LeaveRoom(); Debug.Log("Leave room"); } public void OnLeftRoom() { Debug.Log("Left room"); Application.LoadLevel("room menu"); }Leave room is getting called but...
View ArticlePhoton Voice High CPU Usage
Hello,In testing out our Photon Voice integration, we noticed that both Unity and built stand alone executables are running at a very high CPU (150%-300%). I have noticed the same exact spike in CPU...
View ArticlePhotonNetwork.RaiseEvent() help
I am familiar with the PunRPC process (how to use them) as well as Events and delegates in unity. I do not understand how to take a function for an object in unity(local) and send that to a...
View Articlephysics problem
condition1. make scene object2. push scene object as master client and other client3. using photonTransforview, PhotonTransformPhysicsresultmaster client push object well but other client has...
View ArticleAdd New Game Object To Existing Photon View
Hello,Is it possible to add a game object (as a child) to an existing Photon View game object?Something like this:MyPUNManager.csvar player = PhotonNetwork.Instantiate (playerAvatar.name,...
View ArticleSpawn / Sync existing game object (Player)?
Hello,My current game is using vrtk (VR ToolKit). I have this CameraRig game object, which is the player character. For some reasons, this CameraRig need to be on scene first instead of using...
View ArticleAdd variables to an Event
using a delegate and an event like in this tutorial https://unity3d.com/learn/tutorials/topics/scripting/eventshow would I do this same thing but add parameters to the delegate?I've tried doing it the...
View ArticleHow Do I know MasterClient is Change ? Like OnMasterClientSwitched()
Hi Photon Team,I read https://doc.photonengine.com/en-us/realtime/current/reference/hostmigration1. What is the API name to switch master client?2. What is the call back function or what listener can...
View ArticleHow do i PhotonNetwork.Instantiate with just a single paramter? aka with a...
What im trying to do is basicly this:PhotonNetwork.Instantiate(myDotList.Add((GameObject)Instantiate(myDotPrefab, mousePoint, Quaternion.identity)));I have a list of gos that needs to be in a list to...
View ArticlePUNVoice: Attempt to create multiple instances of PhotonVoiceSettings
PUNVoice: Attempt to create multiple instances of PhotonVoiceSettings.Why? How to solve this?
View ArticleHow to handle Phone Calls ( game play interruption ) ?
hello,- Any best practices on how to handle phone calls ( or any game play interruptions ) in a player vs player network game ?- does photon player exit the room when he receive a phone call ?Thanks.
View Article