Skip to main content

Questions tagged [unity-networking]

Unity 5.1 introduced a new framework to handle client+server networking, also known as UNet.

1 vote
1 answer
5k views

I am using Mirror to handle the networking aspect When I spawn an object on the network, I Instantiate it on the server and then use NetworkServer.Spawn to notify all clients to spawn the object. ...
0 votes
1 answer
1k views

When I use NetworkServer.Spawn(ob) t instantiate a game object and make it a child of a transform.parent after it spawns on both ...
0 votes
1 answer
457 views

I'm working on an online game on my computer localhost. to do this I use Xampp. Anyway, my problem is that the UnityWebRequests ...
0 votes
2 answers
3k views

In my game I have an object, let's say food, that whoever consumes it, that player will spawn one more element. I am checking collision in Update. The following code is working fine on server side, ...
1 vote
1 answer
1k views

I am creating a multiplayer game using Photon Cloud (Photon Unity Network). For storage of player data (profile, inventory, achievments) I use web server (asp.net mvc & sql server). How to ...
0 votes
0 answers
69 views

Me and a friend created a basic multiplayer game in Unity using Netcode For GameObjects. We also used Lobby and Relay Gaming Services to make it easier to play with each other. There is only one ...
0 votes
2 answers
272 views

I'm trying to synchronize 3-4 thousand game objects' positions and rotations. I need performance for my Unity game to remain relatively high (30+fps) and to keep the amount of data sent as low as ...
1 vote
1 answer
756 views

In Unity/UNet: How do you properly spawn a NetworkPlayer? Right now, I'm doing it like this from inside a NetworkManager ...
1 vote
0 answers
146 views

I'm new to netcode and game dev and I'd like some input on a multiplayer buff/debuff system I'm working on in Unity, using NGO with a dedicated server. I aim to use a server authoritative architecture ...
3 votes
1 answer
657 views

I am using the unity NetworkDiscovery component, and I am wondering how I can auto-start broadcasting when the server starts, instead of the client having to click ...
0 votes
2 answers
193 views

I'm a beginner about client/server calculations and relationships (never trust the client), and I would like to know if I did or didn't get the concept right. My weapons are calling this function ...
0 votes
2 answers
492 views

I have a player controller attached to the Player prefab - along with the NGO components Network Object Client Network Transform Network Animator In the Network Manager I have the Player prefab added ...
0 votes
0 answers
48 views

I am using this Kinematic Character Control package I setup some Character Controls and all looks like it works fine in local. I am trying to setup some basic Networking. I installed Network for ...
0 votes
1 answer
240 views

I've been dabbling in Unity. I learned the basics and I've created a few small games and one larger one. All of them were single player games. Now I want to create a game that's a 2 player - pretty ...
0 votes
0 answers
169 views

I'm trying to create a Unity netcode LAN connection between a few devices. It works fine with a few devices as the host or the client, but some devices can only connect as a client and are not able to ...

15 30 50 per page
1
2 3 4 5
12