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

Respawn When Everyone Else Has Died

How do I go through each player on the server and check if they are dead and if everyone else is dead then the match will restart? Thankyou.I'm guessing it will need a foreach loop or something to go...

View Article


add photonNetwork in script

Hello allPlease i need helpAdd photon network, and if item have spawn dont spawn again item, beacause have much loot after ;( help me please...

View Article


Syncing Swords and Fast Moving Objects

I know this is a topic that's frequently discussed and brought up, but I wanted to bring some of the specific issues I've been having to the table. I've been developing a game for the HTC Vive that...

View Article

Upgrading Photon Server from v3 to v4 (reconnecting)

This discussion was created from comments split from: Upgrading Photon Server from v3 to v4.

View Article

OnPhotonSerializeView Not firing

Hey guys, i'm new to Photon and am just trying to get OnPhotonSerializeView working. For this example i decided to just send an int over the network. The Code and Inspector: imgur.com/a/Vqm7G, from my...

View Article


How to Account for: Operation failed: OperationResponse 226: ReturnCode:...

I know what's causing this error, I am in fact causing it deliberately to stress test my lobby code. I have a game where I want the rooms to be visible to the player in a scroll list and then tap a...

View Article

After importing Unity I get errors

I have never used photon before and not sure what to do...I am importing pun into my project (card Game) it also has playmaker installed...unity version is 5.3.4f1those are errors ;- Assets/Photon...

View Article

Issue in playing over across Continents

Hello guys, I just started playing around with PUN like a few days ago and made a simple multiplayer tank shooting game , it works perfectly when I test it with my friends around my city , but when I...

View Article


Why is EmptyRoomTtl commented? I Need it!

I want to set EmptyRoomTtl to 0 when PlayerTtl is not 0 in creating game. but RoomOptions.EmptyRoomTtl is commented in LoadbalancingPeer.cs line ~1341.In other place, i saw this: if...

View Article


PUN , and voice demo, playercontroller issues?

HiSo reasonably new with PUN. Ive started with the PUN VOICE demo. (with the bunny, and helliphant etc)That all worked fineThe next step was to add some human characters instead. So using Ethan as a...

View Article

IOS player dont spawn

hello here is the situation:player A on desktopplayer B and C on iphone/ipadall players logins, player A cant see player B and C ( no gameobject instantiation) player B and C can see everyone

View Article

Sync the position of a ball in the game.

Hello everyone,I started using Photon to make my game multiplayer, and it's my first time doing something network related.I followed a few tutorials and I found how to synchronize my players, which...

View Article

Image may be NSFW.
Clik here to view.

How to make a Lobby Scene

So I have been looking everywhere and I can't seem to find any instance of Photon or Unity being able to handle a Lobby Scene where when connected to the server, the UI shows all the available rooms...

View Article


move object to destnation player position using raycast

hi... I want to move object in PUN environment where user clicks. Destination object position will be different in different app but i wanna do like that object destination click should be unique for...

View Article

ThirdPersonController and Photon

Giving a go to Photon integration with ThirdPersonController (from Opsive, Asset Store) i'm wondering if anybody here had it working and is satisfied with the results; i'm having quite issues with...

View Article


Image may be NSFW.
Clik here to view.

Exception: Socket::Bind() The requested address is not valid in its context

Hi guys! I got some issue with my app in Unity using Photon Server, I got multiplayer strategy for mobile, My server workes fine if i set local IP on PCs. But i'm new in server programming, so i'm not...

View Article

Photon Server Setup and Tutorial

Hi, I have previously used photon unity networking cloud to create a real time multiplayer game. I used photon cloud for that. Now, I am thinking of creating another game similar to agar.io. Now for...

View Article


Need help with little disconnections from Mobile Connections

I'm developing a turn based game with PUN, sometimes the connection with the Photon Network goes down for just few seconds and the only thing i'm able to do right now is to check on the other client...

View Article

JoinRandomRoom

void OnJoinedLobby(){ Hashtable customRoomProperties = new Hashtable() { { "tip_room", 1} }; PhotonNetwork.JoinRandomRoom(customRoomProperties, 2);}void OnPhotonRandomJoinFailed() {...

View Article

Send a mesh via network

I'm trying to send a mesh data(Mesh filter component) via Photon Unity Networking continuously. Also, it needs to be in sync like transform component. I tried using UNET, but I was not able to send the...

View Article
Browsing all 15755 articles
Browse latest View live