This plugin has been tested, and supports Unity versions 2021.2+, including all LTS releases, Unity 2023, and Unity 6.
This plugin is intended to help you:
- get started quickly with Dedicated Servers on Edgegap,
- make your server build iteration as fast as possible,
- make multiplayer development 10x easier by removing the need to learn Linux, Docker, or Cloud concepts.
This plugin does not need to be included in your builds, as it's only a development tool and does not have any runtime features.
- Installing our plugin this way will ensure you get the freshest updates the moment they come out, see the update guide.
- Requirement: functioning git client installed, for example git-scm.
- Open your Unity project,
- Select toolbar option Window -> Package Manager,
- Click the + icon and select Add package from git URL...,
- Input the following URL
https://github.com/edgegap/edgegap-unity-plugin.git
, - Click Add and wait for the Unity Package Manager to complete the installation.
- Slightly easier as no git client is required.
- Installing our plugin this way will require you to manually replace plugin contents if you wish to update it,
- The newtonsoft package (dependency) version required may not be compatible with your project if you're already using an older version of this package.
- Select toolbar option Window -> Package Manager,
- Click the + icon and select Add package by name...,
- Input the name
com.unity.nuget.newtonsoft-json
and wait for the Unity Package Manager to complete the installation., - Back to this github project - make sure you're on the
main
branch, - Click <> Code, then Download ZIP,
- Paste the contents of the unzipped archive in your
Assets
folder within Unity project root.
The only other official distribution channels for this plugin are:
- Unity Asset Store package
- Mirror Networking source
- Mirror Networking free package
- Mirror Networking LTS package
- Fish Networking source
- Fish Networking free package
- Fish Networking Pro package
Once you have it, check for Tools -> Edgegap Hosting in Unity's top menu.
To take full advantage of our Unity plugin's build features, you will need to:
- Create an Edgegap Free Tier account,
- Install Docker Desktop (or Docker CLI),
- Install Unity Linux Build Support modules for Unity.
From here, we recommend following our Unity Plugin Guide to get your first dedicated server deployed.
If you've installed using git, to update our plugin, locate it in Unity's Package Manager window and click Update. Wait for the process to complete and you're good to go!
If you've installed by copying, you will have to remove the Edgegap folder and paste the newer copy. Your settings are saved in your Unity version, so they shouldn't be lost in this process.