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

Very high ping on (Release) Unity cloud builds vs direct dev builds from xcode

I've been using photon and when I build to devices directly from XCode I can have 8 players with a solid 50 ping. Whenever I do a Unity cloud build and install suddenly my ping jumps to 1000-2000 just...

View Article


Image may be NSFW.
Clik here to view.

Camera swaps when new player joins game?

when one player joins a game room, the camera will target the correct player after instantiating the player. However when a new player joins the room, the camera focuses on the new player? Also the new...

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

Network sync manual character bone movements

I need to network sync the movement of a players arm bone.In my game, I manually adjust a player's arm bone to point toward closest enemy:void LateUpdate() {armLookDiff = targetEnemy.transform.position...

View Article

Keeping Unique Customise Settings

like the title says, when i start the game one player goes to their options/setting and sets the colour of their object to blue and then another joins but sets their colour to red, how do i keep it so...

View Article


Photon animation speed

I am sorry for my English. My question is, In my screen i can see that slowing down the animation but other players can not see. What is my fault?Animator anim;int playerID; void...

View Article

Image may be NSFW.
Clik here to view.

Instantiate players over scenes

Hello,I try so much and cannot figure how to instantiate the player when the connection menu scene finished loading the scene.I have OnJoinedRoom on my menu scene. Menu's script do the network (and...

View Article

Image may be NSFW.
Clik here to view.

[HELP] Interactive doors

Hey, i want to modify vp_MPRigidbody so both client and master can interact with them and sync them through the network. Actually only the Master can open them Can someone help me please

View Article


Is this a glitch or a PUN limitation?

I've just discovered that RPCs only work on an exact type match. So if you have a GO with a component that derives from a component with an RPC and you try to invoke that RPC, you'll get an error...

View Article


WebGL only supports WebSocket protocol. Overriding PhotonServerSettings.

I got the following debug log:WebGL only supports WebSocket protocol. Overriding PhotonServerSettings.Unity 5.3.2f1 (64-bit)Photon-OnPremise-Server-SDK_v4-0-29-11263What am I doing wrong? How to fix it?

View Article

Image may be NSFW.
Clik here to view.

PhotonNetwork Offline Mode

I'm posting this not so much because there is something that isn't working, but more because I'm wondering if this is how it's supposed to work. I think it's excellent that all I have to do is put...

View Article

Number of PhotonView in One Prefab

Hi,Is it good to use more then one photonview in One Prefab ?RegardsUnity Learner

View Article

Affect other players

There are 2 players and 1 object.First player touching this object and we want to change the color of the second player.How can i do it?

View Article


Image may be NSFW.
Clik here to view.

Keep all instances once the player leaves?

Hello,I am trying to do a rpg in Unity 3D using PUN and I realized that all instances created (Using PhotonNetwork.Instantiate) by a player dissapear when he disconnects. How can I keep them in the...

View Article

WebRPC - how to send secure?

The document says:This can be done by setting the appropriate webflag (SendSecure = 0x02) when calling the WebRPC operation method from client code....

View Article


Basic Question: Room Information

I'm relatively new to Photon Networking, and I began reading through the Marco Polo tutorial. Unfortunately, as my project is fairly simple (Mostly, if not all UI based, no 3D components or movement,...

View Article

FindFriends() will not show correctly people reconnected to photon on Mobile...

I have addressed this issue before but it is still not working - at least with me. When I am on my iOS device and I connect successfully to Photon - it's all fine - I am "online" for the people that...

View Article


OnJoinedRoom() wont run

Hi everyoneI'm having a problem: My OnJoinedRoom() wont run when In OnCreateRoom I load a scene. It's very strange because if I dont load the scene in OnCreateRoom() it instantiates the player in...

View Article

tvOS support for PUN?

Will there be support for tvOS in PUN? Currently build for tvOS will fail.Assets/Photon Unity Networking/Plugins/PhotonNetwork/LoadbalancingPeer.cs(27,40): error CS0246: The type or namespace name...

View Article

Callback for Joining a Room when Client is Not Master

Hi,Is there any callback for User when he connects to a Room.When i create a Room. On Room Creation I get a Callback for OnJoinedRoom.Here i check which room to Join from Player Properties. (Master...

View Article
Browsing all 8947 articles
Browse latest View live


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