Quantcast
Channel: Multiplayer
Browsing all 16796 articles
Browse latest View live

Should i worry about UNET - NetworkReader exceptions?

http://answers.unity3d.com/questions/1175248/should-i-worry-about-unet-networkreader-exceptions.html NetworkReader throws exceptions for any uncomfortable data from clients. But i dont see any...

View Article


Assigning Local Authority

I have a NetworkIdentity that is created at runtime via Spawn() that needs to then be assigned local authority to the "owning player" based on who made the initial request to spawn the object....

View Article


MatchMaker issues

While working with the MatchMaker (NetworkMatch), I've noticed a lot of issues creating and joining matches. Tested with both 5.1.1f1 and 5.1.1p1. [A sample project is attached below, but all you need...

View Article

What's a good Networking solution for a turn-based game?

I'm looking to add multiplayer to my game, and I've quickly skimmed over Photon Unity Networking (PUN) and Unity's native solution. I'll preface with saying, I have about an intermediate level...

View Article

How much data being sent/received is too much?

As of right now, I've just been testing things over the relay servers because it's simple and I've yet to learn how to handle making my own server with Unet. My question is: Being new to networking for...

View Article


Steamworks instanced server help

I'm attempting to migrate a P2P game to dedicated servers. We are using uLink for the actual server connection. Previously we had the host create the lobby and players simply joined the steam lobby...

View Article

Packet loss

I've been trying to roll my own movement/position syncing, and was wondering about how much packet loss I should try and develop it around. Unity's Network Simulator seems kinda broken to me (it...

View Article

[Tutorial] Hosting your own masterserver

Hello people from Unity3D! I have seen that many people are having trouble with setting up their own masterserver! So this is a tutorial i made special for you guys! Okay, first we need the...

View Article


Image may be NSFW.
Clik here to view.

[SOLVED] HLAPI: Error with Sync Transform & Character Controller

HLAPI, C# I have a server - client connection that spawns a playerPrefab... both client and server playerObject has this attached: As soon as i try to move the character on the client this message gets...

View Article


Understanding NetworkReader:ReadByte out of range errors

I regularly have errors like this: Code (CSharp): IndexOutOfRangeException: NetworkReader:ReadByte out of range:NetBuf sz:8 pos:8 It happens when changing any line of code in a script, even though it's...

View Article

Image may be NSFW.
Clik here to view.

Spawning player error? bug?

Hi guys, I currently creating a network game. But when my player spawns, i got a bug (i guess). When I run the server outside the Unity Editor and I run the client in the editor, the result is : But...

View Article

Stay away from UNET

I've been a supporter of UNET ever since it came out and have been using it in my projects since roughly half a year. As there were some opinions against UNET, I decided I should actually test out how...

View Article

Why cant I change the name on the client?

Code (CSharp):     public override void OnServerAddPlayer(NetworkConnection conn, short playerControllerId)     {         //base.OnServerAddPlayer(conn, playerControllerId);         for (int i = 0; i...

View Article


Feedback needed! New Doc for Getting Started with Unity Multiplayer

Hello all We've been putting together a new doc for getting started with unity multiplayer. We hope this better helps everyone but we want to hear from you if this was indeed helpful. Please check out...

View Article

Random disconnections while simulating packet loss

I've been simulating small amounts of packet loss (around 2%) and the client has been getting disconnected every time. I have the Disconnect timeout set to 10 seconds, and the ping timeout set to 5...

View Article


NetworkIdentity observers question

So i have an object with network identity attached. I host a local game, the network identity object immediately shows observers with my player object. i disconnect, the player is now removed from the...

View Article

Why UnityEngine.Ping get return time -1 in some Android Devices?

I use UnityEngine.Ping to check the network state, expect to get delay time by Ping.time. But in some Android Devices, Ping.time always return -1. By the way, I try to use...

View Article


Simplest Facebook SDK multiplayer setup

I am interested how it would be possible to setup simplest Unity multiplayer game for Facebook SDK? It doesn't need to be very detailed - I just need some solution that one player could control one...

View Article

Unity Multiplayer, Where do I start?

Hello everyone, I would like to know where to start learning Unity Multiplayer? I've heard of UNET but there aren't that many tutorials that go really in depth on the system. and there is also a 20...

View Article

Looking for advice in multiplayer synchronization for a simple 2d game

I'm working on a 2d mobile football game - whole game consists of just two players and one ball. Recently I've been asked to implement online multiplayer to support online PvP, instead of just using AI...

View Article
Browsing all 16796 articles
Browse latest View live


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