Quantcast
Channel: Multiplayer

Why is my NetworkList not syncing correctly?

Hi, how are you?. First, some context. Basic info: Unity Version: Unity 6 Preview (6000.0.7f1) Netcode For Gameobjects Version: 2.0.0-pre.1 Explanation: I am trying to make a Distributed Authority turn...

View Article


[FishNet] Scene manager callback events triggering twice in a row?!

Hi, I was hoping to use the ScneneManager callback events in order to implement a loading screen process, however, once I started to test the event, I saw that the events were being triggered twice in...

View Article


[FishNet] Can't unload/close scene on clients

Hi, I'm trying to unload/close a scene on all clients when the server Host ends the game, but no matter what I do, the scene simply doesn't unload/close... Both the Host and the other Clients are in...

View Article

Multiplayer Manual Respawn?

Is there an efficient way to create a script allowing the player to force respawn themselves from the pause menu? Using Photon PUN.

View Article

avoid port forwarding

hi , i am a beginner and i am trying to make a multiplayer game i want to avoid port forwarding and i don't want to use cloud services like relay what is the best way to do it?

View Article


Rpc method with target "NotMe" or "NotOwner" called twice by host/server

Hi, I'm playing around with Netcode for Gameobjects 1.8.0 for learning and I'm trying to create a chatbox to understand Rpc:s. I simply want to send a message from a player that is received by all...

View Article

Player bugging around

So I am new to Unity and tried making an online 2d Multiplayer game using Photon Engine. The Character Controller is working fine but I tried adding a magnet to the game. Every Player should be able to...

View Article

delete the player on Collision permenantly

hey everyone, so I am making a multiplayer game with Photon 2, and I want to make that when a specific object (Bullet to be exact) hits a player, that particular player completely gets destroyed and...

View Article


cannot send serialized class from Android to PC

i am using unity 2020.3.22f1 LTS, i am sending data from one device to another via TCP, serializing class using binary formatter, it works from PC to PC but when i send data from andoid device to PC it...

View Article


WebGL Build

How to get virtual keyboard in unity 6 WebGL Build. I am not able to use it when I go into the FULL SCREEN mode as canvas covers whole screen and there is no space left for the virtual keyboard....

View Article

Joysticks isn't working for the client but for the host

Hi, I'm developing a multiplayer Third person shooter game. The code was working from both host and client side while controlling from mouse/keyboard. Since, this will be a mobile multiplayer(android)...

View Article

Netcode for gameobject with Relay join code not found

Hello, I'm trying to make Netcode work with Relay but even after following the documentation and also a lot of tutorials Netcode and Relay are working together as I saw after I created the allocation...

View Article

Smooth transform sync for multiplayer

Hello everyone, I am working on a Unity game with a Node.js server, where the client and server will communicate via socket. Each client will update its velocity vector to the server every 5 frames....

View Article


(Photon Server) Can I control bot player from server not from client?

Hay guys , i have some question on my mind that make me confuse for couple day, Can I control bot player from server not from client? for example in game FPS we have bot / AI that our enemy, Usually we...

View Article

Fps Multiplayer animations not working.

Hello everyone I'm on unity 2021.3 and I am creating a fps multiplayer game.I want that the local player can just see his arms and his gun but that he can see the entire body of all the others players...

View Article


[Pun] Why can't my player see other players?

Code (CSharp): using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; using Photon.Realtime; using UnityEngine.SceneManagement;   [System.Serializable] public...

View Article

Error when trying to sync names across clients

I've been able to get every client to have the correct name, but only for their own client, so I'm trying to use this code to have player names be the same across all clients: Code (CSharp): using...

View Article


Photon NetworkingClient null Exception

Hi! I'm getting lots of exceptions from Photon and I can't figure it out the exact issue. I'm using Unity 2022.3.36f1 and I have the latest Photon version 2.46. I would need some help on how to debug...

View Article

Distributed Authority Backend Open Access

Dear Unity Developers, We are excited to announce that the experimental Backend Access for Distributed Authority previously available through early access with Unity 6 Preview, is now open for public...

View Article

Distributed Authority Experimental Release: Backend Access and Signup

Dear Unity Developers, We released Distributed Authority as an experimental feature a couple of weeks ago with the Unity 6 Preview. We are happy to share that you can now request experimental Backend...

View Article

Player Respawn Pause Menu Button (Photon)

Hi all, I am trying to set up a Respawn Button in the pause menu for my Photon PUN Multiplayer WebGL build. I already have the UI set up, but I'm just stuck on how to set up the script to make this...

View Article


Mirror - Open Source Networking for Unity

View attachment 701343 (Mirror) (Mirror LTS) (Forum) (Discord) (Docs) (Sponsors) Stop... Mirror - Open Source Networking for Unity

View Article


I need help with a script (I'm using mirror package too!)

Code (CSharp): using UnityEngine; using Mirror;   public class NetworkManager : Mirror.NetworkManager {     public override void OnStartServer()     {         Debug.Log("Server started");     }...

View Article

Client Rigidbody not working

I want to make player's ragdoll yoink when they are hit, but only the host ragdoll will apply the force when hit by an object but not the client, where did I do wrong? Can some one help me, thank you....

View Article

Player locations not syncing in client and server for Photon

We are attempting to make a 2D multiplayer game using Photon Fusion and Unity 2021.3.5f1. We have setup the fusion app and framework based on this tutorial on youtube: however when the server is...

View Article


Netcode for GameObjects: NetworkRigidBody never gets Authority on server

I tried to create a little 2d multiplayer sample initially based on this tutorial with NetworkManager: Client-server quickstart for Netcode for GameObjects | Unity Multiplayer Networking (unity3d.com)...

View Article

Updated! Free networking solution comparison chart.

CodeSmile and myself have been making efforts to create a comparison chart for the most mentioned free networking solutions. This chart also provides a list of all known networking solutions, free or...

View Article

Multiplayer Summer Series

View Article

How to make multi player Movement with mirror

so ive gotted this script Code (CSharp): using System.Collections; using System.Collections.Generic; using UnityEngine;   [RequireComponent(typeof(CharacterController))]   public class SC_FPSController...

View Article



Photon: Can't see existing rooms in the lobby

Hi, I'm using PUN2. Not sure if this is by design, or if I got something wrong. When two clients are connected to master server, and one of them creates a room, the other client get a callback through...

View Article


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