This guide shows you how to install a package in Unity straight from a Git repository, with the Package Manager window or by editing your project's manifest, and how to pin versions, install from a subfolder, reach private repositories and fix the common errors. We use Edgegap's Unity packages as the example; the steps work for any package hosted on Git.
Edgegap hosts multiplayer games on dedicated servers. Once your game server is containerized, Edgegap deploys it worldwide to 615+ Edge Cloud locations (on-demand) from a simple API call and billed exclusively on usage: no entire server to rent, provision or keep running between matches. For persistent servers of reserved capacity, Edgegap offers Private Fleets. Edgegap's Matchmaking builds on top of that and is optional.
Hosting a whole Unity game? See Unity Engine for the full path, from dedicated server build to matchmaking.
1. Before you start: install Git
Unity's Package Manager doesn't download Git packages itself: it runs the Git client installed on your computer.
Git 2.14.0 or newer, on your PATH. macOS usually has one already (Xcode Command Line Tools). On Windows, install Git and keep the installer's default option that adds Git to your PATH.
Restart Unity and Unity Hub after installing Git, so they see the new PATH.
Git LFS, only if the package stores large files with Git LFS. Without the LFS client, Unity checks out small pointer files instead of the real assets, with no error.
Any recent Unity version. The steps below use Unity 6.3 LTS.
Check it works: open a new terminal and run git --version.
2. Install a package from a Git URL in the Package Manager
In Unity, open Window → Package Manager (Window → Package Management → Package Manager in newer Unity 6 versions).
Select + at the top left, then Install package from git URL (called Add package from git URL in older versions).
Paste the repository URL, ending in
.git. For Edgegap's plugin:https://github.com/edgegap/edgegap-unity-plugin.gitSelect Install.
After a few seconds, the package appears in the list with a Git label. If it fails, the reason is in the Unity Console.
3. Or install it by editing manifest.json
Every package your project uses is listed in Packages/manifest.json. Adding a Git URL there does the same as the Package Manager, and is easy to share through version control or to ask a coding agent to do.
Open Packages/manifest.json and add a line under dependencies, with the package name as the key and the Git URL as the value:
"com.edgegap.unity-sdk": "https://github.com/edgegap/edgegap-unity-sdk.git#3.5.5",
Save the file and return to Unity: it installs the package.
With your agent:
"Add the Edgegap Unity SDK 3.5.5 to this project from its Git URL in Packages/manifest.json."
Git URLs only go in your project's manifest.json, never in a package's own package.json.
4. Pin a version, update, or install from a subfolder
Pin a version: add
#and a tag, branch or full commit hash to the URL, for examplehttps://github.com/edgegap/edgegap-unity-sdk.git#3.5.5. Short commit hashes don't work. Without#, you get the latest commit of the default branch.Lock: Unity records the exact commit it installed, so your teammates get the same version. A branch name doesn't move forward on its own.
Update: install the same URL again from + → Install package from git URL, or change the
#tag to a newer version.Subfolder: if the package isn't at the root of the repository, add
?path=with the folder that holds itspackage.json, before any#:https://github.com/owner/repo.git?path=/MyPackage#v1.2.3. The reverse order fails.Private repository: Unity can't ask for a password. Over HTTPS, set up a Git credential helper first. Over SSH (
git@github.com:owner/repo.git), set up your SSH key outside Unity; a key protected by a passphrase only works through an agent such as ssh-agent.
5. Edgegap's Unity packages
Edgegap's automated game server build tool plugin for Unity: builds your Linux server, containerizes it and deploys it to the cloud from buttons in the Unity Editor. URL:
https://github.com/edgegap/edgegap-unity-plugin.git. Open it under Tools → Edgegap Server Hosting.Edgegap Unity SDK: the matchmaking client and server code your game uses at runtime. URL:
https://github.com/edgegap/edgegap-unity-sdk.git#3.5.5. Version 3.5.5 or newer is required for browser (WebGL) builds.
Using Mirror? Recent Mirror versions already include the Edgegap plugin (Assets/Mirror/Hosting/Edgegap). Don't install it again from Git, or Unity reports duplicate scripts.
6. Next: add matchmaking
With the Edgegap SDK installed, your game can group players and start a dedicated server near them automatically. See Unity Matchmaking SDK for the setup, or Unity Engine to start from your dedicated server build.
7. Check the install
In the Package Manager, select In Project: the package is listed with a Git label and its version or commit.
The Unity Console shows no Package Manager errors.
For Edgegap's plugin, Tools → Edgegap Server Hosting opens the plugin window.
Stuck? Ask our team and other studios on the Edgegap Discord.
Frequently Asked Questions
Common questions about installing Unity packages from a Git URL.
How do I fix "No 'git' executable was found" in Unity?
Install Git 2.14.0 or newer and make sure it's on your PATH, then restart Unity and Unity Hub. On Windows, the Git installer's default option adds it to your PATH. Check with git --version in a new terminal.
How do I install a specific version of a Unity package from Git?
Add # and a tag, branch or full commit hash to the end of the Git URL, for example https://github.com/edgegap/edgegap-unity-sdk.git#3.5.5. Without it, Unity installs the latest commit of the default branch.
How do I update a Unity package installed from Git?
Install the same Git URL again from the Package Manager's + menu, or change the version after # in Packages/manifest.json. Unity locks the commit it installed, so it doesn't update on its own.
Can Unity install a package from a private Git repository?
Yes. Unity can't ask for a password, so set up a Git credential helper for HTTPS, or an SSH key for SSH URLs, before you install. Passphrase-protected SSH keys need an agent such as ssh-agent.
Why do I get duplicate script errors after installing the Edgegap plugin?
Your project already contains the plugin, often because recent Mirror versions include it under Assets/Mirror/Hosting/Edgegap. Remove one copy: keep Mirror's, or remove that folder and use the Git package.

Clients
Learn more from clients who integrated Edgegap
31 case studies are available from studios that moved to Edgegap from another platform.

A Flawless Global Launch for Rivals of Aether 2
Aether Studios
Learn how Aether Studios quickly added Edgegap and delivered flawless launch & post-launch to their community.
Case Study

Overcome Latency Introduced by VR’s use of WiFi in Competitive Multiplayer
Halfbrick Studios
Discover how Halfbrick successfully launched & maintains a multiplayer-focused Early Access on META Quest's VR platform.
Case Study

MENA’s Social App Adds Online Games
WOLF
Learn how the highly popular MENA-region social app added matchmaking & multiplayer games orchestration easily to WOLF Qanawat.
Case Study

Hybrid Orchestration Keeps Kickoff Tactics Ready for Any Traffic
Birch Games
How hybrid orchestration helped Birch Games handle traffic, pairing egress-free Fleets with the regionless cloud.
Case Study

7 Days Blood Moons
The Fun Pimps & iLLOGIKA
Learn how Illogika dramatically reduced server costs & ensured the online experience the 7 Days to Die franchise expects.
Case Study

Authentic Online Warfare Requires the Ultimate Orchestration
Highwire Games
Learn how Highwire's need for performance required orchestration only Edgegap can deliver.
Case Study

22,000 Reviews, 4.8 Stars, and Infrastructure That Scaled Automatically
Sinn Studios
How a simple, Slack-supported integration got Sinn Studio's hit VR title online fast and keeps it there.
Case Study

Dynamic Server Orchestration
Under NDA - AAA Studio
Discover how one the world's biggest AAA studio improved its peer-to-peer multiplayer experience through edge computing.
Case Study

Near Zero Latency for AAA Fighting Game
AAA Studio - Under NDA
How an unannounced project delivered the lowest lag possible and improved fairness in its 1v1 game.
Case Study

Play Gods with Multiplayer Physics
Squido Studio
Learn how Squido uses Edgegap's highligh optimized game servers to deliver mind-bending & chaotic VR gameplay.
Case Study

A Fully Managed Solutions that Saves Time for Indies Multiplayer VR Horror
Dirty Pearl Studios
Discover how Dirty Pearl Studios saved development time thanks to Edgegap’s easy integration and automated orchestration alongside its Nakama integration.
Case Study

Instant Global Server Deployment for Collaborative XR Medical Education
AlensiaXR
How AlensiaXR uses Edgegap to deliver low-latency, always-available shared anatomy sessions to medical students worldwide.
Case Study

The Lightkeepers: A VR Social Co-op Game with Dedicated Servers
Spectral Games
How Spectral Games used Edgegap Matchmaking and Server Browser to launch dedicated servers for its VR social lobby, with no prior server experience.
Case Study

Fast & reliable deployments worldwide for PvPvE challenger Gravebound
Crater Studios
How Edgegap’s orchestration and matchmaking helped Crater Studios dramatically helped a small them focus on gameplay instead of infrastructure.
Case Study

Rapid Scaling of Web Metaverse
Hiber
Learn how Hiber eliminated the guesswork out of its server capacity planning with Edgegap.
Case Study

High Hardware Requirements & Custom Game Server Pools
Alderon Games
Learn how Alderon Games instantly leverages a custom pool of game servers across multiple providers worldwide for its popular MMO.
Case Study

Easy Integration for Indie Devs
WhaleFood Games
Read how WhaleFood Games "kicked out" its netcode issues with Edgegap.
Case Study

Cutting-edge tech that powers South-East Asia’s first-ever eSports title.
Anantarupa Studios
Learn how Edgegap transformed South-East Asia’s gaming landscape streamlining complex infrastructure and cutting-edge tech with one seamless solution.
Case Study

One Strike. Global Reach.
Triple Hill Interactive
How Triple Hill Interactive leverages Edgegap's orchestration to deliver low latency and improve fairness in a genre where every millisecond counts.
Case Study

Fast-paced Team Battle Royale... with Gun-totting Animal Plushes!
SANDYFLOOR
Discover how a Korea-based Indie Studio launched it multiplayer worldwide.
Case Study

Mobile Horse Racing Goes Global with Instant, Cost-Efficient Servers
Mirai Labs
How Mirai Labs powers Pegaxy Blaze's worldwide multiplayer races with just-in-time server deployment and fractional vCPU to keep cost per player low.
Case Study

Server Management & Distribution
Matrioshka Games
Read how Matrioshka Games were able to ship a Battle Royale in early access with limited ressources.
Case Study

At my Signal, Unleash Hell!
TyGames
Discover how Indie studio TyGames immerses players in third-person gladiatorial combat multiplayer.
Case Study

Instant Worldwide Orchestration
Soliton Interactive
Discover how Soliton Interactive did the impossible… Ship it's first playable as multiplayer!
Case Study

Competitive play with server-side physics ensures ideal sub-50 ms latency
NS7
Discover why solely Edgegap could enable an indie studio to deliver on its vision for a AAA-quality F2P sports gameplay through server-side physics and authority.
Case Study

Regional Deployments for iGaming
X1 Contra 1
X1 Contra 1 delivers real-time PvP casual games to its Brazilian player base through cost-effective hosting & regional deployments, ensuring data and legal compliance.
Case Study

Pay Only When Players Play: Affordable Multiplayer Infrastructure
Meltdown Interactive
How Edgegap helped indie developer Meltdown Interactive Media solve cost-effective scaling and matchmaking without the complexity, so they could focus on building the game.
Case Study

One Edgegap platform, three very different networking profiles
Warped Games
How Warped Games runs a social hub, real-time co-op, and turn-based co-op, all on the same Edgegap deployment API and the same container pipeline.
Case Study

Pool Live Tour Max
RETA Games
Case Study

Korea’s Web3 POP Extraction Shooter Goes Global, Instantly
NDUS Entertainment
How XOCIETY easily added Edgegap orchestration & integrated custom matchmaking working alongside Edgegap Ping Beacons to optimize latency.
Case Study

Multiplayer in Every Dimension
Arcadia.tv
Discover how Arcadia.tv uses Edgegap's edge network to deliver an innovative, team and location-based athletic VR sport.
Case Study

F2P Mobile Fighter Cuts Infrastructure Costs With Just-in-Time Servers
Game Changers Worldwide
How Game Changer Worldwide hosted Rumble Rush's real-time 3v3 PvP globally on mobile.
Case Study
Key reasons why they chose Edgegap
Discover the impact of Edgegap's automated game server orchestration for a flawless multiplayer experience.









