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

Sync Projectile Shooting with Photon Networking

Hello everyone, I'm trying to get nice shooting with Photon. I made "Projectile Shooting", it is a cannon and 2 players shoots each other, left/right direction. How can I sync Missile Bullet throwing...

View Article


RPC issue, Scene Object Not applying RPC!

Hello I am currently working on a survival game using Photon. I recently made a script to handle the trees in the scene, Each tree has it's own photon view and treeHealth script. However when a player...

View Article


When is the correct time to configure remote players in local machine?

Hi,I'm trying to do something pretty simple. I have a room that allows 2 players before starting the game. I want to change the color of the remote player to be different from local player when he...

View Article

How do I get the list of all online photon players and send them game...

foreach( PhotonPlayer player in PhotonNetwork.playerList){ print(player.name);}This returns only current player and not all players

View Article

Image may be NSFW.
Clik here to view.

Photon Animator View - What about Triggers?

I see there is probably no way to auto pull triggers by default with this script for animation. However since the Trigger section does not have any comments on how it should be handled in this class,...

View Article


PlayerList different in master client and client

Hi, i'm facing a weird problem.I'm making a board game and each player (There are just two players in each room) show the name of his opponent and his name too on the board.When there are two in the...

View Article

How can I have one object be controlled by multiple clients?

I have a button and I am trying to send it's transform across all clients, I am calling a RPC to tell when the button was pushed so I have that covered, but I need to visually show where the button...

View Article

ERROR You have missing MonoBehaviours on your gameobjects!

I'm getting this error logged when the player changes classes and respawns. Due to the nature of the middleware I'm using, I have to destroy the player's game object and create a new one when the class...

View Article


I Can't download the PUN

Hello.I tryied, many times, to download the PUN in the unity, but ever appear "error: resolving timed out after 5000 miliseconds".Why this occour?I tryied to reinstall, but nothing resolve the...

View Article


PhotonNetwork.Instantiate problem

Hey, I have a problem, i'm trying to make an object spawner. I use the follow script : using UnityEngine;using System.Collections;public class LootManager : MonoBehaviour { private int i; public...

View Article

PUN+, playmaker

Hello i got 2 warning message in setup:"Photon Network version is newer: 1,67. We only support version 1,65. Its recomended to only use the Photon Network assets provided with PlayMaker..."So this mean...

View Article

Trying to achieve an Authorative Server-like setup

Heya, I'm trying to create a Windows build that starts a PUN Room as Masterclient, WebGL builds will then connect to that Room as normal Clients. The Masterclient will process and handle all the...

View Article

Windows Phone Certification failed

Hello guys i have this problem when submitting app to windows store : Error Found: The supported APIs test detected the following errors:This API is not supported for this application type -...

View Article


Image may be NSFW.
Clik here to view.

PhotonView sending updates despite no change

Hi!I have a GameObject with a PhotonView observing the script below. The PhotonView Observe Option is set to "Unreliable On Change". I've also tried "Reliable Delta Compressed". In both cases, the...

View Article

Image may be NSFW.
Clik here to view.

Animation Trigger not working but all others are.

Hi guys!So this is probably an easy fix, and im just being numb... currently I've set up the most base framework for my game. Im new to networking with PUN and am enjoying it thus far!My issue is...

View Article


the problem of synchronization of movement during jumps ping

In my game during jumps ping (50-60 dramatically increased to 100-130)traffic on the network breaks down and teleport objects over long distances, not moving smoothly. (interpolation is implemented)1)...

View Article

Shooting like in demo project Angry Bots.

Hello all, I would like to understand or just sample code with explains "Projectile Shooting". There is a Demo asset calls Unity Angry Bots https://www.assetstore.unity3d.com/en/#!/content/1917I like...

View Article


Is there an OnPhotonDestroy (similar to OnPhotonInstantiate)

Hey,Do we get a callback when a netowrked object is detroyed?I don't see anything here:http://doc.photonengine.com/en/pun/current/tutorials/instantiationThanks,

View Article

GENERATED ROOM'S ID

Hello,@Tobias @vadim i want id of the room which i have created on photon server. because if i use room name for duplication property that its not best way because i have multiplayer game and may be...

View Article

Issue passing string[] array as RPC parameter

I noticed something strange with how string[] parameters are handled by RPC's. When I send an RPC with an empty string[] it tries to find and RPC that takes no arguments. When I send an RPC 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>