How to: Unity Online Multiplayer
https://www.youtube.com/watc...Netcode for Unity is an amazing real-time multiplayer solution, which is part of the wider Unity Gaming Services.
Checkout Netcode: https://on.unity.com/3blzOy3
In this video you'll learn:
How to get started with Netcode
The different between server & client authority and when to use each
How to write performant network code
How to use NetworkVariable & INetworkSerializable
Cheap multiplayer interpolation
What ServerRPC & ClientRPC are
Some tricks to make your multiplayer game feel great
Package links: https://gist.github.com/Matthew-J-Spencer/649930127d1d1d41b846c02954995ada
Project files: https://bit.ly/3xIXvrF
â¤ď¸ Become a Tarobro on Patreon: https://www.patreon.com/tarodev
=========
đ SUBSCRIBE: https://bit.ly/3eqG1Z6
đ¨ď¸ DISCORD: https://discord.gg/tarodev
â
MORE TUTORIALS: https://www.youtube.com/tarodev
0:00 Intro
0:20 Installation
1:00 ParrelSync
1:26 Network Manager
1:45 Unity Transport Layer
2:18 Player prefab/Network Object
4:09 What is a host, server & client?
6:15 Only control your local object
7:40 Syncing data using ClientNetworkTransform
8:30 Serializing manually using NetworkVariable
11:25 Custom network serialization using INetworkSerializable
14:10 Interpolating network movement (hillbilly style)
14:33 Reducing network traffic
15:30 Calling server code using ServerRPC
17:00 Server vs client authority
19:45 Adding simulated latency
20:45 Trick to make server authority feel good
21:35 Subscribing to network changes