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

Trying to send command for object without authority?

Hi, I am trying to use UNET on the latest version of Unity. I have Network Identity attached on player gameobject and have Local Player Authority checked. I have a shooting script and a health attached...

View Article


Can a client be connected to 2 servers at once with UNET?

For example if I had a gameplay server and a voice chat server, could the client be connected to two servers at once? So that I send input to the gameplay server and microphone data to the voice server.

View Article


Migrate from old network to unet

Sorry but I failed my google-fu I don't know If I search it wrong or there is no way (or need). I'm looking for some kind of guide/blog/video about migrating from the old networking to the new one...

View Article

Deal with Cmd and Rpc functions delay.

I'v noticed when I'm running functions like Cmd and Rpc they won't execute on the same frame they called in. example: Code (CSharp): int x = 1;   void foo() {     Rpc_ChangeValue();     print(x)...

View Article

MatchDesc.averageEloScore is always 0

Hi, I'm testing the ELO based ordering for unity's Matchmaking feature. I create the game using the CreateMatchRequest object, and search for a game using the ListMatchRequest object. In both objects I...

View Article


Unity 5.2: UNetWeaver error Exception keeps preventing me from testing my...

This is the full error log message I got: Code (CSharp): UNetWeaver error: Exception :System.ArgumentException: Member 'System.Int32 UnityEngine.Networking.NetworkConnection::hostId' is declared in...

View Article

Spawn scene object not found for 1

i have error while loading map on client and network Scene objects deactivated i was calling the NetworkServer.SpawnObjects at the end on map load fuction(on server) Spawn scene object not found for 1...

View Article

Multiplayer asteroids field problems

Hi everybody, First, i'm a french guy, sorry for my english. I'm on a personal project of a simple multiplayer game that takes place in space. I've already set up the multiplayer part, players can...

View Article


Unet server-authoritative movement with client-side prediction and...

Hello everyone, So I've tried several times to find some information or examples on this topic but with no luck. Found some legacy implementation but it looks like that there is no open...

View Article


How to make the OnSerialize send each time the vars are changed ?

Hi, I try to avoid using NetworkTransform to make my character move on the network, before with Photon i used to use a Serialization method wich worked like a charm, now when i transpose the exact same...

View Article

Client framerate grinds to a halt after only spawning small number of objects.

Hello all, As the title says, I'm having problems with client-side framerates dropping to unresponsive levels (like 1 frame every 2 - 3 seconds) after only a small number of objects are spawned. I'm...

View Article

Image may be NSFW.
Clik here to view.

Question Unet

hey! how do I set that for every server that you create can only get 2 people and just? thanks

View Article

GameObject jump to other clients position at drag

Hi, I am playing around with UNET and i spawn a "Orange" GameObject, with the correct Collider2D etc. I have two Clients, #1 and #2. Each client have a GameObject,GO1 and GO2. After spawning i drag one...

View Article


Unet Timeouts

Hello, I've remake may whole netcode with the new Unet API. But now there is a problem, The game disappers form the matchmaking list and connected clients will also disconnected because of a Timeout,...

View Article

ClientScene::InternalAddPlayer: playerControllerId : 0

Hello, need some help completing this multiplayer setup. I got through all the other hurdles to this point where after calling `ClientScene.AddPlayer(conn,0); ` , it leads to a warning in the console...

View Article


need help on unity and nextpeer project build.

Hi , I have been trying to build a test project with the nextpeer plugin. The first problem i had was that the manifests could not merge ,due to minsdk and targetsdk being different ,i changed them to...

View Article

[Solved] How to manually spawn a game object onto Network Start Position via...

I have an AI game object (that is technically the host's game object) that I want to spawn exactly at the position where a Network Start Position is located. When spawning the AI game object, I want to...

View Article


UNet 5.2.3 How to get current NetworkConnection on server and client?

I want the NetworkConnection of the current connection the task is running on, im adding connected players to a list and this list contains the active connectionid.. Also want to make a foreach loop...

View Article

Multiplayer works on single computer but will not work on multiple different...

I know this question has been asked before but I can't seem to find the right solution. I can get my multiplayer game to work on one computer but it will not work across two different computers. I have...

View Article

Problem with tutorial

good night, I made this entire tutorial, set up in a part of the game, appears the button to connect, but when will connect to the online service to the following problem: "FAILURE, returned from...

View Article
Browsing all 16796 articles
Browse latest View live


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