Questions tagged [unity3d-unet]

UNET is the native Unity3D network system. It is the short form of unity networking. Use this tag to ask questions related to Unity3d networking.

UNET is the new native Unity3D network system (since Unity 5). It is the short form of unity networking.

http://docs.unity3d.com/Manual/UNetOverview.html

This tag covers :

  • High level scripting API, LLAPI, and all underlying concepts
  • GameDev network programming algorithms and concepts applied to Unity scripting.
  • Old (legacy) networking system.

Related tags

241 questions
0
votes
0 answers

Unity UNet Queries

I recently started working on UNet basically on a MMO game. My setup is that I am hosting my own dedicated server by building a linux headless build and uploading and running it on the server. All the clients are connected to it and this server…
kashif789us
  • 474
  • 8
  • 23
0
votes
1 answer

Object only spawning server side [NetworkServer/NetworkClient]

I'm trying to get started with Unity's networking features and have encountered an issue whilst trying to spawn objects. I've tried to create a simple demo following the documentation found here, the server spawns an object which changes colour…
Ben
  • 1
  • 1
0
votes
1 answer

Matchmaker server in Unity3D: suddenly crash.

Matchmaker server in Unity3D is always crashing after 2-6 minutes when first client is connected with this errors: screenshot of errors. Where can be the error? Am I missed any special network settings?
0
votes
1 answer

Unity: Local (LAN) MatchMaking error

I'm trying to create a simple Multiplayer game. I have setup a matchmaking system and it works fine while the device is connected with the internet i.e an online lobby is successfully created. But when i try to create a lobby on local network which…
0
votes
1 answer

Unity UNet MMO-style dedicated server methodolgy

We're creating an MMO style virtual campus for our institution and I need some advice on best practices and implementation with regards to using UNet. I've come to the conclusion after reading up that I should probably use one project with a…
0
votes
1 answer

Networking Movement not working

I am making a multiplayer scene for my dodgeball game and once I have a host and a client running, it spazzes and forces me to control both the host and the client in one window. Here is what I mean: This is my code managing the network: using…
0
votes
1 answer

Unity network spawn get delayed

I have implemented the network game like on the tutorial which the client will send the Cmd fire to server and then the server will spawn the bullet to all player. Everything goes well when I played it on LAN (the ping is < 20ms). But when I try to…
Apin
  • 2,558
  • 2
  • 21
  • 36
0
votes
1 answer

Unity3D Network ReadMessage

How to check the ERROR if the client is trying to connect to a absent server? my code! //Server void Start () { NetworkServer.Listen(13044); } //Client NetworkClient thisclient = new NetworkClient (); thisclient.Connect ("127.0.0.1", 13044); …
0
votes
0 answers

UNET Send Server Data to Client and Vice Versa

//On my server, I used InitializeServer to Start the Server Network.InitializeServer (10, 1234, useNat); //On my client side to connect Server.Network.Connect("127.0.0.1", 1234); Now, I want to send data to each other. For example, Server…
0
votes
1 answer

Unity3D what is the difference between NetworkClient.Connect vs. Network.Connect?

Good day, I'm new to Unity Networking Server/Client. I want to build a game that has a lobby then players can enter to the room set ready then start the game. I want to know how can I start networking this client to server. Thank you.
0
votes
2 answers

Get Current Network player transform/gameobject in unet

How can i get current network player transform object? there is Network.player but it don't give me the transform or gameobject. I am willing to get the transform.
0
votes
1 answer

uNet spawning a prefab with more than one network identity

I'm trying to create a 3D game using unity's out of the box network manager class. In this game players can run around, shoot and pickup other weapons. The player prefab has a NetworkIdentity, and each gun type also has a NetworkIdentity. When a…
Andrew
  • 45
  • 7
0
votes
1 answer

PlayerPrefab's `Start()` is being called before play scene's `Awake()`

I'm using Unity's Network Lobby asset to create a lobby for my game. The game's working fine on editor, but when I build to PC something weird happens: The Start() function of the first player object is being called before the Awake() of everything…
AVAVT
  • 7,058
  • 2
  • 21
  • 44
0
votes
1 answer

Unity5.5.2(Unet)-Android Clients (Galaxy Tab A sm t280)sometimes not rendering scene

I have a multiplayer game build in Unity 5.5.2 using unet. My client builds are running on Galaxy Tab A (model sm-t280)s, and the server is a standalone window app. I have a problem where sometimes the tablets don't render anything upon connecting…
0
votes
0 answers

Authority warning When executing Command in Unity Networking

I get warning messages regarding authority when executing a [Command] but i cannot find where this warning comes from. I am getting this when i drag an object. a) I do not understand why and where i get the warning message? b) I do not understand…
PeterK
  • 4,243
  • 4
  • 44
  • 74