> For the complete documentation index, see [llms.txt](https://docs.edgegap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgegap.com/docs/sample-projects/unity-netcodes/purrnet-incremental.md).

# Purrnet Incremental

Explore how to host Unity projects on Edgegap using techniques from [Purrnet Incremental Sample](https://purrnet.dev/docs/full-game-guides/incremental-game-sample).

{% embed url="<https://youtu.be/NWa4JfS0d3A>" %}

## ✔️ Preparation

Before we start, you will need:

* Unity 6 - [download using Unity Hub](https://unity.com/releases/unity-6).
* [Purrnet Incremental Sample](https://purrnet.dev/docs/full-game-guides/incremental-game-sample) (clone/download from github).
* [Purrnet Unity Package](https://purrnet.dev/docs/getting-started/installation-setup) (included in the sample project).
* [Edgegap's Unity Dedicated Servers Quickstart Plugin](/unity.md).
  * Install from git or Purrnet packages - both include the same plugin.

Open your incremental sample project in Unity to get started.

## ⚡ Deploy and Connect

### 1. Deploy a Server on Edgegap

☑️ To get started, you'll need to [create a free account with Edgegap](https://app.edgegap.com/auth/register). No credit card required.

☑️ Follow the [Unity Getting Started guide](/unity.md) to build and upload your dedicated server.

☑️ [Deploy a server](https://app.edgegap.com/deployment-management/deployments/create) with your newly created Incremental Sample app version.

☑️ [Open your new deployment's details](https://app.edgegap.com/deployment-management/deployments/list) and find your unique, one-time connection details:

* **Host URL** in format `780aa4260e83.pr.edgegap.net` ,
* **External Port** in format `30854`  (5 digits).

✅ You may now proceed to the next step.

### 2. Connect from Editor

☑️ Open your new project in Unity.

☑️ Verify that you have opened the main scene: `Scenes/GameScene.unity`.

☑️ Input Network Manager connection details from previous step.

☑️ Press the ▶️ Play button to start your game client.

☑️ Connect a second virtual Player with [Multiplayer Play Mode](https://docs-multiplayer.unity3d.com/mppm/current/about/) or [ParrelSync](https://github.com/VeriorPies/ParrelSync).

🙌 Congratulations on your first Deployment on Edgegap!

## ✏️ Customize Server Build

{% hint style="success" %}
See [Unity](/unity.md) to **learn how to build and customize servers**.
{% endhint %}
