Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Browsing all 8947 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Secure WebSocket on Self-hosted Amazon EC2 (Construct 2 Photon)

Hi,I'm having trouble when I try to connect my self-hosted server (Amazon EC2), using Secure Websocket connection, I followed this tutorial to allow wss:...

View Article


Snychronization direction

Is there any way, to communicate with photon view on owner machine, from client machine (same photon view) without using rpc?We are using a lot of classes, that are not inherited from MonoBehaviour, so...

View Article


Cannot Join a room the second time around

Hi there. I'm developing an application that requires, as I'd imagine most applications do, Joining/Creating a room -> Quitting out -> and then rejoining/creating another room.This was working...

View Article

Spawn / 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 Article

the beam doesnot works , i modify the PunBasics-Tutorial project

i modify that to make it as 2d project but , the beam doesnot works well when two player has connected

View Article


Is there a way to store a large piece of binary data in the Turnbased room?

Hi.I'm trying to store a texture in the Turnbased room, to make it persistent. The texture size is quite large and when I try to get a byte array from it and save it to room Custom Properties - there's...

View Article

Errors in NetworkPeer.cs

InvalidCastException: Cannot cast from source type to destination type.NetworkingPeer.AlmostEquals (System.Object one, System.Object two) (at Assets/Modules/Photon/Photon Unity...

View Article

Image may be NSFW.
Clik here to view.

Please help reduce my amount of Photon Views

Hi guys, I know Im using far too many Photon Views in my game, but I really dont know where I can afford to remove them. If I give a quick overview of my game, and explain why I am using a photon view,...

View Article


Shop system (theory) advice

using pun/photon cloudwhat is the best way to go about this?store purchased items in our databaseretrieve the items the player purchases to string array (key/value pair) on authentication.^ let the...

View Article


Reducing Saved State Size

We are using webhooks to save and load Rooms. We are already truncating the state objects by discarding all the debug entries. There is a Binary entry in the state which sometimes get really big. From...

View Article

Change Player's Turn

Hello !I'm developing a card game with Unity and Photon. When the room has more than 1 Player the game automatically start and every player gets cards. When it is the player's turn then two buttons...

View Article

Reloading scene issue

Hi guys! I'm new to Photon Networking. Recently faced strange problem with scene syncing.In my project after the end of the match the scene must be reloaded.So, all the client on the same scene.What i...

View Article

invite to room other player

I want to connect to specific region by: "PhotonNetwork.ConnectToRegion((CloudRegionCode)region, Version)" and after that I need connect to specific room by: "PhotonNetwork.JoinRoom(roomName)" how I...

View Article


Implementing AI

I am developing a 4 player turnbased card game in which the room has AI in the beginning and then players can join and replace the AI. So my question is..... is it possible that a player joins a game...

View Article

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


Find current region for chat connection

string sRegion = //how do I get the current region the player is connected two in the right format for ChatRegion? I would prefer to not hardcode a region in there.chatClient.ChatRegion = sRegionalso:...

View Article

photon cloud and photon chat billing question

If I have 100 users connected to the cloud, and those same 100 players are using the chat serverdo you count it for billing purposes as a total of: 200 ccu?

View Article


How can i sync the scene loading.

I make a big scene that means loading it will cost a little times. So, when the master client load that scene, i find other player will load the scene slower than master client. That what i dont want...

View Article

Newtonsoft.Json.JsonConvert' is defined multiple times

The imported type `Newtonsoft.Json.JsonConvert' is defined multiple timesI am getting this error when i use photon. I am already using platomic service which seems to already have newtonsoft.json.dll...

View Article

Image may be NSFW.
Clik here to view.

Changed object names and texture not send to later joined players

Hello,I recently started using PUN and I have encountered a problem I have not been able to solve (even through extensive google-fu).Upon starting my application as MasterClient a list of cubes with a...

View Article
Browsing all 8947 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>