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

No appropriate version of 'PhotonNetwork.CreateRoom'

Hi, I not long ago import a new project in unity and saw this error.No appropriate version of 'PhotonNetwork.CreateRoom' for the argument list '(String, boolean, boolean, int,...

View Article


Cannot send op: 248 Not connected. PeerState: Disconnected in Offline mode

Hi,I am trying to add groups to the instantiation with: int[] groups = new int[] { 1,2,3,4,5 }; PhotonNetwork.SetReceivingEnabled(groups, null);I call this after I call offline mode = true and join a...

View Article


Moved: Photon public connection error

This discussion has been moved.

View Article

Multiple Lobby or Lobby Filter

Hi, i had wrote game like rummy game with Photonengine. But i used my own server for main lobby , some rooms for city and lists of playable rooms. İ only used Pun for when playing. So i have some...

View Article

Problem with TransformView

Hi,I think there's a problem with PhotonTransformView class. In particular, when network position is interpolated with "EstimateSpeed" mode, the code is the following: case...

View Article


How to change a room?

Hello there,i'm searching for the recommended way to switch a room. So i already tryed out some things and got a result i'm not really happy with. I create a room when i join the game. Then i want to...

View Article

Image may be NSFW.
Clik here to view.

Scale issues on PhotonNetwork.Instantiate in v1.79

Please compare the following images. The first is the view when objects are network instantiated. The second is when the game is in "Offline Mode".Is anyone else having issues with scale of network...

View Article

PhotonNetwork.Instantiate scale error in latest version

Hi, I upgraded to 1.79 from 1.73 and now found that objects instantiated over the network seem to set their scale to 1 rather than sticking to the prefabs scale set in the project.I downgraded back to...

View Article


possibly photonView.RequestOwnership(); not working?

Hello guys. I have scene objects which send RPCs. Before sending each RPC, I check:if (!photonView.isMine) { photonView.RequestOwnership();}but still after this it shows photonView.isMine = false. Why...

View Article


Role of photon real time game server

Hi,First of all Sorry for such a novice question, I'm new to the multiplayer development and Photon as well.We are planning to use PUN for a real time multiplayer versions of a game developed using...

View Article

Which Photon Transform View Interpolation and Extrapolation is the best?

Title says it all. I'm just kind of surprised that people still seem to give the Transform view a try, but end up mostly going back to their own inter/extrap from OnPhotonSerializeView. Surely by this...

View Article

Instantiate object with data

So i am trying to instantiate my player over the PhotonNetworkusing GameObject thisPlayer = PhotonNetwork.Instantiate(playerPrefab.name, Vector3.up * 5, Quaternion.identity, 0) as GameObject; var tP =...

View Article

Playing with Android and PC

When i run my game with both clients on PC it work's just fine, but when i try with one on Android and another on PC, the strem.ReadNext(); always gives me the error, "Invalid casting type". if...

View Article


Rooms freezes in WebGL

Sometimes room "freezes", when master client stops responding.Players still able to communicate with Photon server (send messages in chat, etc.), but master client becomes not available and game...

View Article

Image may be NSFW.
Clik here to view.

Synchronisation Annimation via RPC call

Hello,I'm looking since 1 week a way to synchornise my annimation via a RPC call.I have my two player connect in my game.One of them is punching , so he is playing the annimation "Punch".I would like...

View Article


Best methods to fix lagged synced players when every position/rotation is...

Hello,We are making a tron-style multiplayer game, and well. Every position/rotation is really really crucial for each player because we have a trail that is behind the player at all times. Like the...

View Article

How to sync up created and destroyed gameobjects for late joining players

I'm looking to create a networked scene where late players can join and sync up to the current world state. That would be tracking any previously instantiated game objects, updating their...

View Article


Latest version of Photon Crashes when stopping Editor

I'm using Unity 5. When I have a Player Character with the PhotonView script attached to it Unity crashes to desktop , no error message in the Editor Log. I tried adding OnApplicationExit() and having...

View Article

Check Players In Room

Hello everyone!I'm trying to create a little multiplayer videogame in C# with photon and Unity...I want that (when player is in a room) there is a text on screen which show the numbers of players in...

View Article

How do you set the parent object of a PhotonNetwork.InstantiateSceneObject?

I've been populating my level with Instantiated scene objects, but no matter where I call the code from in the scene structure, the objects become children of the root. How do I instantiate them as...

View Article
Browsing all 8947 articles
Browse latest View live


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