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

Spawn objects instantly on the client

I am aware that in order to spawn objects over the network, one must call NetworkServer.Spawn() on the Server. However, say for example the client fires a projectile on mouse click. On the client side,...

View Article


Image may be NSFW.
Clik here to view.

Photon Networking Guide

Photon Networking Guide Download from the Asset Store: http://u3d.as/content/exit-games/photon-networking-guide/2zD Get the details from Leepo below .

View Article


Unityscript?

Can I write in Unityscript when dealing with UNET, all the examples in the Scripting API have no code snippets for Unityscript. Thanks

View Article

Image may be NSFW.
Clik here to view.

Sync a cube in UNet

So I'm trying to learn the ropes of UNet after years of using legacy networking, I'll be looking into other solutions soon after I give UNet its fair shot I'm used to the minimal component setup and...

View Article

OnStartLocalPlayer and OnServerAddPlayer Execution Orders

Hey everyone, I have encountered some strange bahaviour I do not understand. When I'm running a local host, OnStartLocalPlayer seems to be executed before OnServerAddPlayer. However, this does not seem...

View Article


[LLAPI] How to use 'ConnectWithSimulator'

I am trying to add latency simulation to it but I do not see any documentation as to how to set this up. I am trying to use ConnectWithSimulator. I do the following: Code (csharp):   socketId =...

View Article

Make each player have unique name & material

How do I do this? I'm oblivious atm, and can't find a solution to it, I've read every single thing I could find on the internet but nothing has helped me.. When a new player connects, players that were...

View Article

Running unity server as headless on CentOS 6

I have a VPS running CentOS 6. I've uploaded a unity program (the server side for a unity game) to the VPS via WinSCP and I wish to run it on the server. The unity program is a headless linux build....

View Article


UNetWeaver error

Gettings these 2 errors : UNetWeaver error: Exception :System.ArgumentException: Member 'UnityEngine.Networking.NetBuffer UnityEngine.Networking.NetworkWriter::m_Buffer' is declared in another module...

View Article


getting strange error when network game crashes

I'm gettin this error: "aissp: time {3821592} lastRecTime {3819547} DisTme {2000}, rtt {52} " Does someone know what that means? The game crashes in the online scene after some seconds giving me that...

View Article

Network Instantiate player

When i connect to my server the server player does not exist but on the server there is 2 players. void OnLevelWasLoaded(int level) { playerSpawner.GetComponent<PlayerSpawn>().spawnPlayer(); }...

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

unet5.1 anim Trigger parameter/ how do I use NetworkAnimator.SetTrigger() ??

okay, so all my animations work over the network, Except my jump animation, it uses a trigger param. - a NetworkAnimator component on the character - a script with...

View Article


UdpClient Synchronization?

I'm trying to build my own client-server multiplayer using UdpClient Send and Receive. I've got most things figured out but I can't figure out the best way to handle players moving around. I can't...

View Article

UNET Find local player controller from NetworkLobbyPlayer

Hello, I'm trying to change variables on the PlayerController from my LobbyPlayer, right now I'm using this, Code (CSharp):   // Set username if(!controllerTeamManager &&...

View Article


HLAPI CRC channel count error local: 4 remote: 6

I have this error when trying to connect to a build made with the same project (local client works). Any ideas what it could be? Code (CSharp): HLAPI CRC channel count error local: 4 remote: 6 Spoiler:...

View Article

Host becomes too slow when client connects

Hi guys! I use HLAPI in Unity 5.x to connect two instances of application on localhost. On the host the Oculus Rift is used with VR Support enabled. Client's instance is running with -vrmode None flag,...

View Article


A connection has already been set as ready. There can only be one.

I got the error below. A connection has already been set as ready. There can only be one. UnityEngine.Networking.NetworkIdentity:UNetStaticUpdate() However, I tried to clear ready flag by invoke script...

View Article

HTTPS (SSL) initial connection timeout bug

We are having an issue establishing connections using SSL (https) that seemed to start occurring when we upgraded to the latest version of Unity(5.1) from 4.6. The first https call we make will often...

View Article

Help with unity and sfs

Not sure if this is the right place for this question Can someone help me with trying to connect smart fox server to a current project that i am working on I cant seem to get it to work and I am new to...

View Article
Browsing all 16796 articles
Browse latest View live


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