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

Difficulty connecting two Hololens with Unet

I am relatively new to Unity and am currently trying to build an multi-user app on Hololens. Currently, I am just trying to get two Hololens to connect over LAN using Unet. When I use one of my Hololens to host the server, my laptop can connect to…
0
votes
1 answer

Problems with Mirror Networking in Unity

I'm relatively new to Unity, and decided to make a simple multiplayer game. After implementing the multiplayer aspect, two main problems arose. One, every person that joins will have n times the speed that they are supposed to have, where n is the…
0
votes
0 answers

Unity Networking Scoreboard

I’m currently creating a scoreboard for my multiplayer game. But first I need to list all players in an array. How can I insert each player into an array? On each device it only shows one player. For example, player1 is in pc[0] and player2 is in…
Rant Max
  • 1
  • 1
0
votes
1 answer

Can't change the Sprite of a spawned game object (Client only)

I am attempting to instantiate, spawn, then assign a sprite to a custom GameObject in Unity3D. The objects are a generic CardContainer that call a SetCard method to give it its custom stats. Calling SetCard also assigns the CardContainer its Sprite.…
0
votes
0 answers

Looking at other people cameras in Unity?

I am working on a multiplayer game in unity and i want to add a funcion that let me see at another player's camera trough a small window just like in the game Portal. Is there a way to do this?
0
votes
1 answer

UNET How to run functions on all clients and host

I need help running functions on all clients and the host. I tried the below code but it only worked on the host not on clients. In this code I have made a jump up skill. When players take it, they can use it by pressing R button. It works fine in…
vNone
  • 1
  • 1
0
votes
0 answers

Unity UNET network server not active when hosting a match on built game

I am working on a multiplayer game on Unity using Unet, when i host a match by playing the game on the Unity editor, everything works as intended, but when i host a match on a built game (Running the game by clicking "build and run"), the networking…
0
votes
1 answer

Players in network game both spawn as client or server

I am working on a multiplayer game using UNET. Every time i host a match by playing the game in the editor, every player that joins is considered as server and the game works as intended. If i host a match by using a built game (not using the Unity…
0
votes
1 answer

Can't get UNET work between two Devices using the standard NetworkManager(NOT the MatchMaking!) on Unity3D

I am new to UNET UNITY NETWORKING in general so what I made was a simple prototype game and everything works perfectly at least at that moment when I run two instances of the game on the same laptop so i was able to host and join form one instance…
The Wolf
  • 55
  • 1
  • 2
  • 6
0
votes
0 answers

How to Sync variables in Unity3D Networking

Hello Title was too general but I have several problems in my mind. I am new at UnityNetworking. I am watching youtube tutorial from quill18 and trying to implement on my project. So I know [SyncVar] values can only set and sync in server. But even…
BGK
  • 1
0
votes
1 answer

Unity network transform problem - Client spawning objects at wrong location

I'm working on a Fortnite-esque game for Unity. Player spawns in, has ability to spawn cubes to make a "base". Everything works perfectly well in mono but I'm having a strange issue with networking. On the server, my player can spawn the cubes…
0
votes
1 answer

Unity UNET How to change online scene in sync with clients

I'm using the old Unity 2017.3 UNET implementation in my game. Players connect to a server and are placed in a Lobby scene until the party leader selects another level to go to. The implementation is just a slightly modified version of the default…
Heckman
  • 398
  • 1
  • 13
0
votes
1 answer

Multiplayer [SyncEvent] problem with non-player objects

I'm developing a multiplayer game based on turns. So I have an script named gameController which is the one who has the global timer to alter the turns and also choose which players are attacking and which players are defending in the current…
ktmlleska
  • 9
  • 7
0
votes
0 answers

Have an object moved by a client with a tag

Im trying to make a tetris game, where the host moves his blocks, and the client moves his. Client on the left, host on the right. So the host is suppost the move the object with the "playerObject" tag. The client is suppost to move the object…
0
votes
0 answers

Unet spawnable object delayed on client side

I am making 2D Top-down shooter in network. I spawn a gun on Players hand position. My problem is, when Client spawn his gun, it has some kind of delay. When client is moving, the gun is not following him well, just appearing by him within 1/4 Sec.…