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

Extra prefabs getting spawned

I use the following code to spawn Players. But when its called both master and client there are extra prefabs gettingspawned. Can someone help me? Extra 3 Target(clone) and Player(clone) are...

View Article


PhotonPlayer display other players name

Hi, how can I display other player's name? I have 4 players in room. I have already displayed name of local player and 1 other player. I have no idea how to display other 2 player's name. private void...

View Article


Connection Problems.

When i click connect it says: ConnectUsingSettings() failed. Can only connect while in state 'Disconnected'. Current state:...

View Article

I'm not sure why I get an error with this code.

When i click connect it says:ConnectUsingSettings() failed. Can only connect while in state 'Disconnected'. Current state:...

View Article

PUN Basics Tutorial

Hi all,I am going through the PUN Basics Tutorial and have just completed section 4, at the end of which I should be able to run a version of the game in Unity and it opens the scene Room for 1. Then I...

View Article


Hashtable Ambiguity Fix Unity 2018

I have Unity 2018 and downloaded the Viking Demo to familiarize myself with Photon again, and this time for an actual job not just hobby shit which I'm super proud of, but ran into the: `Hashtable' is...

View Article

Sync room for new players issues.

I have a room with items a player can pickup and equip.When two players (playerA and playerB ) connect and player A picks up an item the player B see the item correctly equiped.But if Player A...

View Article

Rejoin fail because player ttl isnt set on local server !

hi.im using Photon-OnPremise-Server-SDK_v4-0-29-11263and when i set player tll working on cloud servers but i get 0 ttl on local server..how i fix that?

View Article


Mobile Input Help

I love this asset and it works great when I run it under PC build. However, when I attempt to use it for mobile it doesn't work. The touch joystick will move and react to touch but the character/player...

View Article


Connect() to 'ns.exitgames.com' failed: System.Net.Sockets.SocketException:...

Hi,I am trying to get PUN working on my simple project. Here is the details:Unity 2018.1.1f1PUN 1.90 (https://assetstore.unity.com/packages/tools/network/photon-unity-networking-free-1786)Build target...

View Article

Weird 2D sync

I'm programming the network movement for a simple bomberman game. Currently, I'm only moving a sprite across the bomberman grid which I created using a tilemap. Client-side player movement and...

View Article

JoinRandomRoom does not work in Unity 2018?

Hi, I have a project that was working fine in Unity 2017.2.0p2 but after upgrading to 2018.1.2f1 JoinRandomRoom no longer works even if i have a room open. All i get is: Operation failed:...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with a Turn Based game

Does anybody have a resource to get started with a turn based game? I've really been digging through Photon's Turn Based Demo but am unable to gain any ground. I really just need to figure out how to...

View Article


Exception: Deserialize()

One of your users reported a Exception: Deserialize() error.I'm pretty super it is not a bug in our game code. Because the error is super duper rare. We have several thousands of daily users and one...

View Article

Image may be NSFW.
Clik here to view.

Frequent memory allocs.

I downloaded the latest PUN package and compiled the Demo2DJumpAndRunWithPhysics.I see a fair amount of memory allocs from PUN when it syncs the objects. Is this normal? See the picture for the mem...

View Article


hololens with photon sharing

How do I share an object to multiple users using the PUN cloud on a HoloLens. Will following the same procedure/code to deploy on android or PC work for a HoloLens...

View Article

Persistent Players Across SceneLoad

I was using Photon's auto cleanup on SceneChange whenever I SceneLoad. However, the player prefab get's destroyed whenever I change scenes. I think because I spawn it and it has a photonView on it. Is...

View Article


TimeoutDisconnect happens almost everytime in my game

Hi,I recently released my game in Google Play in Singapore and Philipines and I'm having lots of problems when players search for a game because almost everytime this error shows up:TimeoutDisconnect...

View Article

How to create a multiplayer for HTC_Vive using photon in Unity3d?

Hi,I am making a HTV-Vive project which will be multiplayer. There will be one tutor and students can join in into that room and look at the same. The condition is that : what ever Tutor did in the...

View Article

Sync

Hello, I am working on a car multiplayer game which has small car customization , which includes changing material. i wanted to know which is the best way i can sync every property of material of every...

View Article
Browsing all 8947 articles
Browse latest View live


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