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

Android not respecting Server IP address and tries to connect to 127.0.0.1

Pun 2.19.3 Photon lib 4.1.4.4 I have tried both PhotonNetwork.ConnectToMaster("3.X.x.x.x", 5055, "XXXX"); and PhotonNetwork.PhotonServerSettings.AppSettings.Server = "3.X.X.X";...

View Article


Restricting joining room with non-matching game version

I have a simple online game created with Unity. Now, I wanted to test joining the same game room from a build from totally different Unity project (but the Photon app ID is the same in both projects) -...

View Article


Image may be NSFW.
Clik here to view.

Photon view is not working.

Hi community, I start developing a little multiplayer VR game. It was ok, but suddenly I found this big big big problem: When I pick up the pieces, they shake all time. The transfer execute correctly,...

View Article

How to change from photon free version to premium version

Hi! I just bought Photon PUN 2+ on the Unity Asset Store. I was using the free version before on my project but now I want to use the premium version (for the 100 CCU). How can I convert my project...

View Article

Changing scene in room and spawning problem

Hello, first off all, excuse me for my english ! So, i explain my problem, i am creating a game with photon, when u launch the game, it try to join a random room, if there are no already created rooms,...

View Article


Image may be NSFW.
Clik here to view.

Syncing ParticleEffects

I just started working with PUN free, I've followed the basics tutorial and everything is going well for my online 2D platformer. I'm not new to Unity or C#, been doing it for several years now. But I...

View Article

Interpolate only 1 axis

I am using Photon Transform View and would like to linear interpolate on only 1 directional axis (position not rotation). How can I achieve this? Any help is appreciated

View Article

Tutorial section 5 - Object reference not set to an instance of an object

Hi all, I am currently working on section 5 of the PUN basics tutorial (https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/player-prefab), and everything went rather...

View Article


Instantiating Object if All Players In Scene (Duplicates)

Hello everyone, may I please get some help/guidance? How would I be able to instantiate game objects once all players are loaded in the scene? Example: If allPlayers are inside the scene Then...

View Article


Objects instantiating more than once?

I am trying to instantiate objects in my scene, but they're being instantiated more than once, which is causing the game to break... If someone can help me pinpoint the problem, here is the code: (this...

View Article

Image may be NSFW.
Clik here to view.

PLS need help, picking up other players on the server and syncing it

Similar to a game like Dead by Daylight or Secret Neighbor (which also uses photon) I want to know a simple way to allow for the player that is the monster to grab and pick up a player and sync it over...

View Article

Sending messages directly from client to client

Hello, it is my understanding that any time RaiseEvent is used to send a message from one client to one or more other clients, this message first goes to a photon server, and then on the the...

View Article

Image may be NSFW.
Clik here to view.

Multiple scene load on either LeaveRoom() or Disconnect()

Hi, My current setup includes a Scene0 (Main menu Screen) and Scene1(Multiplayer Map). When I try to leave the game using either LeaveRoom() or Disconnect() and do a sceneload scene0, the...

View Article


leaderboard error

Hello community! good afternoon. I want to ask you a question, because I am learning the world of photon. I'm trying to do a better time table. the idea is to compare which of the two players passes...

View Article

Tried to apply the principles of "1500 Archers" and failed. Any tips?

Hello. I'm in the process of making an RTS game. Until recently, it used plain ol' photontransformviews to synchronize unit positions. But about a month ago, I had to track down a network crash...

View Article


Refund Issue

Hi there, I've just purchased pun2 plus on unity assetstore. The asset was initially 50% sale on the store. And purchased it. But there's no invoice id after the purchase. And it seems like unity asset...

View Article

TTL -1 , How to kick player?

Two Player. (PlayerA, PlayerB) RoomSetting >> PhotonNetwork.CurrentRoom.PlayerTtl = -1; Debug.Log(PhotonNetwork.CurrentRoom.Players.Count) Reseut >> Number '2'. For Example >> One...

View Article


How to synchronize components in GameObject

Please help with my question, I need to synchronize components in GameObject. I have code where I build Wall and after the wall was created he receives collider and other parameters. How I can...

View Article

I dont understand how it works

i write this code,public override void OnRoomListUpdate(List<RoomInfo> roomList) { print("Room List UPDATE"); foreach (Transform oldItem in _roomsListContent) { Destroy(oldItem.gameObject); } for...

View Article

Can I use Unity 2019.4.25F1C1 and Pun2 Free for Android game development?

Can I use Unity 2019.4.25F1C1 and Pun2 Free for Android game development? I see that Unity 5.x can be used with Pun2 Free for Android game development, but I don't know if Unity 2019.x will work?

View Article
Browsing all 8947 articles
Browse latest View live


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