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

Unity, Photon and Inverse Kinematics

We are working on a VR experience using Unity, Photon Networking and the Oculus Rift.It is a first person game, and we want the VR viewpoint to follow the avatar's head.Motions of the Oculus headset...

View Article


Only Buffer Last RPC Call

Hi,I'm curious about the best way to accomplish something within the Photon paradigm. Let's say you have a door (or multiple) in a room. You want the state of this door (closed, open, etc.) to be...

View Article


PhotonNetwork.automaticallySyncScene = true explain please?

I have this line in my app: PhotonNetwork.automaticallySyncScene = trueSo I presumed this means scenes are synced between all?So when I have created and joined a room as master and then the client...

View Article

Syncing Ik Positions

Having a really hard time figuring this issue out. Any help would be greatly appreciated. Im not ever sure what part of my scripts to share

View Article

Transform a child object and send it through the server & IK

Good Afternoon. i am now in a multiplayer game project, and i am with a issue. I need to make a child send it's rotation to the server, but that is not working with Photon Transform View, not even with...

View Article


Spawning two players at diffrent locations

Hi,I want to spawn two players at two diffrent positions. Let me explain my scenario - When both the players are joined in the room, game environment is spawned (which is also a network component). I...

View Article

Players can't join games anymore!!!

This has been happening recently, but all of a sudden no one can join a game using automaticallySyncScene. The players get stuck on the main screen after the user was joined to the room. The scene...

View Article

player list not working

when i connect (as master of server) the list appears with my name, when a second user joins it will dissapear for both users and cause arrorswhen i leave on the master account and the other user...

View Article


Add New Game Object To Existing Photon View

Hello,Is it possible to add a game object (as a child) to an existing Photon View game object?Something like this:MyPUNManager.csvar player = PhotonNetwork.Instantiate (playerAvatar.name,...

View Article


(urgent - live game) Operation failed: OperationResponse 252: ReturnCode: -2

Where can I find information on this error? I have been looking for the codes but not much luck.Operation failed: OperationResponse 252: ReturnCode: -2 (CAS update failed: property='248' has...

View Article

Help with Pun RPC to set parent

Hey, i'm trying to make a shooters 2D gamei'm trying to do that when you spawn a gun will respawn as child of the player (because if I don't do it it will be very laggy for the other player).I've...

View Article

Help with Pun RPC set Parent

Hey, i'm trying to make a shooters 2D gamei'm trying to do that when you spawn a gun will respawn as child of the player (because if I don't do it it will be very laggy for the other player).I've...

View Article

Marco Polo tutorial abandoned?

The Marco Polo tutorial scene says click to open, but it just 404s.

View Article


PhotonNetwork Instantiated gameobject getting destroyed.

I switch to Unity 2018.1.6 and i notice that after PhotonNetwork instantiates a gameobject, the gameobject get deleted after first frame. I tried replacing the PhotonNetwork.Instantiate() with...

View Article

Setting GameObject's color? (Color successfully stored per player.ID in...

I'm halfway there. I can see each object's color in CustomProperties, but how do I go about accessing each GameObject's Renderer so I can change the color there?Picture:https://imgur.com/a/0MKAc4W....

View Article


Image may be NSFW.
Clik here to view.

SetCustomProperties Type

Hello, everybody!I'm looking for answers regarding the "SetCustomProperties" function.I'm trying to initialize a "List" property.The code does not return me any error however when I launch the game, I...

View Article

Setting Custom player properties for a player who is in background from other...

Hi, We use ReconnectAndRejoin with PlayerTtl. Its a FPS game. So when a player goes to background. We want other players to still see him and be able to shoot and kill (in order to avoid exploit). For...

View Article


if i Instantiate object, then immediately call RPC on it

How reliable is execution timing?For example if i Instantiate object, then immediately call RPC on itwill it guarantee that its always called on same frame before Start() for all clients?var my =...

View Article

Am I planning this out correctly?

Hello. I've been researching for a few days, have gone through a lot of the basic stuff such as project setup, etc. I am now at that stage where I am designing how I'll develop my project. I am...

View Article

PhotonStream, RPC Hacked ?

I have a live game that has a hacker directly trying to destroy it. He literally changes his techniques for every fix I make.It seems he has compromised OnPhotonSerializeView somehow (I didnt know this...

View Article
Browsing all 8947 articles
Browse latest View live


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