Disconnects Between 3G HSPA 4G W-Fi
Hi, I have been having seemingly random disocnnects when using mobile data in our game. Recently I noticed that the disconnects coincide with the mobile connection changing mode. I just had it happen...
View ArticleHow to send small chunks of a big data and then resemble them?
It works when I use PUN to send data from one player to another one. But it is impossible to send big data (~2MB) using PUN so I am thinking about splitting big data into small chunks and sending using...
View ArticleHow to create a plugin ? No option in dashboard.
I am using free account there is no option to create plugin.Only one option is there to create web hooks.
View ArticleRoomInfo.CustomRoomProperties is empty on lobby?
Here's how I create the room: public void CreateRoom(string name, string mode, string map, int maxPlayers) { popupCreateLobby.SetActive(false); popupConnecting.SetActive(true);...
View ArticleInstantly recycle player IDs?
I've noticed that when a player leaves the room, its ID is not available for reuse. Example: Bob joins Room A and is assigned ID 2. Bob leaves Room A. John joins Room A. John is assigned ID 3.What I'd...
View ArticleI don't know which package I need
HiI am looking to create a server for my unity game which allows people then buy and host their own server for the game in the same way people do for Battlefield. I am not sure which package i need to...
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 Article25+ NPCs that two players can interact with
I'm making a game where a game room will contain 2 players and on the order of 25-40 NPCs that the players can attack. The NPCs have simple behavior with no complex pathfinding requires (just move...
View ArticleCustomProperties crash?
Hello, when I call something like this: int ai = (int) PhotonNetwork.playerList[index].CustomProperties["avatarIndex"]; ...I'm getting a crash (well, a NullReferenceException) if the "avatarIndex"...
View ArticleDifference between photonView.viewID and PhotonNetwork.player.ID
I have received the list of players through PhotonPlayer.playerList. Now I need to send the message to the certain player. How I am able to do it? I assumed that it is possible with such method:...
View ArticlePhoton Bolt's Session Discovery Finding Servers Running on a Local LAN or WiFi
Hi,Can anyone help me on the topic for implementation.Could not find any proper example in the documentation.
View ArticleCocos2d-x turned based game using Photon cloud
Hi, I am trying to figure out how to use the cloud services for turned based games.I am using cocos2d-x, so PUN is not applying to me.As reading the documentation, I realized that the Photon service is...
View ArticlePhotonServerSettings "Run in Background"?
startup guide appears outdated, the docs search and forum search can't find it either :P super mysterious setting, indeed!Thanks
View ArticleJoining a server with other players on separate versions -- shouldn't happen,...
In the live version, people join "v0.8.30b", for example. In our test version, players join version "1". However, both versions are thrown together in the same lobby: I read that they should be...
View ArticleOnJoinedLobby() isn't called after first login for the session
"Called on entering a lobby on the Master Server.""OnJoinedLobby() or OnConnectedToMaster() are called when PUN is ready"The callback works after failing to join a room or every other time it's...
View ArticleCompletely arbitrary "Failed to get server instance"
-The server is hosted on my own computer -Everything is set up correctly AFAIK-It works for hours at a time before suddenly refusing to work-The photon control log shows absolutely nothing that sheds...
View ArticleMany Moving Objects (Optimization)
Hello All,I have a photon networking game in a space environment. There are many 'asteroids' that move independently for the player to evade. They can crash into each other and bounce off. They can...
View ArticleStrange desync error in TrueSync's Farseer library
Context: We added logging to let us know when 'rollbacks' happen. After a rollback, the physics broke - but it only broke in an external build, not the one that was running the editor. Any ideas on...
View ArticleSet rotation of GameObject
Hi ,I have simple question. I tried convert this non-deterministic code: Quaternion fromRotation = transform.rotation;Quaternion toRotation = Quaternion.Euler(0, 0, angle);transform.rotation =...
View ArticleSync problem when mobile press home button,Please HELP me, I'v searched for days
I made a card game on mobile with 3 players using unity3d. If the playerA is the master client, when playerA press home button, the game stucks, no sync will do. so the next playerB will not get his...
View Article