Authors: Erencan Pelin
The Simplest drag&drop Networking Multiplayer Solution for Unity. Using Unity Netcode for Gameobjects & Facepunch Steamworks.
The following packages are required. You may install them via the Package Manager
in Window > Package Manager
-
Steam App (needs to be running)
-
com.unity.netcode.gameobjects
:1.2.0
-
com.community.netcode.transport.facepunch
:2.0.0
-
com.unity.netcode.gameobjects
:1.2.0
-
com.unity.collections
:1.2.4
-
com.unity.inputsystem
:1.5.1
-
com.unity.mathematics
:1.2.6
-
com.unity.textmeshpro
:3.0.6
Install the packages above from the Unity Package Manager:
- Click the
+
inside the Package Manager Window and select "Add Package by Git URL" - Copy & paste the above github link and press "Add". The package will be downloaded and added to your Unity project. It may take a moment.
- For the other packages, Select "Add Package by name", then Cop & Paste the package name and version and press "Add"
Steam does not allow 2 of the same user online at the same time, in order to test the solution properly you will need to login to Steam on 2 different accounts, on 2 different computers.