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
1 answer

UNET Change Texture of child object for clients

I have tried multiple techniques, but still no result. The host is able to change the color, but not for the client players. The code looks like this. public List bases = new List(); [SyncVar] public Texture…
0
votes
1 answer

Unity3d 5 networking, UNET HLAPI vs LLAPI

i used to do a racing game but a year ago i take a break (the project was done on unity 4), since i restart with that project i must reimplement the network because it doesn't work well with the unity 4 network. Now i saw that the are 2 ways to…
0
votes
1 answer

Issues syncing over UNET in Unity3d

I'm trying to sync a player's position and rotation over the network. I've got things partially working. I have 2 players a Host and Remote. When looking at the Host's screen I see the correct location for the local and network player. When on the…
Justin808
  • 20,859
  • 46
  • 160
  • 265
-1
votes
1 answer

uNet to Mirror Migration (2 errors)

I have two problems to solve. The first is error CS0115: 'NetworkManagerSample.OnServerDisconnect(NetworkConnection)': no suitable method found to override And the second is The type or namespace name 'MessageBase' could not be found (are you…
-1
votes
1 answer

How to use Unity MLAPI to do high frequency broadcasting?

My Unity project is using MLAPI framework(UNet Transport). I have a server and 3 clients. Server needs to send RPC message to all clients every frame. The data flow is about 2KB/frame for each client. My project is running at 60FPS. The delivery and…
jQ Goo
  • 23
  • 5
-1
votes
1 answer

Unity VR UNET make PC and VR the same player

Sorry that there is NO CODE to show, but this is a very architectural question. First of all, I have to say that i have to use UNET and yes, I know it is deprecated, but i'm not doing an actual network game that will let users join the game. I will…
Erez
  • 1,933
  • 5
  • 29
  • 56
-1
votes
1 answer

Why can't I try catch a TimeOut error on Unet

I actually use Unet for Unity and when a client try to join using a bad IP, I have a timeOut Error. I would like to avoid this timeOut error. So, I tried to override the "OnDisconnectClient" of NetworkManager. using System; using…
Studio Pie
  • 21
  • 4
-1
votes
1 answer

host id out of bound when use hololens as server to connect with unity editor by unet

I want to communicate between HoloLens and unity editor by unet, following is my setting for my unetsharemanager gameobject in unity editor. My Unity version is 2017.4.1f1. The Network Manager is the unity original Network Manager component, and my…
Mayoco
  • 87
  • 1
  • 10
-1
votes
1 answer

How to send and get data in unet

I'm new to unity and unet. I'm trying to make a cricket game. I want to share a boolean variable between two clients. if(isBatting==null){ if (random.Next (0, 2) == 1) { isBatting = true; Instantiate(batsmanPrefab,…
Bucky
  • 1,116
  • 2
  • 18
  • 34
-1
votes
1 answer

unity multiplayer control not working

Hi I am using uNet Unity Multiplayer and my player controls dose not work properly. i connect 2 devices on 1 device it work good but on other device it does not move left or right nor jump. only local player can move local character Here is the…
Aqib Nawaz
  • 13
  • 1
  • 5
-1
votes
1 answer

UNET dedicated server. How can i make it resource wise?

My goal is to use UNET dedicated server for production, but over 100 MB of RAM per session(3-6 players) is obviosuly too much. How can I force server to not load models/audio/textures?
-2
votes
2 answers

Is there any way to make a multiplayer game in unity completely free?

Hello so am wondering if there is any way to create a multiplayer game completely free, Like I followed Brackeys tutorials using UNet to create a multiplayer game, I followed the whole tutorials till I reached part 17 which is about matchmaking He…
dyari
  • 19
  • 4
-2
votes
1 answer

Enabling Multiplayer Service in Unity

Can anyone provide me the solution of how to overcome the event in the black label in the given image?? Here I want to remove the pop-up:- "UNet-powered features are in the process of being deprecated".Can anyone help me as to how to proceed??
-2
votes
1 answer

Why is my OnStartLocalPlayer and OnStartClient execute four time?

In my UNET player code i have OnStartLocalPlayer, which is executed four times. I have added a gameobject.tag so I know it is the same player. I execute this with only one client, the host-client and still i get four OnStarLocalPlayer executions.
PeterK
  • 4,243
  • 4
  • 44
  • 74
-3
votes
1 answer

Pre-existing network identity in scene crashing clients joining the host

I have a problem in my unity project where I try to host a network game on my host and the game crashes for the clients joining. I think it has something to do with the network identity in the scene. I connect to the server in a scene and then…
1 2 3
16
17