Quantcast
Channel: Recent Discussions — Photon Engine
Browsing all 15755 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


How 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 Article


How 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 Article

RoomInfo.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 Article

Instantly 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 Article


I 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 Article

Photon 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 Article

25+ 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 Article


CustomProperties 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 Article


Difference 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 Article

Photon 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 Article

Cocos2d-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 Article

Image may be NSFW.
Clik here to view.

PhotonServerSettings "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 Article


Joining 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 Article

Image may be NSFW.
Clik here to view.

OnJoinedLobby() 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 Article


Completely 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 Article

Many 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 Article


Image may be NSFW.
Clik here to view.

Strange 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 Article

Image may be NSFW.
Clik here to view.

Set 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 Article

Sync 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
Browsing all 15755 articles
Browse latest View live