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

Unable to get custom room property from room info. Alternatives?

As the title says.Any alternative to get the custom room info to be listed in the lobby?

View Article


SceneManagerHelper missing in new install V1.65

I just installed the Free PUN, I am new to PUN I have been a BOLT user for a while. But am getting the following error...Assets/Photon Unity Networking/UtilityScripts/ConnectAndJoinRandom.cs (32,64):...

View Article


How do you get data from the JSON object after custom authentication?

I've successfully authenticate user using custom authentication using www.domain.com/login.php, login.php which echo out the JSON in the form of {"ResponseCode": 1, "Message":"Logged in.",...

View Article

Image may be NSFW.
Clik here to view.

Unity 5.3 + PUN + WebGl...

Hello there...I just updated to Unity 5.3.0 and I got the following debug log:WebGL only supports WebSocket protocol. Overriding PhotonServerSettings.So, does that mean that Photon will never work for...

View Article

PhotonHandler.Update() framerate spike when using unreliable synchronization

Hello,I'm new to Photon, so maybe this is something obvious. When I use unreliable synchronization on a photonview, I get frequent framerate spikes of 10 - 150 ms in Unity. The profiler says it's from...

View Article


RaiseEvent vs RPC on local client

I noticed that when using RaiseEvent the event is always sent via the server to all target clients(including the sender itself) where as RPC allow you to choose whether or not you want to send it via...

View Article

Multiplayer FPS game using PhotonEngine

Hi All, First i would like to say PhotonEngine is awesome forum for every one who want to learn Unity and Thanks every one here and PhotonEngine Team. I am making an Multiplayer Game, Using...

View Article

Session without instantiating prefab?

Hi, I'm fairly new to network gaming so apologies if this has been asked before. Is there a way to start a session without instantiating an existing prefab? The ultimate goal is to give the player the...

View Article


OnPhotonInstantiate(PhotonMessage info) not working

When I call OnPhotonInstantiate, it works. However when i try to do "info.photonView", it always comes up as "null".Please help

View Article


Join Room Crash/ Freeze on my end only

Hello, I have the latest version of unity and PUN, also my firewall settings are allowing Unity and I have tried running as administrator, I also have very good internet and a solid connection....

View Article

Check if player is in a room

Hi All,This is probably an easy question although I can't find it on the documentation anywhere probably just blind.My question is simple: How do I check if a PUN player is in a room? Not when he joins...

View Article

Player is auto joining room after leaving room using PhotonNetwork.LeaveRoom ().

Player is auto joining room after leaving room using PhotonNetwork.LeaveRoom (). Is this by default? If yes, how to undo this. I want it to join only when I create/join room. Also, I am working in one...

View Article

How to do Re-Join?

How to do Re-join in the room, After I attend the call..

View Article


playerName and findfriends problem

I can not find friends because I edit the playername after login because the player is connected as a guest but after i want to change the playername so I do photonnetwork.disconnect and i enter the...

View Article

2D demo WebGL error

Hi all, I'm trying to run the 2DJumpAndRun demo. It works fine in the editor, but when I try launching it in WebGL I get the following output from Firefox 43 in W10: pastebin.com/ay6BPGazMy directory...

View Article


How to re-join by OpJoinRoom (string roomName, int actorNumber), In game play?

How to re-join by OpJoinRoom (string roomName, int actorNumber), In game play?

View Article

Destroying Objects and Syncing Scene Objects

Before I updated PUN, Photon was able to delete all player created objects- so when a player left the room the object would be deleted. Since reading that this has been disabled now- I added this line...

View Article


Resources.assets is corrupted!

Well, we've got ourselves a problem. I am running Unity 5.3.1, and I just updated photon to it's most recent version. Everything was working until I built a standalone, and found that the client wasn't...

View Article

[Help]IOS Problem on Xcode build with Photon

Sorry for my poor englishI got problem when i build to IOS device.I Use Pun+ version 1.65.1 | Unity Version 5.3.1f1Personal | Xcode Version 7.2 (7C68)Player setting in Unity I set Strip Bytecode and...

View Article

Show private rooms in friends list

How do I show friend's room when it is private?

View Article
Browsing all 8947 articles
Browse latest View live